logic

package
v0.0.0-...-ec24a78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLogic

type CreateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DetailLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type ListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type RemoveLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type UpdateLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL