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) (resp *types.CreateResponse, err error)
type DetailLogic ¶
func NewDetailLogic ¶
func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic
func (*DetailLogic) Detail ¶
func (l *DetailLogic) Detail(req *types.DetailRequest) (resp *types.DetailResponse, err error)
type ListLogic ¶
func NewListLogic ¶
func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic
func (*ListLogic) List ¶
func (l *ListLogic) List(req *types.ListRequest) (resp []types.ListResponse, err error)
type RemoveLogic ¶
func NewRemoveLogic ¶
func NewRemoveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveLogic
func (*RemoveLogic) Remove ¶
func (l *RemoveLogic) Remove(req *types.RemoveRequest) (resp *types.RemoveResponse, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.UpdateRequest) (resp *types.UpdateResponse, err error)
Click to show internal directories.
Click to hide internal directories.