Documentation ¶
Index ¶
- type BlockUserAllTokenLogic
- type ChangePasswordLogic
- type CreateOrUpdateApiLogic
- type CreateOrUpdateDictionaryDetailLogic
- type CreateOrUpdateDictionaryLogic
- type CreateOrUpdateMenuAuthorityLogic
- type CreateOrUpdateMenuLogic
- type CreateOrUpdateMenuParamLogic
- type CreateOrUpdateProviderLogic
- type CreateOrUpdateRoleLogic
- type CreateOrUpdateTokenLogic
- type CreateOrUpdateUserLogic
- type DeleteApiLogic
- type DeleteDictionaryDetailLogic
- type DeleteDictionaryLogic
- type DeleteMenuLogic
- type DeleteMenuParamLogic
- type DeleteProviderLogic
- type DeleteRoleLogic
- type DeleteTokenLogic
- type DeleteUserLogic
- type GetApiListLogic
- type GetDetailByDictionaryNameLogic
- type GetDictionaryListLogic
- type GetMenuAuthorityLogic
- type GetMenuListByRoleLogic
- type GetMenuListLogic
- type GetMenuParamListByMenuIdLogic
- type GetProviderListLogic
- type GetRoleByIdLogic
- type GetRoleListLogic
- type GetTokenListLogic
- type GetUserByIdLogic
- type GetUserListLogic
- type InitDatabaseLogic
- type LoginLogic
- type OauthCallbackLogic
- type OauthLoginLogic
- type UpdateProfileLogic
- type UpdateRoleStatusLogic
- type UpdateTokenStatusLogic
- type UpdateUserStatusLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockUserAllTokenLogic ¶ added in v0.1.1
func NewBlockUserAllTokenLogic ¶ added in v0.1.1
func NewBlockUserAllTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BlockUserAllTokenLogic
func (*BlockUserAllTokenLogic) BlockUserAllToken ¶ added in v0.1.1
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 CreateOrUpdateProviderLogic ¶ added in v0.0.8
func NewCreateOrUpdateProviderLogic ¶ added in v0.0.8
func NewCreateOrUpdateProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateProviderLogic
func (*CreateOrUpdateProviderLogic) CreateOrUpdateProvider ¶ added in v0.0.8
func (l *CreateOrUpdateProviderLogic) CreateOrUpdateProvider(in *core.ProviderInfo) (*core.BaseResp, error)
oauth management
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 CreateOrUpdateTokenLogic ¶ added in v0.1.1
func NewCreateOrUpdateTokenLogic ¶ added in v0.1.1
func NewCreateOrUpdateTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateTokenLogic
func (*CreateOrUpdateTokenLogic) CreateOrUpdateToken ¶ added in v0.1.1
Token management
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 DeleteProviderLogic ¶ added in v0.0.8
func NewDeleteProviderLogic ¶ added in v0.0.8
func NewDeleteProviderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProviderLogic
func (*DeleteProviderLogic) DeleteProvider ¶ added in v0.0.8
type DeleteRoleLogic ¶
func NewDeleteRoleLogic ¶
func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic
func (*DeleteRoleLogic) DeleteRole ¶
type DeleteTokenLogic ¶ added in v0.1.1
func NewDeleteTokenLogic ¶ added in v0.1.1
func NewDeleteTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteTokenLogic
func (*DeleteTokenLogic) DeleteToken ¶ added in v0.1.1
type DeleteUserLogic ¶
func NewDeleteUserLogic ¶
func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic
func (*DeleteUserLogic) DeleteUser ¶
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 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 GetMenuListLogic ¶ added in v0.1.4
func NewGetMenuListLogic ¶ added in v0.1.4
func NewGetMenuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListLogic
func (*GetMenuListLogic) GetMenuList ¶ added in v0.1.4
func (l *GetMenuListLogic) GetMenuList(in *core.PageInfoReq) (*core.MenuInfoList, error)
type GetMenuParamListByMenuIdLogic ¶ added in v0.1.2
func NewGetMenuParamListByMenuIdLogic ¶ added in v0.1.2
func NewGetMenuParamListByMenuIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuParamListByMenuIdLogic
func (*GetMenuParamListByMenuIdLogic) GetMenuParamListByMenuId ¶ added in v0.1.2
func (l *GetMenuParamListByMenuIdLogic) GetMenuParamListByMenuId(in *core.IDReq) (*core.MenuParamListResp, error)
type GetProviderListLogic ¶ added in v0.0.8
func NewGetProviderListLogic ¶ added in v0.0.8
func NewGetProviderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProviderListLogic
func (*GetProviderListLogic) GetProviderList ¶ added in v0.0.8
func (l *GetProviderListLogic) GetProviderList(in *core.PageInfoReq) (*core.ProviderListResp, 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 GetTokenListLogic ¶ added in v0.1.1
func NewGetTokenListLogic ¶ added in v0.1.1
func NewGetTokenListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTokenListLogic
func (*GetTokenListLogic) GetTokenList ¶ added in v0.1.1
func (l *GetTokenListLogic) GetTokenList(in *core.TokenListReq) (*core.TokenListResp, 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 OauthCallbackLogic ¶ added in v0.0.8
func NewOauthCallbackLogic ¶ added in v0.0.8
func NewOauthCallbackLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthCallbackLogic
func (*OauthCallbackLogic) OauthCallback ¶ added in v0.0.8
func (l *OauthCallbackLogic) OauthCallback(in *core.CallbackReq) (*core.LoginResp, error)
type OauthLoginLogic ¶ added in v0.0.8
func NewOauthLoginLogic ¶ added in v0.0.8
func NewOauthLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthLoginLogic
func (*OauthLoginLogic) OauthLogin ¶ added in v0.0.8
func (l *OauthLoginLogic) OauthLogin(in *core.OauthLoginReq) (*core.OauthRedirectResp, 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)
type UpdateRoleStatusLogic ¶ added in v0.1.4
func NewUpdateRoleStatusLogic ¶ added in v0.1.4
func NewUpdateRoleStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleStatusLogic
func (*UpdateRoleStatusLogic) UpdateRoleStatus ¶ added in v0.1.4
func (l *UpdateRoleStatusLogic) UpdateRoleStatus(in *core.StatusCodeReq) (*core.BaseResp, error)
type UpdateTokenStatusLogic ¶ added in v0.1.4
func NewUpdateTokenStatusLogic ¶ added in v0.1.4
func NewUpdateTokenStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateTokenStatusLogic
func (*UpdateTokenStatusLogic) UpdateTokenStatus ¶ added in v0.1.4
func (l *UpdateTokenStatusLogic) UpdateTokenStatus(in *core.StatusCodeReq) (*core.BaseResp, error)
type UpdateUserStatusLogic ¶ added in v0.1.4
func NewUpdateUserStatusLogic ¶ added in v0.1.4
func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic
func (*UpdateUserStatusLogic) UpdateUserStatus ¶ added in v0.1.4
func (l *UpdateUserStatusLogic) UpdateUserStatus(in *core.StatusCodeReq) (*core.BaseResp, error)
Source Files ¶
- block_user_all_token_logic.go
- change_password_logic.go
- create_or_update_api_logic.go
- create_or_update_dictionary_detail_logic.go
- create_or_update_dictionary_logic.go
- create_or_update_menu_authority_logic.go
- create_or_update_menu_logic.go
- create_or_update_menu_param_logic.go
- create_or_update_provider_logic.go
- create_or_update_role_logic.go
- create_or_update_token_logic.go
- create_or_update_user_logic.go
- delete_api_logic.go
- delete_dictionary_detail_logic.go
- delete_dictionary_logic.go
- delete_menu_logic.go
- delete_menu_param_logic.go
- delete_provider_logic.go
- delete_role_logic.go
- delete_token_logic.go
- delete_user_logic.go
- get_api_list_logic.go
- get_detail_by_dictionary_name_logic.go
- get_dictionary_list_logic.go
- get_menu_authority_logic.go
- get_menu_list_by_role_logic.go
- get_menu_list_logic.go
- get_menu_param_list_by_menu_id_logic.go
- get_provider_list_logic.go
- get_role_by_id_logic.go
- get_role_list_logic.go
- get_token_list_logic.go
- get_user_by_id_logic.go
- get_user_list_logic.go
- init_database_logic.go
- login_logic.go
- oauth_callback_logic.go
- oauth_login_logic.go
- update_profile_logic.go
- update_role_status_logic.go
- update_token_status_logic.go
- update_user_status_logic.go
Click to show internal directories.
Click to hide internal directories.