MCPcopy 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
81func 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
88func hello(r *kite.Request) (interface{}, error) {
89 return "hello", nil

Callers 1

TestRegisterToKontrolFunction · 0.85

Calls 1

HandleFuncMethod · 0.80

Tested by

no test coverage detected