MCPcopy
hub / github.com/dapr/dapr / Server

Struct Server

pkg/sentry/server/server.go:76–87  ·  view source on GitHub ↗

Server is the gRPC server for the Sentry service.

Source from the content-addressed store, hash-verified

74
75// Server is the gRPC server for the Sentry service.
76type Server struct {
77 port int
78 listenAddress string
79 sec security.Provider
80 vals map[sentryv1pb.SignCertificateRequest_TokenValidator]validator.Validator
81 defaultValidator sentryv1pb.SignCertificateRequest_TokenValidator
82 ca ca.Signer
83 htarget healthz.Target
84 jwtEnabled bool
85 jwtTTL time.Duration
86 tld string
87}
88
89func New(opts Options) *Server {
90 return &Server{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected