MCPcopy
hub / github.com/gotify/server / configFiles

Function configFiles

config/config.go:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func configFiles() []string {
61 if mode.Get() == mode.TestDev {
62 return []string{"config.yml"}
63 }
64 return []string{"config.yml", "/etc/gotify/config.yml"}
65}
66
67// Get returns the configuration extracted from env variables or config file.
68func Get() *Configuration {

Callers 1

GetFunction · 0.85

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…