MCPcopy Create free account
hub / github.com/brimdata/super / New

Function New

pkg/httpd/server.go:25–27  ·  view source on GitHub ↗
(addr string, h http.Handler)

Source from the content-addressed store, hash-verified

23}
24
25func New(addr string, h http.Handler) *Server {
26 return &Server{addr: addr, srv: &http.Server{Handler: h}, logger: zap.NewNop()}
27}
28
29func (s *Server) SetLogger(l *zap.Logger) {
30 s.logger = l

Callers 3

TestDeadlineExceededFunction · 0.92
RunMethod · 0.92

Calls

no outgoing calls

Tested by 2

TestDeadlineExceededFunction · 0.74