Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextPayload ¶
type ContextPayload interface { SetApiKey(ctx *gin.Context, value *authModel.ApiKey) MustGetApiKey(ctx *gin.Context) *authModel.ApiKey SetUser(ctx *gin.Context, value *userModel.User) MustGetUser(ctx *gin.Context) *userModel.User SetKeystore(ctx *gin.Context, value *authModel.Keystore) MustGetKeystore(ctx *gin.Context) *authModel.Keystore }
func NewContextPayload ¶
func NewContextPayload() ContextPayload
Click to show internal directories.
Click to hide internal directories.