Documentation ¶
Index ¶
- func AddHandlerV1(prefix string, h RegistrantV1)
- func Register(engine *gin.Engine)
- type ClusterHandler
- type DBOprationHandler
- type InstanceHandler
- type MysqlExecHandler
- type MysqlPrivsHandler
- func (this *MysqlPrivsHandler) ApplyMySQLPriv(c *gin.Context)
- func (this *MysqlPrivsHandler) ApplyMysqlPrivFindByUUID(c *gin.Context)
- func (this *MysqlPrivsHandler) ApplyMysqlPrivOrder(c *gin.Context)
- func (this *MysqlPrivsHandler) ApplyMysqlPrivOrderEditByUUID(c *gin.Context)
- func (this *MysqlPrivsHandler) ApplyMysqlPrivSuccess(c *gin.Context)
- func (this *MysqlPrivsHandler) FindPrivsTreeByUsername(c *gin.Context)
- func (this *MysqlPrivsHandler) FindTablesByUser(c *gin.Context)
- func (this *MysqlPrivsHandler) RegisterV1(group *gin.RouterGroup)
- type RegistrantV1
- type UserHandler
- func (this *UserHandler) All(c *gin.Context)
- func (this *UserHandler) DeleteById(c *gin.Context)
- func (this *UserHandler) EditById(c *gin.Context)
- func (this *UserHandler) Find(c *gin.Context)
- func (this *UserHandler) Login(c *gin.Context)
- func (this *UserHandler) Logout(c *gin.Context)
- func (this *UserHandler) Register(c *gin.Context)
- func (this *UserHandler) RegisterV1(group *gin.RouterGroup)
- type UtilHandler
- func (this *UtilHandler) DBResult(c *gin.Context)
- func (this *UtilHandler) Decrypt(c *gin.Context)
- func (this *UtilHandler) Encrypt(c *gin.Context)
- func (this *UtilHandler) GetBatchInsertSql(c *gin.Context)
- func (this *UtilHandler) JWTAuthTest(c *gin.Context)
- func (this *UtilHandler) RegisterV1(group *gin.RouterGroup)
- func (this *UtilHandler) SqlFingerprint(c *gin.Context)
- func (this *UtilHandler) TextToSqls(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterHandler ¶
type ClusterHandler struct{}
func (*ClusterHandler) RegisterV1 ¶
func (this *ClusterHandler) RegisterV1(group *gin.RouterGroup)
注册route
type DBOprationHandler ¶
type DBOprationHandler struct{}
func (*DBOprationHandler) ClusterDBNames ¶
func (this *DBOprationHandler) ClusterDBNames(c *gin.Context)
获取集群所有数据库名
func (*DBOprationHandler) RegisterV1 ¶
func (this *DBOprationHandler) RegisterV1(group *gin.RouterGroup)
注册route
type InstanceHandler ¶
type InstanceHandler struct{}
func (*InstanceHandler) Find ¶
func (this *InstanceHandler) Find(c *gin.Context)
func (*InstanceHandler) RegisterV1 ¶
func (this *InstanceHandler) RegisterV1(group *gin.RouterGroup)
注册route
type MysqlExecHandler ¶
type MysqlExecHandler struct{}
func (*MysqlExecHandler) RegisterV1 ¶
func (this *MysqlExecHandler) RegisterV1(group *gin.RouterGroup)
注册route
type MysqlPrivsHandler ¶
type MysqlPrivsHandler struct{}
func (*MysqlPrivsHandler) ApplyMySQLPriv ¶
func (this *MysqlPrivsHandler) ApplyMySQLPriv(c *gin.Context)
申请MySQL权限
func (*MysqlPrivsHandler) ApplyMysqlPrivFindByUUID ¶
func (this *MysqlPrivsHandler) ApplyMysqlPrivFindByUUID(c *gin.Context)
获取mysql工单列表
func (*MysqlPrivsHandler) ApplyMysqlPrivOrder ¶
func (this *MysqlPrivsHandler) ApplyMysqlPrivOrder(c *gin.Context)
获取mysql工单列表
func (*MysqlPrivsHandler) ApplyMysqlPrivOrderEditByUUID ¶
func (this *MysqlPrivsHandler) ApplyMysqlPrivOrderEditByUUID(c *gin.Context)
申请MySQL权限
func (*MysqlPrivsHandler) ApplyMysqlPrivSuccess ¶
func (this *MysqlPrivsHandler) ApplyMysqlPrivSuccess(c *gin.Context)
申请MySQL权限
func (*MysqlPrivsHandler) FindPrivsTreeByUsername ¶
func (this *MysqlPrivsHandler) FindPrivsTreeByUsername(c *gin.Context)
通过用户获取所有的数据库权限
func (*MysqlPrivsHandler) FindTablesByUser ¶
func (this *MysqlPrivsHandler) FindTablesByUser(c *gin.Context)
通过用户获取所有的数据库权限
func (*MysqlPrivsHandler) RegisterV1 ¶
func (this *MysqlPrivsHandler) RegisterV1(group *gin.RouterGroup)
注册route
type RegistrantV1 ¶
type RegistrantV1 interface {
RegisterV1(group *gin.RouterGroup)
}
type UserHandler ¶
type UserHandler struct{}
func (*UserHandler) All ¶
func (this *UserHandler) All(c *gin.Context)
func (*UserHandler) DeleteById ¶
func (this *UserHandler) DeleteById(c *gin.Context)
func (*UserHandler) EditById ¶
func (this *UserHandler) EditById(c *gin.Context)
func (*UserHandler) Find ¶
func (this *UserHandler) Find(c *gin.Context)
func (*UserHandler) Login ¶
func (this *UserHandler) Login(c *gin.Context)
func (*UserHandler) Logout ¶
func (this *UserHandler) Logout(c *gin.Context)
func (*UserHandler) Register ¶
func (this *UserHandler) Register(c *gin.Context)
func (*UserHandler) RegisterV1 ¶
func (this *UserHandler) RegisterV1(group *gin.RouterGroup)
注册route
type UtilHandler ¶
type UtilHandler struct{}
func (*UtilHandler) DBResult ¶
func (this *UtilHandler) DBResult(c *gin.Context)
func (*UtilHandler) GetBatchInsertSql ¶
func (this *UtilHandler) GetBatchInsertSql(c *gin.Context)
func (*UtilHandler) RegisterV1 ¶
func (this *UtilHandler) RegisterV1(group *gin.RouterGroup)
注册route
func (*UtilHandler) TextToSqls ¶
func (this *UtilHandler) TextToSqls(c *gin.Context)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.