server

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewAccessTokenMatcher added in v0.2.1

func NewAccessTokenMatcher() selector.MatchFunc

func NewAllowAnonymousMatcher added in v0.2.1

func NewAllowAnonymousMatcher() selector.MatchFunc

func NewDownloadTokenMatcher added in v0.1.4

func NewDownloadTokenMatcher() selector.MatchFunc

func NewGRPCServer

func NewGRPCServer(
	c *conf.SephirahServer,
	auth *libauth.Auth,
	greeter pb.LibrarianSephirahServiceServer,
	app *libapp.Settings,
	observer *libobserve.BuiltInObserver,
) (*grpc.Server, error)

NewGRPCServer new a gRPC server.

func NewGrpcWebServer added in v0.0.3

func NewGrpcWebServer(
	s *grpc.Server,
	c *conf.SephirahServer,
	auth *libauth.Auth,
	app *libapp.Settings,
	observer *libobserve.BuiltInObserver,
) (*http.Server, error)

func NewLoginMatcher added in v0.2.1

func NewLoginMatcher() selector.MatchFunc

func NewRefreshTokenMatcher

func NewRefreshTokenMatcher() selector.MatchFunc

func NewRegisterMatcher added in v0.2.8

func NewRegisterMatcher() selector.MatchFunc

func NewTokenMatcher added in v0.2.1

func NewTokenMatcher(auth *libauth.Auth) []middleware.Middleware

func NewUploadTokenMatcher added in v0.1.4

func NewUploadTokenMatcher() selector.MatchFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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