Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewHTTPServer, NewGRPCServer, )
ProviderSet is server providers.
Functions ¶
func JwtMiddleware ¶
func JwtMiddleware() middleware.Middleware
func NewGRPCServer ¶
func NewGRPCServer( logger log.Logger, auth *service.AuthService, profile *service.ProfileService, ) *grpc.Server
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer( logger log.Logger, auth *service.AuthService, profile *service.ProfileService, ) *http.Server
NewHTTPServer new a HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.