Documentation ¶
Index ¶
- type AddLogic
- type ConnectorAddLogic
- type ConnectorDeleteLogic
- type ConnectorListLogic
- type DatabaseListLogic
- type DefaultConfigLogic
- type DmAddLogic
- type DmDeleteLogic
- type DmListLogic
- type DmRedoLogic
- type DmStopLogic
- type ExecSqlLogic
- type GenerateCreateSqlLogic
- type GetLogic
- type GetUserInfoLogic
- type ListDatabasesLogic
- type ListTableLogic
- type LoginLogic
- type RtuAddLogic
- type RtuDeleteLogic
- type RtuListLogic
- type RtuRedoLogic
- type RtuStopLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddLogic ¶
func NewAddLogic ¶
func NewAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) AddLogic
type ConnectorAddLogic ¶
func NewConnectorAddLogic ¶
func NewConnectorAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorAddLogic
func (*ConnectorAddLogic) ConnectorAdd ¶
func (l *ConnectorAddLogic) ConnectorAdd(req types.ConnectorModel) error
type ConnectorDeleteLogic ¶
func NewConnectorDeleteLogic ¶
func NewConnectorDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorDeleteLogic
func (*ConnectorDeleteLogic) ConnectorDelete ¶
func (l *ConnectorDeleteLogic) ConnectorDelete(req types.DeleteConnectorRequest) error
type ConnectorListLogic ¶
func NewConnectorListLogic ¶
func NewConnectorListLogic(ctx context.Context, svcCtx *svc.ServiceContext) ConnectorListLogic
func (*ConnectorListLogic) ConnectorList ¶
func (l *ConnectorListLogic) ConnectorList(req types.ListRequest) (*types.ConnectorListResponse, error)
type DatabaseListLogic ¶
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 ¶
func NewDefaultConfigLogic ¶
func NewDefaultConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) DefaultConfigLogic
func (*DefaultConfigLogic) DefaultConfig ¶
func (d *DefaultConfigLogic) DefaultConfig() *types.DefaultConfigResponse
type DmAddLogic ¶
func NewDmAddLogic ¶
func NewDmAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmAddLogic
type DmDeleteLogic ¶
func NewDmDeleteLogic ¶
func NewDmDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmDeleteLogic
type DmListLogic ¶
func NewDmListLogic ¶
func NewDmListLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmListLogic
func (*DmListLogic) DmList ¶
func (l *DmListLogic) DmList(req types.ListRequest) (*types.DmListResponse, error)
type DmRedoLogic ¶
func NewDmRedoLogic ¶
func NewDmRedoLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmRedoLogic
type DmStopLogic ¶
func NewDmStopLogic ¶
func NewDmStopLogic(ctx context.Context, svcCtx *svc.ServiceContext) DmStopLogic
type ExecSqlLogic ¶
func NewExecSqlLogic ¶
func NewExecSqlLogic(ctx context.Context, svcCtx *svc.ServiceContext) ExecSqlLogic
func (*ExecSqlLogic) ExecSql ¶
func (l *ExecSqlLogic) ExecSql(dsn, sql string) error
type GenerateCreateSqlLogic ¶
func NewGenerateCreateSqlLogic ¶
func NewGenerateCreateSqlLogic(ctx context.Context, svcCtx *svc.ServiceContext) GenerateCreateSqlLogic
func (*GenerateCreateSqlLogic) GenerateCreateSql ¶
func (l *GenerateCreateSqlLogic) GenerateCreateSql(req types.GenerateCreateSqlRequest) (*types.GenerateCreateSqlResponse, error)
type GetLogic ¶
func NewGetLogic ¶
func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) GetLogic
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 ¶
func (l *GetUserInfoLogic) GetUserInfo(req types.GetUserInfoRequest) (*types.GetUserInfoResponse, error)
type ListDatabasesLogic ¶
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 ¶
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 ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) LoginLogic
func (*LoginLogic) Login ¶
func (l *LoginLogic) Login(req types.UserLoginRequest) (*types.TokenResponse, error)
type RtuAddLogic ¶
func NewRtuAddLogic ¶
func NewRtuAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuAddLogic
type RtuDeleteLogic ¶
func NewRtuDeleteLogic ¶
func NewRtuDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuDeleteLogic
type RtuListLogic ¶
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 ¶
func NewRtuRedoLogic ¶
func NewRtuRedoLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuRedoLogic
type RtuStopLogic ¶
func NewRtuStopLogic ¶
func NewRtuStopLogic(ctx context.Context, svcCtx *svc.ServiceContext) RtuStopLogic
Source Files ¶
- addlogic.go
- common.go
- connectoraddlogic.go
- connectordeletelogic.go
- connectorlistlogic.go
- databaselistlogic.go
- defaultconfiglogic.go
- dmaddlogic.go
- dmdeletelogic.go
- dmlistlogic.go
- dmredologic.go
- dmstoplogic.go
- execsqllogic.go
- generatecreatesqllogic.go
- getlogic.go
- getuserinfologic.go
- listdatabaseslogic.go
- listtablelogic.go
- loginlogic.go
- rtuaddlogic.go
- rtudeletelogic.go
- rtulistlogic.go
- rturedologic.go
- rtustoplogic.go
Click to show internal directories.
Click to hide internal directories.