add etcd config
This commit is contained in:
parent
60f7eb1225
commit
586662aa65
7
config/etcd.go
Normal file
7
config/etcd.go
Normal file
@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
import "os"
|
||||
|
||||
func Endpoint() string {
|
||||
return os.Getenv("ETCD_ENDPOINTS")
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user