MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / Close

Method Close

auth/basic.go:169–178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167}
168
169func (auth *BasicAuth) Close() error {
170 var err error
171 auth.stopOnce.Do(func() {
172 if auth.next != nil {
173 err = auth.next.Close()
174 }
175 close(auth.stopChan)
176 })
177 return err
178}

Callers 1

NewBasicFileAuthFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected