Documentation ¶
Index ¶
- Variables
- func NewAccessTokenMatcher() selector.MatchFunc
- func NewAllowAnonymousMatcher() selector.MatchFunc
- func NewDownloadTokenMatcher() selector.MatchFunc
- func NewGRPCServer(c *conf.SephirahServer, auth *libauth.Auth, ...) (*grpc.Server, error)
- func NewGrpcWebServer(s *grpc.Server, c *conf.SephirahServer, auth *libauth.Auth, ...) (*http.Server, error)
- func NewLoginMatcher() selector.MatchFunc
- func NewRefreshTokenMatcher() selector.MatchFunc
- func NewRegisterMatcher() selector.MatchFunc
- func NewTokenMatcher(auth *libauth.Auth) []middleware.Middleware
- func NewUploadTokenMatcher() selector.MatchFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewGRPCServer, NewGrpcWebServer)
ProviderSet is server providers.
Functions ¶
func NewAccessTokenMatcher ¶ added in v0.2.1
func NewAllowAnonymousMatcher ¶ added in v0.2.1
func NewDownloadTokenMatcher ¶ added in v0.1.4
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 NewRefreshTokenMatcher ¶
func NewRegisterMatcher ¶ added in v0.2.8
func NewTokenMatcher ¶ added in v0.2.1
func NewTokenMatcher(auth *libauth.Auth) []middleware.Middleware
func NewUploadTokenMatcher ¶ added in v0.1.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.