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

Function WithBind

pkg/http/server.go:94–98  ·  view source on GitHub ↗
(bindAddress string)

Source from the content-addressed store, hash-verified

92}
93
94func WithBind(bindAddress string) ServerOption {
95 return func(s *Server) {
96 s.Bind = bindAddress
97 }
98}
99
100func WithConnectHandle(handler statute.UserConnectHandler) ServerOption {
101 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected