area

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAreaPbs

func ToAreaPbs(in []*types.DataArea) (ret []*sys.DataArea)

func ToDataAreaDetail

func ToDataAreaDetail(ctx context.Context, svcCtx *svc.ServiceContext, in []*sys.DataArea, areaMap map[int64]*sys.AreaInfo) (ret []*types.DataAreaDetail)

Types

type IndexLogic

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

func NewIndexLogic

func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

func (*IndexLogic) Index

func (l *IndexLogic) Index(req *types.DataAreaIndexReq) (resp *types.DataAreaIndexResp, err error)

type MultiDeleteLogic

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

func NewMultiDeleteLogic

func NewMultiDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiDeleteLogic

func (*MultiDeleteLogic) MultiDelete

func (l *MultiDeleteLogic) MultiDelete(req *types.DataAreaMultiDeleteReq) error

type MultiUpdateLogic

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

func NewMultiUpdateLogic

func NewMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiUpdateLogic

func (*MultiUpdateLogic) MultiUpdate

func (l *MultiUpdateLogic) MultiUpdate(req *types.DataAreaMultiUpdateReq) error

Directories

Path Synopsis
user

Jump to

Keyboard shortcuts

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