Documentation ¶
Index ¶
- type ChangePasswordLogic
- type CreateOrUpdateApiLogic
- type CreateOrUpdateDictionaryDetailLogic
- type CreateOrUpdateDictionaryLogic
- type CreateOrUpdateMenuAuthorityLogic
- type CreateOrUpdateMenuLogic
- type CreateOrUpdateMenuParamLogic
- type CreateOrUpdateRoleLogic
- type CreateOrUpdateUserLogic
- type DeleteApiLogic
- type DeleteDictionaryDetailLogic
- type DeleteDictionaryLogic
- type DeleteMenuLogic
- type DeleteMenuParamLogic
- type DeleteRoleLogic
- type DeleteUserLogic
- type GeMenuParamListByMenuIdLogic
- type GetApiListLogic
- type GetDetailByDictionaryNameLogic
- type GetDictionaryListLogic
- type GetMenuAuthorityLogic
- type GetMenuByPageLogic
- type GetMenuListByRoleLogic
- type GetRoleByIdLogic
- type GetRoleListLogic
- type GetUserByIdLogic
- type GetUserListLogic
- type InitDatabaseLogic
- type LoginLogic
- type SetRoleStatusLogic
- type UpdateProfileLogic
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 CreateOrUpdateApiLogic ¶
func NewCreateOrUpdateApiLogic ¶
func NewCreateOrUpdateApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateApiLogic
func (*CreateOrUpdateApiLogic) CreateOrUpdateApi ¶
api management service
type CreateOrUpdateDictionaryDetailLogic ¶ added in v0.0.7
type CreateOrUpdateDictionaryDetailLogic struct { logx.Logger // contains filtered or unexported fields }
func NewCreateOrUpdateDictionaryDetailLogic ¶ added in v0.0.7
func NewCreateOrUpdateDictionaryDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateDictionaryDetailLogic
func (*CreateOrUpdateDictionaryDetailLogic) CreateOrUpdateDictionaryDetail ¶ added in v0.0.7
func (l *CreateOrUpdateDictionaryDetailLogic) CreateOrUpdateDictionaryDetail(in *core.DictionaryDetail) (*core.BaseResp, error)
type CreateOrUpdateDictionaryLogic ¶ added in v0.0.7
func NewCreateOrUpdateDictionaryLogic ¶ added in v0.0.7
func NewCreateOrUpdateDictionaryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateDictionaryLogic
func (*CreateOrUpdateDictionaryLogic) CreateOrUpdateDictionary ¶ added in v0.0.7
func (l *CreateOrUpdateDictionaryLogic) CreateOrUpdateDictionary(in *core.DictionaryInfo) (*core.BaseResp, error)
dictionary 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)
type CreateOrUpdateMenuParamLogic ¶ added in v0.0.4
func NewCreateOrUpdateMenuParamLogic ¶ added in v0.0.4
func NewCreateOrUpdateMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuParamLogic
func (*CreateOrUpdateMenuParamLogic) CreateOrUpdateMenuParam ¶ added in v0.0.4
func (l *CreateOrUpdateMenuParamLogic) CreateOrUpdateMenuParam(in *core.CreateOrUpdateMenuParamReq) (*core.BaseResp, error)
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 DeleteDictionaryDetailLogic ¶ added in v0.0.7
func NewDeleteDictionaryDetailLogic ¶ added in v0.0.7
func NewDeleteDictionaryDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDictionaryDetailLogic
func (*DeleteDictionaryDetailLogic) DeleteDictionaryDetail ¶ added in v0.0.7
type DeleteDictionaryLogic ¶ added in v0.0.7
func NewDeleteDictionaryLogic ¶ added in v0.0.7
func NewDeleteDictionaryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDictionaryLogic
func (*DeleteDictionaryLogic) DeleteDictionary ¶ added in v0.0.7
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 GeMenuParamListByMenuIdLogic ¶ added in v0.0.4
func NewGeMenuParamListByMenuIdLogic ¶ added in v0.0.4
func NewGeMenuParamListByMenuIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GeMenuParamListByMenuIdLogic
func (*GeMenuParamListByMenuIdLogic) GeMenuParamListByMenuId ¶ added in v0.0.4
func (l *GeMenuParamListByMenuIdLogic) GeMenuParamListByMenuId(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 GetDetailByDictionaryNameLogic ¶ added in v0.0.7
type GetDetailByDictionaryNameLogic struct { logx.Logger // contains filtered or unexported fields }
func NewGetDetailByDictionaryNameLogic ¶ added in v0.0.7
func NewGetDetailByDictionaryNameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDetailByDictionaryNameLogic
func (*GetDetailByDictionaryNameLogic) GetDetailByDictionaryName ¶ added in v0.0.7
func (l *GetDetailByDictionaryNameLogic) GetDetailByDictionaryName(in *core.DictionaryDetailReq) (*core.DictionaryDetailList, error)
type GetDictionaryListLogic ¶ added in v0.0.7
func NewGetDictionaryListLogic ¶ added in v0.0.7
func NewGetDictionaryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDictionaryListLogic
func (*GetDictionaryListLogic) GetDictionaryList ¶ added in v0.0.7
func (l *GetDictionaryListLogic) GetDictionaryList(in *core.DictionaryPageReq) (*core.DictionaryList, 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 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 UpdateProfileLogic ¶ added in v0.0.2
func NewUpdateProfileLogic ¶ added in v0.0.2
func NewUpdateProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProfileLogic
func (*UpdateProfileLogic) UpdateProfile ¶ added in v0.0.2
func (l *UpdateProfileLogic) UpdateProfile(in *core.UpdateProfileReq) (*core.BaseResp, error)
Source Files ¶
- changepasswordlogic.go
- createorupdateapilogic.go
- createorupdatedictionarydetaillogic.go
- createorupdatedictionarylogic.go
- createorupdatemenuauthoritylogic.go
- createorupdatemenulogic.go
- createorupdatemenuparamlogic.go
- createorupdaterolelogic.go
- createorupdateuserlogic.go
- deleteapilogic.go
- deletedictionarydetaillogic.go
- deletedictionarylogic.go
- deletemenulogic.go
- deletemenuparamlogic.go
- deleterolelogic.go
- deleteuserlogic.go
- gemenuparamlistbymenuidlogic.go
- getapilistlogic.go
- getdetailbydictionarynamelogic.go
- getdictionarylistlogic.go
- getmenuauthoritylogic.go
- getmenubypagelogic.go
- getmenulistbyrolelogic.go
- getrolebyidlogic.go
- getrolelistlogic.go
- getuserbyidlogic.go
- getuserlistlogic.go
- initdatabaselogic.go
- loginlogic.go
- setrolestatuslogic.go
- updateprofilelogic.go
Click to show internal directories.
Click to hide internal directories.