Documentation
¶
Overview ¶
Package grpc implements gRPC functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsGRPCRequest ¶ added in v0.39.0
IsGRPCRequest returns true if this is a GRPC request
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements functions needed to configure, start and stop the gRPC server.
func NewServer ¶
func NewServer(options *ServerOptions) *Server
NewServer creates a new gRPC server.
func (*Server) ServeHTTP ¶ added in v0.39.0
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ServerOptions ¶
type ServerOptions struct {
Listener net.Listener
Logger log.Logger
Authenticator auth.Authenticator
APIServerConfig *config.Config
ServiceCatalog *services.Catalog
OAuthProviders []config.IdpConfig
RateLimitStore limiter.Store
}
ServerOptions contains the options to configure the gRPC server.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package interceptors contains the GRPC interceptors
|
Package interceptors contains the GRPC interceptors |
|
Package reader implements a size-limited reader for uploading templates of multiple kinds.
|
Package reader implements a size-limited reader for uploading templates of multiple kinds. |
|
Package servers implements the gRPC servers.
|
Package servers implements the gRPC servers. |
Click to show internal directories.
Click to hide internal directories.