proxy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Confgo *confgo

Functions

func Init

func Init()

Types

type CmcAgent

type CmcAgent struct {
	Id         int    `json:"id" gorm:"column:id"`
	Ip         string `json:"ip" gorm:"column:ip"`
	Port       string `json:"port" gorm:"column:port"`
	Hostname   string `json:"hostname" gorm:"column:hostname"`
	Env        string `json:"env" gorm:"column:env"`
	UpdateTime int64  `json:"update_time" gorm:"column:update_time"`
	Extra      string `json:"extra"`
}

type Nodes

type Nodes struct {
	IP   string `json:"ip"`
	Port string `json:"port"`
}

type PMTShell

type PMTShell struct {
	Pmt     string `json:"pmt"` // systemd supervisor
	AppName string `json:"app_name"`
	Op      int    `json:"op"` // 0 start 1 stop 2 restart
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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