Documentation ¶
Index ¶
- Variables
- func ActionCreate(c echo.Context) error
- func ActionDelete(c echo.Context) error
- func ActionList(c echo.Context) error
- func ActionUpdate(c echo.Context) error
- func CreateAPIKey(c echo.Context) error
- func DeleteAPIKey(c echo.Context) error
- func ListAPIKeys(c echo.Context) error
- func MenuList(c echo.Context) error
- func MenuListExpand(c echo.Context) error
- func MenuPermissionList(ctx echo.Context) error
- func RoleCreate(c echo.Context) error
- func RoleDelete(c echo.Context) error
- func RoleList(c echo.Context) error
- func RoleRelAvailableGroups(c echo.Context) error
- func RoleRelAvailableResourceList(c echo.Context) error
- func RoleRelAvailableUsers(c echo.Context) error
- func RoleRelGroupCreate(c echo.Context) error
- func RoleRelGroupDelete(c echo.Context) error
- func RoleRelGroupList(c echo.Context) error
- func RoleRelUserCreate(c echo.Context) error
- func RoleRelUserDelete(c echo.Context) error
- func RoleRelUserList(c echo.Context) error
- func RoleResourceCreate(c echo.Context) error
- func RoleResourceDelete(c echo.Context) error
- func RoleResourceList(c echo.Context) error
- func RoleUpdate(c echo.Context) error
- type APIActionSerializer
- func (c *APIActionSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIActionSerializer) GetParams() base.SerializersParams
- func (c *APIActionSerializer) Order() []string
- func (c *APIActionSerializer) Preload() []string
- func (c *APIActionSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIActionSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
- type APIKeySerializer
- func (c *APIKeySerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIKeySerializer) GetParams() base.SerializersParams
- func (c *APIKeySerializer) Order() []string
- func (c *APIKeySerializer) Preload() []string
- func (c *APIKeySerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIKeySerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
- type APIRoleRelGroupSerializer
- func (c *APIRoleRelGroupSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIRoleRelGroupSerializer) GetParams() base.SerializersParams
- func (c *APIRoleRelGroupSerializer) Order() []string
- func (c *APIRoleRelGroupSerializer) Preload() []string
- func (c *APIRoleRelGroupSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIRoleRelGroupSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
- type APIRoleRelUserSerializer
- func (c *APIRoleRelUserSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIRoleRelUserSerializer) GetParams() base.SerializersParams
- func (c *APIRoleRelUserSerializer) Order() []string
- func (c *APIRoleRelUserSerializer) Preload() []string
- func (c *APIRoleRelUserSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIRoleRelUserSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
- type APIRoleResourceSerializer
- func (c *APIRoleResourceSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIRoleResourceSerializer) GetParams() base.SerializersParams
- func (c *APIRoleResourceSerializer) Order() []string
- func (c *APIRoleResourceSerializer) Preload() []string
- func (c *APIRoleResourceSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIRoleResourceSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
- type APIRoleSerializer
- func (c *APIRoleSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
- func (c *APIRoleSerializer) GetParams() base.SerializersParams
- func (c *APIRoleSerializer) Order() []string
- func (c *APIRoleSerializer) Preload() []string
- func (c *APIRoleSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)
- func (c *APIRoleSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ActionFieldFilterCondition = []base.SerializersField{ { Field: "resource", Type: base.LikeExpressionEnum, }, { Field: "verb", Type: base.EqualExpressionEnum, }, } RoleFiledFilterCondition = []base.SerializersField{ { Field: "name", Type: base.LikeExpressionEnum, }, } APIKeyFilterCondition = []base.SerializersField{ { Field: "name", Type: base.LikeExpressionEnum, }, { Field: "owner", Type: base.LikeExpressionEnum, }, } )
Functions ¶
func ActionCreate ¶
func ActionCreate(c echo.Context) error
func ActionDelete ¶
func ActionDelete(c echo.Context) error
func ActionList ¶
func ActionList(c echo.Context) error
func ActionUpdate ¶
func ActionUpdate(c echo.Context) error
func CreateAPIKey ¶
func CreateAPIKey(c echo.Context) error
func DeleteAPIKey ¶
func DeleteAPIKey(c echo.Context) error
func ListAPIKeys ¶
func ListAPIKeys(c echo.Context) error
func MenuListExpand ¶
func MenuListExpand(c echo.Context) error
func MenuPermissionList ¶
func MenuPermissionList(ctx echo.Context) error
func RoleCreate ¶
func RoleCreate(c echo.Context) error
func RoleDelete ¶
func RoleDelete(c echo.Context) error
func RoleRelAvailableGroups ¶
func RoleRelAvailableGroups(c echo.Context) error
func RoleRelAvailableResourceList ¶
func RoleRelAvailableResourceList(c echo.Context) error
func RoleRelAvailableUsers ¶
func RoleRelAvailableUsers(c echo.Context) error
func RoleRelGroupCreate ¶
func RoleRelGroupCreate(c echo.Context) error
func RoleRelGroupDelete ¶
func RoleRelGroupDelete(c echo.Context) error
func RoleRelGroupList ¶
func RoleRelGroupList(c echo.Context) error
func RoleRelUserCreate ¶
func RoleRelUserCreate(c echo.Context) error
func RoleRelUserDelete ¶
func RoleRelUserDelete(c echo.Context) error
func RoleRelUserList ¶
func RoleRelUserList(c echo.Context) error
func RoleResourceCreate ¶
func RoleResourceCreate(c echo.Context) error
func RoleResourceDelete ¶
func RoleResourceDelete(c echo.Context) error
func RoleResourceList ¶
func RoleResourceList(c echo.Context) error
func RoleUpdate ¶
func RoleUpdate(c echo.Context) error
Types ¶
type APIActionSerializer ¶
type APIActionSerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIActionSerializer ¶
func NewAPIActionSerializer() *APIActionSerializer
func (*APIActionSerializer) ExtraFilter ¶
func (c *APIActionSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIActionSerializer) GetParams ¶
func (c *APIActionSerializer) GetParams() base.SerializersParams
func (*APIActionSerializer) Order ¶
func (c *APIActionSerializer) Order() []string
func (*APIActionSerializer) Preload ¶
func (c *APIActionSerializer) Preload() []string
func (*APIActionSerializer) QueryBeforeHook ¶
func (*APIActionSerializer) Response ¶
func (c *APIActionSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
type APIKeySerializer ¶
type APIKeySerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIKeySerializer ¶
func NewAPIKeySerializer() *APIKeySerializer
func (*APIKeySerializer) ExtraFilter ¶
func (c *APIKeySerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIKeySerializer) GetParams ¶
func (c *APIKeySerializer) GetParams() base.SerializersParams
func (*APIKeySerializer) Order ¶
func (c *APIKeySerializer) Order() []string
func (*APIKeySerializer) Preload ¶
func (c *APIKeySerializer) Preload() []string
func (*APIKeySerializer) QueryBeforeHook ¶
func (*APIKeySerializer) Response ¶
func (c *APIKeySerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
type APIRoleRelGroupSerializer ¶
type APIRoleRelGroupSerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIRoleRelGroupSerializer ¶
func NewAPIRoleRelGroupSerializer() *APIRoleRelGroupSerializer
func (*APIRoleRelGroupSerializer) ExtraFilter ¶
func (c *APIRoleRelGroupSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIRoleRelGroupSerializer) GetParams ¶
func (c *APIRoleRelGroupSerializer) GetParams() base.SerializersParams
func (*APIRoleRelGroupSerializer) Order ¶
func (c *APIRoleRelGroupSerializer) Order() []string
func (*APIRoleRelGroupSerializer) Preload ¶
func (c *APIRoleRelGroupSerializer) Preload() []string
func (*APIRoleRelGroupSerializer) QueryBeforeHook ¶
func (*APIRoleRelGroupSerializer) Response ¶
func (c *APIRoleRelGroupSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
type APIRoleRelUserSerializer ¶
type APIRoleRelUserSerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIRoleRelUserSerializer ¶
func NewAPIRoleRelUserSerializer() *APIRoleRelUserSerializer
func (*APIRoleRelUserSerializer) ExtraFilter ¶
func (c *APIRoleRelUserSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIRoleRelUserSerializer) GetParams ¶
func (c *APIRoleRelUserSerializer) GetParams() base.SerializersParams
func (*APIRoleRelUserSerializer) Order ¶
func (c *APIRoleRelUserSerializer) Order() []string
func (*APIRoleRelUserSerializer) Preload ¶
func (c *APIRoleRelUserSerializer) Preload() []string
func (*APIRoleRelUserSerializer) QueryBeforeHook ¶
func (*APIRoleRelUserSerializer) Response ¶
func (c *APIRoleRelUserSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
type APIRoleResourceSerializer ¶
type APIRoleResourceSerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIRoleResourceSerializer ¶
func NewAPIRoleResourceSerializer() *APIRoleResourceSerializer
func (*APIRoleResourceSerializer) ExtraFilter ¶
func (c *APIRoleResourceSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIRoleResourceSerializer) GetParams ¶
func (c *APIRoleResourceSerializer) GetParams() base.SerializersParams
func (*APIRoleResourceSerializer) Order ¶
func (c *APIRoleResourceSerializer) Order() []string
func (*APIRoleResourceSerializer) Preload ¶
func (c *APIRoleResourceSerializer) Preload() []string
func (*APIRoleResourceSerializer) QueryBeforeHook ¶
func (*APIRoleResourceSerializer) Response ¶
func (c *APIRoleResourceSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
type APIRoleSerializer ¶
type APIRoleSerializer struct { Filter map[string]interface{} // contains filtered or unexported fields }
func NewAPIRoleSerializer ¶
func NewAPIRoleSerializer() *APIRoleSerializer
func (*APIRoleSerializer) ExtraFilter ¶
func (c *APIRoleSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}
func (*APIRoleSerializer) GetParams ¶
func (c *APIRoleSerializer) GetParams() base.SerializersParams
func (*APIRoleSerializer) Order ¶
func (c *APIRoleSerializer) Order() []string
func (*APIRoleSerializer) Preload ¶
func (c *APIRoleSerializer) Preload() []string
func (*APIRoleSerializer) QueryBeforeHook ¶
func (*APIRoleSerializer) Response ¶
func (c *APIRoleSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent
Click to show internal directories.
Click to hide internal directories.