MCPcopy
hub / github.com/CodisLabs/codis / String

Method String

pkg/proxy/config.go:206–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204}
205
206func (c *Config) String() string {
207 var b bytes.Buffer
208 e := toml.NewEncoder(&b)
209 e.Indent = " "
210 e.Encode(c)
211 return b.String()
212}
213
214func (c *Config) Validate() error {
215 if c.ProtoType == "" {

Callers 5

newConnPairFunction · 0.45
NewFunction · 0.45
setupMethod · 0.45
StatsMethod · 0.45
lockFsMethod · 0.45

Calls 1

EncodeMethod · 0.95

Tested by 1

newConnPairFunction · 0.36