Documentation ¶
Index ¶
Constants ¶
View Source
const APIKeyContextKey contextKey = "APIKeyContextKey"
View Source
const AuthContextKey contextKey = "AuthContextKey"
View Source
const ClientIPContextKey contextKey = "ClientIPContextKey"
View Source
const GinContextKey contextKey = "GinContextKey"
Define the key you want to use to store the gin.Context in the request context
View Source
const LocaleContextKey contextKey = "LocaleContextKey"
View Source
const UserAgentContextKey contextKey = "UserAgentContextKey"
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(client *grpc.ClientConn) gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.