centerctl

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHost added in v0.2.5

func AddHost(host, port, user, pass string) error

db_centerDistribute addUpdate, delete

func InitConf

func InitConf(debug bool) *config.Config

func Run00

func Run00(conf config.Config)

func RunWithGinRoute

func RunWithGinRoute(conf config.Config, dbpath string, r *gin.Engine, prefix string)

func SyncHosts added in v0.2.6

func SyncHosts(hosts []*HostInfo)

Types

type HostInfo added in v0.2.6

type HostInfo struct {
	Host string
	Port string
	User string
	Pass string
}

TODO batchSync

Directories

Path Synopsis
log

Jump to

Keyboard shortcuts

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