Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.AreaInfo) (*types.AreaWithID, error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.AreaWithID) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.AreaInfoIndexReq) (resp *types.AreaInfoIndexResp, err error)
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
Click to show internal directories.
Click to hide internal directories.