server

package
v0.0.0-...-d340b99 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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) Add

func (api *ServerController) Add(c *gin.Context)

Add 添加服务

func (*ServerController) Del

func (s *ServerController) Del(c *gin.Context)

Del 删除

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服务角色

func (*ServerController) Update

func (api *ServerController) Update(c *gin.Context)

Update 修改服务

Jump to

Keyboard shortcuts

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