Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.CreateRequest) (*types.CreateResponse, error)
type DetailLogic ¶
func NewDetailLogic ¶
func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic
func (*DetailLogic) Detail ¶
func (l *DetailLogic) Detail(req *types.DetailRequest) (*types.DetailResponse, error)
type ListLogic ¶
func NewListLogic ¶
func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic
func (*ListLogic) List ¶
func (l *ListLogic) List(req *types.ListRequest) ([]*types.ListResponse, error)
type RemoveLogic ¶
func NewRemoveLogic ¶
func NewRemoveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveLogic
func (*RemoveLogic) Remove ¶
func (l *RemoveLogic) Remove(req *types.RemoveRequest) (*types.RemoveResponse, error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.UpdateRequest) (*types.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.