Documentation ¶
Index ¶
- type CacheSvc
- type DeptSvc
- type DictSvc
- type IJob
- type JobSvc
- type ResourceSvc
- type RoleSvc
- type ServerSvc
- type UpgradeSvc
- type UserSvc
- func (s *UserSvc) ListUserRoles(id string) ([]int64, error)
- func (s *UserSvc) ListUsers(conds map[string]any) ([]mdl.User, int64, error)
- func (s *UserSvc) Login(userName, password string) (*mdl.User, error)
- func (s *UserSvc) RemoveUsers(ids []string) error
- func (s *UserSvc) SaveUser(user mdl.User) error
- func (s *UserSvc) SaveUserRoles(id string, roles []int64) error
- type VisitSvc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheSvc ¶ added in v1.0.1
func (*CacheSvc) ListCaches ¶ added in v1.0.1
type ResourceSvc ¶
func NewResourceSvc ¶
func NewResourceSvc(i *do.Injector) (*ResourceSvc, error)
func (*ResourceSvc) ListMenus ¶
func (s *ResourceSvc) ListMenus(userId string) ([]mdl.Resource, error)
func (*ResourceSvc) ListResources ¶
type UpgradeSvc ¶
type UpgradeSvc struct { }
func NewUpgradeSvc ¶
func NewUpgradeSvc(i *do.Injector) (*UpgradeSvc, error)
Click to show internal directories.
Click to hide internal directories.