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

Function WithLogger

pkg/http/server.go:88–92  ·  view source on GitHub ↗
(logger statute.Logger)

Source from the content-addressed store, hash-verified

86}
87
88func WithLogger(logger statute.Logger) ServerOption {
89 return func(s *Server) {
90 s.Logger = logger
91 }
92}
93
94func WithBind(bindAddress string) ServerOption {
95 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected