4
0

add etcd config

This commit is contained in:
dc.To 2025-04-27 14:10:45 +08:00
parent 60f7eb1225
commit 586662aa65

7
config/etcd.go Normal file
View File

@ -0,0 +1,7 @@
package config
import "os"
func Endpoint() string {
return os.Getenv("ETCD_ENDPOINTS")
}