MCPcopy Create free account
hub / github.com/koding/kite / serve

Method serve

server.go:97–102  ·  view source on GitHub ↗
(l net.Listener, h http.Handler)

Source from the content-addressed store, hash-verified

95}
96
97func (k *Kite) serve(l net.Listener, h http.Handler) error {
98 if k.Config.Serve != nil {
99 return k.Config.Serve(l, h)
100 }
101 return http.Serve(l, h)
102}
103
104// Port returns the TCP port number that the kite listens.
105// Port must be called after the listener is initialized.

Callers 1

listenAndServeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected