Documentation ¶
Index ¶
- func NewGenerateTokenEndpoint(svc token.Service) endpoint.Endpoint
- func NewLoggingMiddleware(logger log.Logger) endpoint.Middleware
- func NewValidateTokenEndpoint(svc token.Service) endpoint.Endpoint
- type GenerateTokenRequest
- type GenerateTokenResponse
- type ValidateTokenRequest
- type ValidateTokenResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggingMiddleware ¶
func NewLoggingMiddleware(logger log.Logger) endpoint.Middleware
Types ¶
type GenerateTokenRequest ¶
type GenerateTokenResponse ¶
type ValidateTokenRequest ¶
type ValidateTokenRequest struct {
Token string
}
type ValidateTokenResponse ¶
Click to show internal directories.
Click to hide internal directories.