Documentation ¶
Index ¶
- type DeleteAdminLogic
- type DeleteCommunityLogic
- type DeleteNewsLogic
- type DeleteNoticeLogic
- type GetAdminsLogic
- type GetNewsLogic
- type GetNoticesLogic
- type GetUserRolesLogic
- 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 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 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 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 ¶
- 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_roles_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.