Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppParamInterface ¶
type BaseStatement ¶
type BaseStatement struct { Err error // contains filtered or unexported fields }
func (*BaseStatement) Error ¶
func (b *BaseStatement) Error() error
func (*BaseStatement) OrgRequest ¶
func (b *BaseStatement) OrgRequest() interface{}
func (*BaseStatement) OrgResponse ¶
func (b *BaseStatement) OrgResponse() interface{}
func (*BaseStatement) SetError ¶
func (b *BaseStatement) SetError(err error)
func (*BaseStatement) SetOrgRequest ¶
func (b *BaseStatement) SetOrgRequest(r interface{})
func (*BaseStatement) SetOrgResponse ¶
func (b *BaseStatement) SetOrgResponse(rsp interface{})
type ClaimsImpl ¶
type ClaimsImpl struct {
BaseStatement
}
func (*ClaimsImpl) GetClaims ¶
func (c *ClaimsImpl) GetClaims(v interface{}) interface{}
func (*ClaimsImpl) SetClaims ¶
func (c *ClaimsImpl) SetClaims(v interface{}, claims interface{}) error
type ClaimsParamInterface ¶
type ClaimsParamInterface interface { GetClaims(v interface{}) interface{} SetClaims(v interface{}, claims interface{}) error }
type Context ¶
type Context struct { AesKey string Unique string Req interface{} GinCtx *gin.Context Headers http.Header AuthedUser *ent.User }
func NewContext ¶
func NewContext() *Context
type StatementAppImpl ¶
type StatementAppImpl struct {
BaseStatement
}
func (*StatementAppImpl) GetApp ¶
func (b *StatementAppImpl) GetApp(v interface{}) interface{}
type StatementInterface ¶
Click to show internal directories.
Click to hide internal directories.