Documentation ¶
Index ¶
- type ContainsRoleLogic
- type CreateAdminLogic
- type CreateApplyLogic
- type CreateCommunityLogic
- type CreateNewsLogic
- type CreateNoticeLogic
- type DeleteAdminLogic
- type DeleteCommunityLogic
- type DeleteNewsLogic
- type DeleteNoticeLogic
- type HandleApplyLogic
- type ListAdminLogic
- type ListApplyLogic
- type ListCommunityLogic
- type ListNewsLogic
- type ListNoticeLogic
- type ListUseridByRoleLogic
- type RetrieveAdminLogic
- type RetrieveCommunityLogic
- type RetrieveNewsLogic
- type RetrieveNoticeLogic
- type RetrieveUserRoleLogic
- type UpdateAdminLogic
- type UpdateCommunityLogic
- type UpdateNewsLogic
- type UpdateNoticeLogic
- type UpdateUserRoleLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainsRoleLogic ¶
func NewContainsRoleLogic ¶
func NewContainsRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ContainsRoleLogic
func (*ContainsRoleLogic) ContainsRole ¶
func (l *ContainsRoleLogic) ContainsRole(in *pb.ContainsRoleReq) (resp *pb.ContainsRoleResp, err error)
type CreateAdminLogic ¶
func NewCreateAdminLogic ¶
func NewCreateAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateAdminLogic
func (*CreateAdminLogic) CreateAdmin ¶
func (l *CreateAdminLogic) CreateAdmin(in *pb.CreateAdminReq) (*pb.CreateAdminResp, error)
type CreateApplyLogic ¶ added in v1.2.2
func NewCreateApplyLogic ¶ added in v1.2.2
func NewCreateApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateApplyLogic
func (*CreateApplyLogic) CreateApply ¶ added in v1.2.2
func (l *CreateApplyLogic) CreateApply(in *pb.CreateApplyReq) (*pb.CreateApplyResp, error)
type CreateCommunityLogic ¶
func NewCreateCommunityLogic ¶
func NewCreateCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCommunityLogic
func (*CreateCommunityLogic) CreateCommunity ¶
func (l *CreateCommunityLogic) CreateCommunity(in *pb.CreateCommunityReq) (*pb.CreateCommunityResp, error)
type CreateNewsLogic ¶
func NewCreateNewsLogic ¶
func NewCreateNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNewsLogic
func (*CreateNewsLogic) CreateNews ¶
func (l *CreateNewsLogic) CreateNews(in *pb.CreateNewsReq) (*pb.CreateNewsResp, error)
type CreateNoticeLogic ¶
func NewCreateNoticeLogic ¶
func NewCreateNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNoticeLogic
func (*CreateNoticeLogic) CreateNotice ¶
func (l *CreateNoticeLogic) CreateNotice(in *pb.CreateNoticeReq) (*pb.CreateNoticeResp, error)
type DeleteAdminLogic ¶
func NewDeleteAdminLogic ¶
func NewDeleteAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAdminLogic
func (*DeleteAdminLogic) DeleteAdmin ¶
func (l *DeleteAdminLogic) DeleteAdmin(in *pb.DeleteAdminReq) (*pb.DeleteAdminResp, error)
type DeleteCommunityLogic ¶
func NewDeleteCommunityLogic ¶
func NewDeleteCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommunityLogic
func (*DeleteCommunityLogic) DeleteCommunity ¶
func (l *DeleteCommunityLogic) DeleteCommunity(in *pb.DeleteCommunityReq) (*pb.DeleteCommunityResp, error)
type DeleteNewsLogic ¶
func NewDeleteNewsLogic ¶
func NewDeleteNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNewsLogic
func (*DeleteNewsLogic) DeleteNews ¶
func (l *DeleteNewsLogic) DeleteNews(in *pb.DeleteNewsReq) (*pb.DeleteNewsResp, error)
type DeleteNoticeLogic ¶
func NewDeleteNoticeLogic ¶
func NewDeleteNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNoticeLogic
func (*DeleteNoticeLogic) DeleteNotice ¶
func (l *DeleteNoticeLogic) DeleteNotice(in *pb.DeleteNoticeReq) (*pb.DeleteNoticeResp, error)
type HandleApplyLogic ¶ added in v1.2.2
func NewHandleApplyLogic ¶ added in v1.2.2
func NewHandleApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HandleApplyLogic
func (*HandleApplyLogic) HandleApply ¶ added in v1.2.2
func (l *HandleApplyLogic) HandleApply(in *pb.HandleApplyReq) (*pb.HandleApplyResp, error)
type ListAdminLogic ¶
func NewListAdminLogic ¶
func NewListAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListAdminLogic
func (*ListAdminLogic) ListAdmin ¶
func (l *ListAdminLogic) ListAdmin(in *pb.ListAdminReq) (*pb.ListAdminResp, error)
type ListApplyLogic ¶ added in v1.2.2
func NewListApplyLogic ¶ added in v1.2.2
func NewListApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListApplyLogic
func (*ListApplyLogic) ListApply ¶ added in v1.2.2
func (l *ListApplyLogic) ListApply(in *pb.ListApplyReq) (*pb.ListApplyResp, error)
type ListCommunityLogic ¶
func NewListCommunityLogic ¶
func NewListCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommunityLogic
func (*ListCommunityLogic) ListCommunity ¶
func (l *ListCommunityLogic) ListCommunity(in *pb.ListCommunityReq) (*pb.ListCommunityResp, error)
type ListNewsLogic ¶
func NewListNewsLogic ¶
func NewListNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNewsLogic
func (*ListNewsLogic) ListNews ¶
func (l *ListNewsLogic) ListNews(in *pb.ListNewsReq) (*pb.ListNewsResp, error)
type ListNoticeLogic ¶
func NewListNoticeLogic ¶
func NewListNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNoticeLogic
func (*ListNoticeLogic) ListNotice ¶
func (l *ListNoticeLogic) ListNotice(in *pb.ListNoticeReq) (*pb.ListNoticeResp, error)
type ListUseridByRoleLogic ¶ added in v1.2.2
func NewListUseridByRoleLogic ¶ added in v1.2.2
func NewListUseridByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListUseridByRoleLogic
func (*ListUseridByRoleLogic) ListUseridByRole ¶ added in v1.2.2
func (l *ListUseridByRoleLogic) ListUseridByRole(in *pb.ListUseridReq) (*pb.ListUseridResp, error)
type RetrieveAdminLogic ¶
func NewRetrieveAdminLogic ¶
func NewRetrieveAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveAdminLogic
func (*RetrieveAdminLogic) RetrieveAdmin ¶
func (l *RetrieveAdminLogic) RetrieveAdmin(in *pb.RetrieveAdminReq) (*pb.RetrieveAdminResp, error)
type RetrieveCommunityLogic ¶
func NewRetrieveCommunityLogic ¶
func NewRetrieveCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveCommunityLogic
func (*RetrieveCommunityLogic) RetrieveCommunity ¶
func (l *RetrieveCommunityLogic) RetrieveCommunity(in *pb.RetrieveCommunityReq) (*pb.RetrieveCommunityResp, error)
type RetrieveNewsLogic ¶
func NewRetrieveNewsLogic ¶
func NewRetrieveNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveNewsLogic
func (*RetrieveNewsLogic) RetrieveNews ¶
func (l *RetrieveNewsLogic) RetrieveNews(in *pb.RetrieveNewsReq) (*pb.RetrieveNewsResp, error)
type RetrieveNoticeLogic ¶
func NewRetrieveNoticeLogic ¶
func NewRetrieveNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveNoticeLogic
func (*RetrieveNoticeLogic) RetrieveNotice ¶
func (l *RetrieveNoticeLogic) RetrieveNotice(in *pb.RetrieveNoticeReq) (*pb.RetrieveNoticeResp, error)
type RetrieveUserRoleLogic ¶
func NewRetrieveUserRoleLogic ¶
func NewRetrieveUserRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveUserRoleLogic
func (*RetrieveUserRoleLogic) RetrieveUserRole ¶
func (l *RetrieveUserRoleLogic) RetrieveUserRole(in *pb.RetrieveUserRoleReq) (*pb.RetrieveUserRoleResp, error)
获取用户的所有角色
type UpdateAdminLogic ¶
func NewUpdateAdminLogic ¶
func NewUpdateAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAdminLogic
func (*UpdateAdminLogic) UpdateAdmin ¶
func (l *UpdateAdminLogic) UpdateAdmin(in *pb.UpdateAdminReq) (*pb.UpdateAdminResp, error)
type UpdateCommunityLogic ¶
func NewUpdateCommunityLogic ¶
func NewUpdateCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommunityLogic
func (*UpdateCommunityLogic) UpdateCommunity ¶
func (l *UpdateCommunityLogic) UpdateCommunity(in *pb.UpdateCommunityReq) (*pb.UpdateCommunityResp, error)
type UpdateNewsLogic ¶
func NewUpdateNewsLogic ¶
func NewUpdateNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNewsLogic
func (*UpdateNewsLogic) UpdateNews ¶
func (l *UpdateNewsLogic) UpdateNews(in *pb.UpdateNewsReq) (*pb.UpdateNewsResp, error)
type UpdateNoticeLogic ¶
func NewUpdateNoticeLogic ¶
func NewUpdateNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNoticeLogic
func (*UpdateNoticeLogic) UpdateNotice ¶
func (l *UpdateNoticeLogic) UpdateNotice(in *pb.UpdateNoticeReq) (*pb.UpdateNoticeResp, error)
type UpdateUserRoleLogic ¶
func NewUpdateUserRoleLogic ¶
func NewUpdateUserRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserRoleLogic
func (*UpdateUserRoleLogic) UpdateUserRole ¶
func (l *UpdateUserRoleLogic) UpdateUserRole(in *pb.UpdateUserRoleReq) (*pb.UpdateUserRoleResp, error)
更新用户的角色
Source Files ¶
- contains_role_logic.go
- create_admin_logic.go
- create_apply_logic.go
- create_community_logic.go
- create_news_logic.go
- create_notice_logic.go
- delete_admin_logic.go
- delete_community_logic.go
- delete_news_logic.go
- delete_notice_logic.go
- handle_apply_logic.go
- list_admin_logic.go
- list_apply_logic.go
- list_community_logic.go
- list_news_logic.go
- list_notice_logic.go
- list_userid_by_role_logic.go
- retrieve_admin_logic.go
- retrieve_community_logic.go
- retrieve_news_logic.go
- retrieve_notice_logic.go
- retrieve_user_role_logic.go
- update_admin_logic.go
- update_community_logic.go
- update_news_logic.go
- update_notice_logic.go
- update_user_role_logic.go
Click to show internal directories.
Click to hide internal directories.