MCPcopy Create free account
hub / github.com/dim-an/cod / Config

Method Config

application.go:37–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (a *applicationImpl) Config() *server.Configuration {
38 if a.configuration == nil {
39 cfg, err := server.DefaultConfiguration()
40 verifyFatal(err)
41 a.configuration = &cfg
42 }
43 return a.configuration
44}
45
46func (a *applicationImpl) Client() *server.Client {
47 if a.client == nil {

Callers 1

ClientMethod · 0.95

Calls 2

DefaultConfigurationFunction · 0.92
verifyFatalFunction · 0.85

Tested by

no test coverage detected