Documentation ¶
Index ¶
- Constants
- type App
- func (a *App) ApiHost() string
- func (a *App) Cron() *cron.Cron
- func (a *App) GetAgent() *stackimpact.Agent
- func (a *App) GetObfsProtocolService() ObfsProtocolService
- func (a *App) GetPublicIP() string
- func (a *App) Host() string
- func (a *App) Init() error
- func (a *App) Key() string
- func (a *App) NodeId() int
- func (a *App) NodeInfo() *model.NodeInfo
- func (a *App) SetAgent(agent *stackimpact.Agent)
- func (a *App) SetApiHost(apiHost string)
- func (a *App) SetCron(cron *cron.Cron)
- func (a *App) SetHost(host string)
- func (a *App) SetKey(key string)
- func (a *App) SetNodeId(nodeId int)
- func (a *App) SetNodeInfo(nodeInfo *model.NodeInfo)
- func (a *App) SetObfsProtocolService(obfsProtocolService ObfsProtocolService)
- func (a *App) SetPublicIP(publicIp string)
- func (a *App) SetUserInfos(userInfos []*model.UserInfo)
- func (a *App) UserInfos() []*model.UserInfo
- type Closeable
- type HostFirewall
- type ObfsProtocolService
- type Reloadable
- type Runable
Constants ¶
View Source
const (
APP_VERSION = "v2.1.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) GetObfsProtocolService ¶
func (a *App) GetObfsProtocolService() ObfsProtocolService
func (*App) GetPublicIP ¶
func (*App) SetApiHost ¶
func (*App) SetNodeInfo ¶
func (*App) SetObfsProtocolService ¶
func (a *App) SetObfsProtocolService(obfsProtocolService ObfsProtocolService)
func (*App) SetPublicIP ¶
func (*App) SetUserInfos ¶
type HostFirewall ¶
type ObfsProtocolService ¶
type Reloadable ¶
type Reloadable interface {
Reload() error
}
Click to show internal directories.
Click to hide internal directories.