Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager controls the lifecycle of the embedded FRP client.
var Instance *Manager
Instance is the global FRP manager.
func (*Manager) Restart ¶
Restart stops any running client and starts a fresh one with current settings.
func (*Manager) Runtime ¶
func (m *Manager) Runtime(limit int) RuntimeInfo
Runtime returns status and latest logs.
type RuntimeInfo ¶
RuntimeInfo contains FRP runtime status and recent logs.
Click to show internal directories.
Click to hide internal directories.