server

package
v0.0.0-...-15a151e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func FetchJwks

func FetchJwks(jwksURL string) (keyfunc.Keyfunc, error)

Use the JWKS URL to create a JWKSet.

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 NewMeter

func NewMeter(c *conf.Server, provider metric.MeterProvider) (metric.Meter, error)

func NewMeterProvider

func NewMeterProvider(c *conf.Server) (metric.MeterProvider, error)

func NewWhiteListMatcher

func NewWhiteListMatcher(ctx context.Context, operation string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL