logic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddLogic

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

func NewAddLogic

func NewAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) AddLogic

func (*AddLogic) Add

func (l *AddLogic) Add(req types.UserAddRequest) error

type ConnectorAddLogic

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

func NewConnectorAddLogic

func NewConnectorAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorAddLogic

func (*ConnectorAddLogic) ConnectorAdd

func (l *ConnectorAddLogic) ConnectorAdd(req types.ConnectorModel) error

type ConnectorDeleteLogic

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

func NewConnectorDeleteLogic

func NewConnectorDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorDeleteLogic

func (*ConnectorDeleteLogic) ConnectorDelete

func (l *ConnectorDeleteLogic) ConnectorDelete(req types.DeleteConnectorRequest) error

type ConnectorListLogic

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

func NewConnectorListLogic

func NewConnectorListLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorListLogic

func (*ConnectorListLogic) ConnectorList

type DatabaseListLogic

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

func NewDatabaseListLogic

func NewDatabaseListLogic(ctx context.Context, svcCtx *svc.ServiceContext) DatabaseListLogic

func (*DatabaseListLogic) DatabaseList

func (l *DatabaseListLogic) DatabaseList(req types.String) (*types.StringList, error)

type DefaultConfigLogic

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

func NewDefaultConfigLogic

func NewDefaultConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) DefaultConfigLogic

func (*DefaultConfigLogic) DefaultConfig

func (d *DefaultConfigLogic) DefaultConfig() *types.DefaultConfigResponse

type DmAddLogic

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

func NewDmAddLogic

func NewDmAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmAddLogic

func (*DmAddLogic) DmAdd

func (l *DmAddLogic) DmAdd(req types.DmModel) (*types.DmModel, error)

type DmDeleteLogic

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

func NewDmDeleteLogic

func NewDmDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmDeleteLogic

func (*DmDeleteLogic) DmDelete

func (l *DmDeleteLogic) DmDelete(req types.String) error

type DmListLogic

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

func NewDmListLogic

func NewDmListLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmListLogic

func (*DmListLogic) DmList

type DmRedoLogic

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

func NewDmRedoLogic

func NewDmRedoLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmRedoLogic

func (*DmRedoLogic) DmRedo

func (l *DmRedoLogic) DmRedo(req types.String) error

type DmStopLogic

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

func NewDmStopLogic

func NewDmStopLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmStopLogic

func (*DmStopLogic) DmStop

func (l *DmStopLogic) DmStop(req types.String) error

type ExecSqlLogic

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

func NewExecSqlLogic

func NewExecSqlLogic(ctx context.Context, svcCtx *svc.ServiceContext) ExecSqlLogic

func (*ExecSqlLogic) ExecSql

func (l *ExecSqlLogic) ExecSql(dsn, sql string) error

type GenerateCreateSqlLogic

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

func NewGenerateCreateSqlLogic

func NewGenerateCreateSqlLogic(ctx context.Context, svcCtx *svc.ServiceContext) GenerateCreateSqlLogic

func (*GenerateCreateSqlLogic) GenerateCreateSql

type GetLogic

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

func NewGetLogic

func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetLogic

func (*GetLogic) Get

func (l *GetLogic) Get(user *model.User) (*types.UserGetResponse, error)

type GetUserInfoLogic

type GetUserInfoLogic struct {
	logx.Logger

	*model.UserModel
	// contains filtered or unexported fields
}

func NewGetUserInfoLogic

func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetUserInfoLogic

func (*GetUserInfoLogic) GetUserInfo

type ListDatabasesLogic

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

func NewListDatabasesLogic

func NewListDatabasesLogic(ctx context.Context, svcCtx *svc.ServiceContext) ListDatabasesLogic

func (*ListDatabasesLogic) ListDatabases

func (l *ListDatabasesLogic) ListDatabases(req string) (*types.StringList, error)

type ListTableLogic

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

func NewListTableLogic

func NewListTableLogic(ctx context.Context, svcCtx *svc.ServiceContext) ListTableLogic

func (*ListTableLogic) ListTable

func (l *ListTableLogic) ListTable(req types.String) (*types.StringList, error)

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) LoginLogic

func (*LoginLogic) Login

type RtuAddLogic

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

func NewRtuAddLogic

func NewRtuAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuAddLogic

func (*RtuAddLogic) RtuAdd

func (l *RtuAddLogic) RtuAdd(req types.RtuModel) (*types.RtuModel, error)

type RtuDeleteLogic

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

func NewRtuDeleteLogic

func NewRtuDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuDeleteLogic

func (*RtuDeleteLogic) RtuDelete

func (l *RtuDeleteLogic) RtuDelete(req types.String) error

type RtuListLogic

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

func NewRtuListLogic

func NewRtuListLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuListLogic

func (*RtuListLogic) RtuList

func (l *RtuListLogic) RtuList(req types.ListRequest) (*types.RtuList, error)

type RtuRedoLogic

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

func NewRtuRedoLogic

func NewRtuRedoLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuRedoLogic

func (*RtuRedoLogic) RtuRedo

func (l *RtuRedoLogic) RtuRedo(req types.String) error

type RtuStopLogic

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

func NewRtuStopLogic

func NewRtuStopLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuStopLogic

func (*RtuStopLogic) RtuStop

func (l *RtuStopLogic) RtuStop(req types.String) error

Jump to

Keyboard shortcuts

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