Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
31
func
(c *Config) IP() string {
32
ip, _, _ := net.SplitHostPort(c.URL.Host)
33
return
ip
34
}
35
36
func
(c *Config) Port() int {
37
_, s, _ := net.SplitHostPort(c.URL.Host)
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected