project

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToProjectApis

func ToProjectApis(ctx context.Context, svcCtx *svc.ServiceContext, in []*sys.DataProject) (ret []*types.DataProject)

func ToProjectPbs

func ToProjectPbs(in []*types.DataProject) (ret []*sys.DataProject)

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.DataProjectSaveReq) error

type DeleteLogic

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

func NewDeleteLogic

func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic

func (*DeleteLogic) Delete

func (l *DeleteLogic) Delete(req *types.DataProjectDeleteReq) error

type MultiDeleteLogic added in v1.1.0

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

func NewMultiDeleteLogic added in v1.1.0

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

批量删除授权项目权限

func (*MultiDeleteLogic) MultiDelete added in v1.1.0

type ProjectIndexLogic

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

func NewProjectIndexLogic

func NewProjectIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectIndexLogic

func (*ProjectIndexLogic) ProjectIndex

func (l *ProjectIndexLogic) ProjectIndex(req *types.DataProjectIndexReq) (resp *types.DataProjectIndexResp, err error)

type ProjectMultiCreateLogic added in v1.1.0

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

func NewProjectMultiCreateLogic added in v1.1.0

func NewProjectMultiCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ProjectMultiCreateLogic

批量更新授权项目权限

func (*ProjectMultiCreateLogic) ProjectMultiCreate added in v1.1.0

func (l *ProjectMultiCreateLogic) ProjectMultiCreate(req *types.DataProjectMultiSaveReq) error

Jump to

Keyboard shortcuts

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