MCPcopy
hub / github.com/tuna/tunasync / APIBaseList

Method APIBaseList

worker/config.go:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81func (mc managerConfig) APIBaseList() []string {
82 if len(mc.APIList) > 0 {
83 return mc.APIList
84 }
85 return []string{mc.APIBase}
86}
87
88type serverConfig struct {
89 Hostname string `toml:"hostname"`

Callers 4

registerWorkerMethod · 0.80
updateStatusMethod · 0.80
updateSchedInfoMethod · 0.80
fetchJobStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected