Documentation
¶
Index ¶
- Constants
- type Desc
- type Manager
- func (m *Manager) AddService(name string, svc Service) error
- func (m *Manager) GetCurrentConfig(name string) (string, error)
- func (m *Manager) RestartService(name string) error
- func (m *Manager) StartService(name string) error
- func (m *Manager) StopService(name string) error
- func (m *Manager) UpdateConfig(name string, data string) error
- type Service
- type V2ray
Constants ¶
View Source
const ( // Service Status Running = "Running" Stop = "Stop" Unknown = "Unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
var Mgr *Manager
func NewManager ¶
func NewManager() *Manager
func (*Manager) RestartService ¶
func (*Manager) StartService ¶
func (*Manager) StopService ¶
Click to show internal directories.
Click to hide internal directories.