Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRequest ¶
type ApiRequest interface {
events.APIGatewayProxyRequest | events.APIGatewayV2HTTPRequest | events.SQSEvent
}
type ApiResponse ¶
type ApiResponse interface {
events.APIGatewayProxyResponse | events.APIGatewayV2HTTPResponse
}
type HandlerFunc ¶
type HandlerFunc[T ApiRequest, R ApiResponse] func(context.Context, T) (R, error)
type MyCustomClaims ¶
type MyCustomClaims struct {
Payload interface{} `json:"payload"`
jwt.StandardClaims
}
Click to show internal directories.
Click to hide internal directories.