Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILinkInfo ¶
type ILinkInfo interface { List(ctx context.Context, req *link.LinkInfoSearchReq) (total, page int, list []*entity.LinkInfo, err error) Get(ctx context.Context, id int) (info *entity.LinkInfo, err error) Add(ctx context.Context, req *link.LinkInfoAddReq) (err error) Edit(ctx context.Context, req *link.LinkInfoEditReq) error DeleteByIds(ctx context.Context, ids []int) (err error) }
type linkInfo struct { } var LinkInfo = new(linkInfo)
type ILinkNet ¶
type ILinkNet interface { List(ctx context.Context, req *link.LinkNetSearchReq) (total, page int, list []*entity.LinkNet, err error) Get(ctx context.Context, id int) (info *entity.LinkNet, err error) Add(ctx context.Context, req *link.LinkNetAddReq) (err error) Edit(ctx context.Context, req *link.LinkNetEditReq) error DeleteByIds(ctx context.Context, ids []int) (err error) }
type linkNet struct { } var LinkNet = new(linkNet)
type ILinkSerial ¶
type ILinkSerial interface { All(ctx context.Context) (list []*entity.LinkSerial, err error) List(ctx context.Context, req *link.LinkSerialSearchReq) (total, page int, list []*entity.LinkSerial, err error) Get(ctx context.Context, id int) (info *entity.LinkSerial, err error) Add(ctx context.Context, req *link.LinkSerialAddReq) (err error) Edit(ctx context.Context, req *link.LinkSerialEditReq) error DeleteByIds(ctx context.Context, ids []int) (err error) }
type linkSerial struct { } var LinkSerial = new(linkSerial)
func LinkSerial ¶
func LinkSerial() ILinkSerial
Click to show internal directories.
Click to hide internal directories.