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

Function applyServerOptions

httpgrpc/server/server.go:54–59  ·  view source on GitHub ↗
(s *Server, opts ...Option)

Source from the content-addressed store, hash-verified

52}
53
54func applyServerOptions(s *Server, opts ...Option) *Server {
55 for _, opt := range opts {
56 opt(s)
57 }
58 return s
59}
60
61// Server implements HTTPServer. HTTPServer is a generated interface that gRPC
62// servers must implement.

Callers 1

NewServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected