Documentation ¶
Index ¶
- type ChangePasswordLogic
- type CreateMenuParamLogic
- type CreateOrUpdateApiLogic
- type CreateOrUpdateMenuAuthorityLogic
- type CreateOrUpdateMenuLogic
- type CreateOrUpdateRoleLogic
- type CreateOrUpdateUserLogic
- type DeleteApiLogic
- type DeleteMenuLogic
- type DeleteMenuParamLogic
- type DeleteRoleLogic
- type DeleteUserLogic
- type GeMenuParamListByIdLogic
- type GetApiListLogic
- type GetMenuAuthorityLogic
- type GetMenuByPageLogic
- type GetMenuListByRoleLogic
- type GetMenuParamByIdLogic
- type GetRoleByIdLogic
- type GetRoleListLogic
- type GetUserByIdLogic
- type GetUserListLogic
- type InitDatabaseLogic
- type LoginLogic
- type SetRoleStatusLogic
- type UpdateMenuParamLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangePasswordLogic ¶
func NewChangePasswordLogic ¶
func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic
func (*ChangePasswordLogic) ChangePassword ¶
func (l *ChangePasswordLogic) ChangePassword(in *core.ChangePasswordReq) (*core.BaseResp, error)
type CreateMenuParamLogic ¶
func NewCreateMenuParamLogic ¶
func NewCreateMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateMenuParamLogic
func (*CreateMenuParamLogic) CreateMenuParam ¶
func (l *CreateMenuParamLogic) CreateMenuParam(in *core.CreateMenuParamReq) (*core.BaseResp, error)
type CreateOrUpdateApiLogic ¶
func NewCreateOrUpdateApiLogic ¶
func NewCreateOrUpdateApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateApiLogic
func (*CreateOrUpdateApiLogic) CreateOrUpdateApi ¶
api management service
type CreateOrUpdateMenuAuthorityLogic ¶
type CreateOrUpdateMenuAuthorityLogic struct { logx.Logger // contains filtered or unexported fields }
func NewCreateOrUpdateMenuAuthorityLogic ¶
func NewCreateOrUpdateMenuAuthorityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuAuthorityLogic
func (*CreateOrUpdateMenuAuthorityLogic) CreateOrUpdateMenuAuthority ¶
func (l *CreateOrUpdateMenuAuthorityLogic) CreateOrUpdateMenuAuthority(in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)
type CreateOrUpdateMenuLogic ¶
func NewCreateOrUpdateMenuLogic ¶
func NewCreateOrUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuLogic
func (*CreateOrUpdateMenuLogic) CreateOrUpdateMenu ¶
func (l *CreateOrUpdateMenuLogic) CreateOrUpdateMenu(in *core.CreateOrUpdateMenuReq) (*core.BaseResp, error)
menu service
type CreateOrUpdateRoleLogic ¶
func NewCreateOrUpdateRoleLogic ¶
func NewCreateOrUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateRoleLogic
func (*CreateOrUpdateRoleLogic) CreateOrUpdateRole ¶
role service
func (*CreateOrUpdateRoleLogic) UpdateRoleInfoInRedis ¶
func (l *CreateOrUpdateRoleLogic) UpdateRoleInfoInRedis() error
type CreateOrUpdateUserLogic ¶
func NewCreateOrUpdateUserLogic ¶
func NewCreateOrUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateUserLogic
func (*CreateOrUpdateUserLogic) CreateOrUpdateUser ¶
func (l *CreateOrUpdateUserLogic) CreateOrUpdateUser(in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)
type DeleteApiLogic ¶
func NewDeleteApiLogic ¶
func NewDeleteApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteApiLogic
type DeleteMenuLogic ¶
func NewDeleteMenuLogic ¶
func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic
func (*DeleteMenuLogic) DeleteMenu ¶
type DeleteMenuParamLogic ¶
func NewDeleteMenuParamLogic ¶
func NewDeleteMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuParamLogic
func (*DeleteMenuParamLogic) DeleteMenuParam ¶
type DeleteRoleLogic ¶
func NewDeleteRoleLogic ¶
func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic
func (*DeleteRoleLogic) DeleteRole ¶
type DeleteUserLogic ¶
func NewDeleteUserLogic ¶
func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic
func (*DeleteUserLogic) DeleteUser ¶
type GeMenuParamListByIdLogic ¶
func NewGeMenuParamListByIdLogic ¶
func NewGeMenuParamListByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GeMenuParamListByIdLogic
func (*GeMenuParamListByIdLogic) GeMenuParamListById ¶
func (l *GeMenuParamListByIdLogic) GeMenuParamListById(in *core.IDReq) (*core.MenuParamListResp, error)
type GetApiListLogic ¶
func NewGetApiListLogic ¶
func NewGetApiListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiListLogic
func (*GetApiListLogic) GetApiList ¶
func (l *GetApiListLogic) GetApiList(in *core.ApiPageReq) (*core.ApiListResp, error)
type GetMenuAuthorityLogic ¶
func NewGetMenuAuthorityLogic ¶
func NewGetMenuAuthorityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuAuthorityLogic
func (*GetMenuAuthorityLogic) GetMenuAuthority ¶
func (l *GetMenuAuthorityLogic) GetMenuAuthority(in *core.IDReq) (*core.RoleMenuAuthorityResp, error)
authorization management service
type GetMenuByPageLogic ¶
func NewGetMenuByPageLogic ¶
func NewGetMenuByPageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuByPageLogic
func (*GetMenuByPageLogic) GetMenuByPage ¶
func (l *GetMenuByPageLogic) GetMenuByPage(in *core.PageInfoReq) (*core.MenuInfoList, error)
type GetMenuListByRoleLogic ¶
func NewGetMenuListByRoleLogic ¶
func NewGetMenuListByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListByRoleLogic
func (*GetMenuListByRoleLogic) GetMenuListByRole ¶
func (l *GetMenuListByRoleLogic) GetMenuListByRole(in *core.IDReq) (*core.MenuInfoList, error)
type GetMenuParamByIdLogic ¶
func NewGetMenuParamByIdLogic ¶
func NewGetMenuParamByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuParamByIdLogic
func (*GetMenuParamByIdLogic) GetMenuParamById ¶
func (l *GetMenuParamByIdLogic) GetMenuParamById(in *core.IDReq) (*core.MenuParamResp, error)
type GetRoleByIdLogic ¶
func NewGetRoleByIdLogic ¶
func NewGetRoleByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleByIdLogic
func (*GetRoleByIdLogic) GetRoleById ¶
type GetRoleListLogic ¶
func NewGetRoleListLogic ¶
func NewGetRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleListLogic
func (*GetRoleListLogic) GetRoleList ¶
func (l *GetRoleListLogic) GetRoleList(in *core.PageInfoReq) (*core.RoleListResp, error)
type GetUserByIdLogic ¶
func NewGetUserByIdLogic ¶
func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic
func (*GetUserByIdLogic) GetUserById ¶
func (l *GetUserByIdLogic) GetUserById(in *core.UUIDReq) (*core.UserInfoResp, error)
type GetUserListLogic ¶
func NewGetUserListLogic ¶
func NewGetUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListLogic
func (*GetUserListLogic) GetUserList ¶
func (l *GetUserListLogic) GetUserList(in *core.GetUserListReq) (*core.UserListResp, error)
type InitDatabaseLogic ¶
func NewInitDatabaseLogic ¶
func NewInitDatabaseLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InitDatabaseLogic
func (*InitDatabaseLogic) InitDatabase ¶
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
type SetRoleStatusLogic ¶
func NewSetRoleStatusLogic ¶
func NewSetRoleStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetRoleStatusLogic
func (*SetRoleStatusLogic) SetRoleStatus ¶
func (l *SetRoleStatusLogic) SetRoleStatus(in *core.SetStatusReq) (*core.BaseResp, error)
type UpdateMenuParamLogic ¶
func NewUpdateMenuParamLogic ¶
func NewUpdateMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuParamLogic
func (*UpdateMenuParamLogic) UpdateMenuParam ¶
func (l *UpdateMenuParamLogic) UpdateMenuParam(in *core.UpdateMenuParamReq) (*core.BaseResp, error)
Source Files ¶
- changepasswordlogic.go
- createmenuparamlogic.go
- createorupdateapilogic.go
- createorupdatemenuauthoritylogic.go
- createorupdatemenulogic.go
- createorupdaterolelogic.go
- createorupdateuserlogic.go
- deleteapilogic.go
- deletemenulogic.go
- deletemenuparamlogic.go
- deleterolelogic.go
- deleteuserlogic.go
- gemenuparamlistbyidlogic.go
- getapilistlogic.go
- getmenuauthoritylogic.go
- getmenubypagelogic.go
- getmenulistbyrolelogic.go
- getmenuparambyidlogic.go
- getrolebyidlogic.go
- getrolelistlogic.go
- getuserbyidlogic.go
- getuserlistlogic.go
- initdatabaselogic.go
- loginlogic.go
- setrolestatuslogic.go
- updatemenuparamlogic.go
Click to show internal directories.
Click to hide internal directories.