Documentation ¶
Index ¶
- Variables
- func FetchJwks(jwksURL string) (keyfunc.Keyfunc, error)
- func NewGRPCServer(c *conf.Server, relations *service.RelationshipsService, ...) (*grpc.Server, error)
- func NewHTTPServer(c *conf.Server, relationships *service.RelationshipsService, ...) (*http.Server, error)
- func NewMeter(c *conf.Server, provider metric.MeterProvider) (metric.Meter, error)
- func NewMeterProvider(c *conf.Server) (metric.MeterProvider, error)
- func NewWhiteListMatcher(ctx context.Context, operation string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewMeter, NewMeterProvider, NewGRPCServer, NewHTTPServer)
ProviderSet is server providers.
Functions ¶
func NewGRPCServer ¶
func NewGRPCServer(c *conf.Server, relations *service.RelationshipsService, health *service.HealthService, check *service.CheckService, subjects *service.LookupService, meter metric.Meter, logger log.Logger) (*grpc.Server, error)
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer(c *conf.Server, relationships *service.RelationshipsService, health *service.HealthService, check *service.CheckService, subjects *service.LookupService, meter metric.Meter, logger log.Logger) (*http.Server, error)
NewHTTPServer new an HTTP server.
func NewMeterProvider ¶
func NewMeterProvider(c *conf.Server) (metric.MeterProvider, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.