service

package
v0.0.0-...-5961e9c Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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)

func LinkInfo

func LinkInfo() ILinkInfo

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)

func LinkNet

func LinkNet() ILinkNet

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

Jump to

Keyboard shortcuts

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