MCPcopy Create free account
hub / github.com/bepass-org/proxy / WithContext

Function WithContext

pkg/http/server.go:112–116  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

110}
111
112func WithContext(ctx context.Context) ServerOption {
113 return func(s *Server) {
114 s.Context = ctx
115 }
116}
117
118func WithBytesPool(bytesPool statute.BytesPool) ServerOption {
119 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected