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

Method Close

kite.go:533–546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531type closerFunc func() []error
532
533func (fn closerFunc) Close() error {
534 errs := fn()
535 if len(errs) > 1 {
536 return &ErrClose{
537 Errs: errs,
538 }
539 }
540
541 if len(errs) == 1 && errs[0] != nil {
542 return errs[0]
543 }
544
545 return nil
546}
547
548func nopRecover() { recover() }

Callers 3

sockjsHandlerMethod · 0.45
CloserFunction · 0.45
CloseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected