MCPcopy Index your code
hub / github.com/koding/kite / Set

Method Set

examples/math/config.go:42–48  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

40}
41
42func (c *Config) Set(s string) error {
43 if _, _, err := net.SplitHostPort(s); err != nil {
44 return err
45 }
46 c.URL.Host = s
47 return nil
48}
49
50func (c *Config) String() string {
51 return c.URL.Host

Callers 5

sendHeartbeatsMethod · 0.45
registerSrcMethod · 0.45
verifyMethod · 0.45
RecvMethod · 0.45
setCallbackFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected