Documentation
¶
Index ¶
- type HRouteRole
- type RoleScope
- type SUserRole
- func (this *SUserRole) Key() *rds.String
- func (this *SUserRole) Load() error
- func (this *SUserRole) Matched(osName string, devId string) bool
- func (this *SUserRole) Remove() error
- func (this *SUserRole) Sec() int64
- func (this *SUserRole) Store(isLogin bool) error
- func (this *SUserRole) UpdTDev(osName string, devId string)
- type UserDevce
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HRouteRole ¶
type HRouteRole struct { CoId int64 `json:"-"` // 公司Id Route string `json:"-"` // 路由名称 RIds []int64 `json:"rIds"` // 此路由关联的角色Ids Scopes []RoleScope `json:"scopes"` // 此路由关联的(不同角色对应的数据权限) }
func (*HRouteRole) Clear ¶
func (this *HRouteRole) Clear() error
func (*HRouteRole) Key ¶
func (this *HRouteRole) Key() *rds.Hash
func (*HRouteRole) Load ¶
func (this *HRouteRole) Load() error
func (*HRouteRole) Remove ¶
func (this *HRouteRole) Remove() error
func (*HRouteRole) Store ¶
func (this *HRouteRole) Store() error
Click to show internal directories.
Click to hide internal directories.