MCPcopy
hub / github.com/grafana/dskit / Server

Struct Server

httpgrpc/server/server.go:63–66  ·  view source on GitHub ↗

Server implements HTTPServer. HTTPServer is a generated interface that gRPC servers must implement.

Source from the content-addressed store, hash-verified

61// Server implements HTTPServer. HTTPServer is a generated interface that gRPC
62// servers must implement.
63type Server struct {
64 handler http.Handler
65 return4XXErrors bool
66}
67
68// NewServer makes a new Server.
69func NewServer(handler http.Handler, opts ...Option) *Server {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected