Documentation
¶
Index ¶
Constants ¶
View Source
const ( WebFrameworkKey = ContextKey("webFramework") Gin = "gin" Fiber = "fiber" USER = ContextKey("USER") )
Variables ¶
This section is empty.
Functions ¶
func InitContext ¶
func InitContext(c context.Context) webFramework.WebFramework
func InitContextWithHandler ¶
func InitContextWithHandler(c context.Context, handler response.ResponseHandler) webFramework.WebFramework
Types ¶
type ContextKey ¶ added in v0.6.1
type ContextKey string
Click to show internal directories.
Click to hide internal directories.