Documentation ¶
Index ¶
- type CreateApplyLogic
- type DeleteAdminLogic
- type DeleteCommunityLogic
- type DeleteNewsLogic
- type DeleteNoticeLogic
- type GetAdminsLogic
- type GetNewsLogic
- type GetNoticesLogic
- type GetUserByRoleLogic
- type GetUserRolesLogic
- type HandleApplyLogic
- type ListApplyLogic
- type ListCommunityLogic
- type NewAdminLogic
- type NewCommunityLogic
- type NewNewsLogic
- type NewNoticeLogic
- type UpdateCommunityAdminLogic
- type UpdateSuperAdminLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateApplyLogic ¶ added in v1.6.7
func NewCreateApplyLogic ¶ added in v1.6.7
func NewCreateApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateApplyLogic
func (*CreateApplyLogic) CreateApply ¶ added in v1.6.7
func (l *CreateApplyLogic) CreateApply(req *types.CreateApplyReq) (resp *types.CreateApplyResp, err error)
type DeleteAdminLogic ¶
func NewDeleteAdminLogic ¶
func NewDeleteAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAdminLogic
func (*DeleteAdminLogic) DeleteAdmin ¶
func (l *DeleteAdminLogic) DeleteAdmin(req *types.DeleteAdminReq) (resp *types.DeleteAdminResp, err error)
type DeleteCommunityLogic ¶
func NewDeleteCommunityLogic ¶
func NewDeleteCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommunityLogic
func (*DeleteCommunityLogic) DeleteCommunity ¶
func (l *DeleteCommunityLogic) DeleteCommunity(req *types.DeleteCommunityReq) (resp *types.DeleteCommunityResp, err error)
type DeleteNewsLogic ¶
func NewDeleteNewsLogic ¶
func NewDeleteNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNewsLogic
func (*DeleteNewsLogic) DeleteNews ¶
func (l *DeleteNewsLogic) DeleteNews(req *types.DeleteNewsReq) (resp *types.DeleteNewsResp, err error)
type DeleteNoticeLogic ¶
func NewDeleteNoticeLogic ¶
func NewDeleteNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNoticeLogic
func (*DeleteNoticeLogic) DeleteNotice ¶
func (l *DeleteNoticeLogic) DeleteNotice(req *types.DeleteNoticeReq) (resp *types.DeleteNoticeResp, err error)
type GetAdminsLogic ¶
func NewGetAdminsLogic ¶
func NewGetAdminsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAdminsLogic
func (*GetAdminsLogic) GetAdmins ¶
func (l *GetAdminsLogic) GetAdmins(req *types.GetAdminsReq) (resp *types.GetAdminsResp, err error)
type GetNewsLogic ¶
func NewGetNewsLogic ¶
func NewGetNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNewsLogic
func (*GetNewsLogic) GetNews ¶
func (l *GetNewsLogic) GetNews(req *types.GetNewsReq) (resp *types.GetNewsResp, err error)
type GetNoticesLogic ¶
func NewGetNoticesLogic ¶
func NewGetNoticesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetNoticesLogic
func (*GetNoticesLogic) GetNotices ¶
func (l *GetNoticesLogic) GetNotices(req *types.GetNoticesReq) (resp *types.GetNoticesResp, err error)
type GetUserByRoleLogic ¶ added in v1.6.3
func NewGetUserByRoleLogic ¶ added in v1.6.3
func NewGetUserByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByRoleLogic
func (*GetUserByRoleLogic) GetOneUser ¶ added in v1.6.3
func (l *GetUserByRoleLogic) GetOneUser(userid string, wg *sync.WaitGroup, i int, Users []types.UserPreview, chan1 chan error) (err error)
func (*GetUserByRoleLogic) GetUserByRole ¶ added in v1.6.3
func (l *GetUserByRoleLogic) GetUserByRole(req *types.RetrieveUserPreviewReq) (resp *types.RetrieveUserPreviewResp, err error)
type GetUserRolesLogic ¶ added in v1.3.5
func NewGetUserRolesLogic ¶ added in v1.3.5
func NewGetUserRolesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserRolesLogic
func (*GetUserRolesLogic) GetUserRoles ¶ added in v1.3.5
func (l *GetUserRolesLogic) GetUserRoles(_ *types.GetUserRolesReq) (resp *types.GetUserRolesResp, err error)
type HandleApplyLogic ¶ added in v1.6.4
func NewHandleApplyLogic ¶ added in v1.6.4
func NewHandleApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HandleApplyLogic
func (*HandleApplyLogic) HandleApply ¶ added in v1.6.4
func (l *HandleApplyLogic) HandleApply(req *types.HandleApplyReq) (resp *types.HandleApplyResp, err error)
type ListApplyLogic ¶ added in v1.6.4
func NewListApplyLogic ¶ added in v1.6.4
func NewListApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListApplyLogic
func (*ListApplyLogic) ListApply ¶ added in v1.6.4
func (l *ListApplyLogic) ListApply(req *types.ListApplyReq) (resp *types.ListApplyResp, err error)
type ListCommunityLogic ¶
func NewListCommunityLogic ¶
func NewListCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommunityLogic
func (*ListCommunityLogic) ListCommunity ¶
func (l *ListCommunityLogic) ListCommunity(req *types.ListCommunityReq) (resp *types.ListCommunityResp, err error)
type NewAdminLogic ¶
func NewNewAdminLogic ¶
func NewNewAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NewAdminLogic
func (*NewAdminLogic) NewAdmin ¶
func (l *NewAdminLogic) NewAdmin(req *types.NewAdminReq) (resp *types.NewAdminResp, err error)
type NewCommunityLogic ¶
func NewNewCommunityLogic ¶
func NewNewCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NewCommunityLogic
func (*NewCommunityLogic) NewCommunity ¶
func (l *NewCommunityLogic) NewCommunity(req *types.NewCommunityReq) (resp *types.NewCommunityResp, err error)
type NewNewsLogic ¶
func NewNewNewsLogic ¶
func NewNewNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NewNewsLogic
func (*NewNewsLogic) NewNews ¶
func (l *NewNewsLogic) NewNews(req *types.NewNewsReq) (resp *types.NewNewsResp, err error)
type NewNoticeLogic ¶
func NewNewNoticeLogic ¶
func NewNewNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NewNoticeLogic
func (*NewNoticeLogic) NewNotice ¶
func (l *NewNoticeLogic) NewNotice(req *types.NewNoticeReq) (resp *types.NewNoticeResp, err error)
type UpdateCommunityAdminLogic ¶ added in v1.3.5
func NewUpdateCommunityAdminLogic ¶ added in v1.3.5
func NewUpdateCommunityAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommunityAdminLogic
func (*UpdateCommunityAdminLogic) UpdateCommunityAdmin ¶ added in v1.3.5
func (l *UpdateCommunityAdminLogic) UpdateCommunityAdmin(req *types.UpdateCommunityAdminReq) (resp *types.UpdateCommunityAdminResp, err error)
type UpdateSuperAdminLogic ¶ added in v1.3.5
func NewUpdateSuperAdminLogic ¶ added in v1.3.5
func NewUpdateSuperAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateSuperAdminLogic
func (*UpdateSuperAdminLogic) UpdateSuperAdmin ¶ added in v1.3.5
func (l *UpdateSuperAdminLogic) UpdateSuperAdmin(req *types.UpdateSuperAdminReq) (resp *types.UpdateSuperAdminResp, err error)
Source Files ¶
- create_apply_logic.go
- delete_admin_logic.go
- delete_community_logic.go
- delete_news_logic.go
- delete_notice_logic.go
- get_admins_logic.go
- get_news_logic.go
- get_notices_logic.go
- get_user_by_role_logic.go
- get_user_roles_logic.go
- handle_apply_logic.go
- list_apply_logic.go
- list_community_logic.go
- new_admin_logic.go
- new_community_logic.go
- new_news_logic.go
- new_notice_logic.go
- update_community_admin_logic.go
- update_super_admin_logic.go
Click to show internal directories.
Click to hide internal directories.