Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/koding/kite
/ setup
Function
setup
test/kontrolclient_test.go:81–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
79
}
80
81
func
setup() *kite.Kite {
82
k := kite.New(
"test"
,
"1.0.0"
)
83
k.Config = conf
84
k.HandleFunc(
"hello"
, hello)
85
return
k
86
}
87
88
func
hello(r *kite.Request) (
interface
{}, error) {
89
return
"hello"
, nil
Callers
1
TestRegisterToKontrol
Function · 0.85
Calls
1
HandleFunc
Method · 0.80
Tested by
no test coverage detected