Documentation ¶
Index ¶
Constants ¶
View Source
const CONTEXT_REQUEST_USER_KEY = "TOTOVAL_CONTEXT_REQUEST_USER"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.9.0
type Context interface { AuthClaimID() (ID uint, exist bool) IUserModel() IUser context.ResponseContextor context.DataContextor }
type RequestIUser ¶ added in v0.9.3
type RequestUser ¶ added in v0.9.0
type RequestUser struct {
// contains filtered or unexported fields
}
func (*RequestUser) Scan ¶ added in v0.9.0
func (au *RequestUser) Scan(c Context) (isAbort bool)
func (*RequestUser) User ¶ added in v0.9.0
func (au *RequestUser) User() IUser
type UserNotExistError ¶ added in v0.8.1
type UserNotExistError struct{}
func (UserNotExistError) Error ¶ added in v0.8.1
func (e UserNotExistError) Error() string
type UserNotLoginError ¶ added in v0.8.1
type UserNotLoginError struct{}
func (UserNotLoginError) Error ¶ added in v0.8.1
func (e UserNotLoginError) Error() string
Click to show internal directories.
Click to hide internal directories.