v1

package
v0.0.0-...-99505da Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePwd

func ChangePwd(c *gin.Context)

修改密码

func CheckStatus

func CheckStatus(c *gin.Context)

检查纳管状态

func GetPwd

func GetPwd(c *gin.Context)

查询密码

func GetToken

func GetToken(c *gin.Context)

func MultiExec

func MultiExec(execType string, ipList []string, cmd string) (succ []map[string]string, fail []map[string]string)

批量执行

func Test

func Test(c *gin.Context)

Types

type Auth

type Auth struct {
	Username string `form: "username" json: "useranme" valid:"Required; MaxSize(50)"`
	Password string `form: "password" json: "password" valid:"Required; MaxSize(50)"`
}

type IPS

type IPS struct {
	Ips string
}

Jump to

Keyboard shortcuts

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