This commit is contained in:
parent
be7df36f59
commit
d4884c7fa1
@ -6,14 +6,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
JetstreamURL string
|
JetstreamURL string
|
||||||
JetstreamClientName string
|
JetstreamClientName string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func LoadConfig() {
|
func LoadConfig() {
|
||||||
urdtconfig.LoadConfig()
|
urdtconfig.LoadConfig()
|
||||||
|
|
||||||
JetstreamURL = initializers.GetEnv("NATS_JETSTREAM_URL", "localhost:4222")
|
JetstreamURL = initializers.GetEnv("NATS_JETSTREAM_URL", "localhost:4222")
|
||||||
JetstreamClientName = initializers.GetEnv("NATS_JETSTREAM_CLIENT_NAME", "omnom")
|
JetstreamClientName = initializers.GetEnv("NATS_JETSTREAM_CLIENT_NAME", "ussd-term")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user