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

Method IP

examples/math/config.go:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func (c *Config) IP() string {
32 ip, _, _ := net.SplitHostPort(c.URL.Host)
33 return ip
34}
35
36func (c *Config) Port() int {
37 _, s, _ := net.SplitHostPort(c.URL.Host)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected