Documentation ¶
Index ¶
- type ServerController
- func (api *ServerController) Add(c *gin.Context)
- func (s *ServerController) Del(c *gin.Context)
- func (api *ServerController) GetRoles(c *gin.Context)
- func (api *ServerController) List(c *gin.Context)
- func (api *ServerController) Restore(c *gin.Context)
- func (api *ServerController) SetRoles(c *gin.Context)
- func (api *ServerController) Update(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerController ¶
type ServerController struct { }
ServerController etcd服务列表相关操作
func (*ServerController) GetRoles ¶
func (api *ServerController) GetRoles(c *gin.Context)
GetRoles 获取etcd服务权限列表
func (*ServerController) List ¶
func (api *ServerController) List(c *gin.Context)
List 获取etcd服务列表,全部
func (*ServerController) Restore ¶
func (api *ServerController) Restore(c *gin.Context)
Restore 修复v1版本或�e3w对目录的标记
func (*ServerController) SetRoles ¶
func (api *ServerController) SetRoles(c *gin.Context)
SetRoles 设置etcd服务角色
Click to show internal directories.
Click to hide internal directories.