Documentation ¶
Index ¶
- Variables
- func SetActivationPolicy()
- func Start()
- type AppState
- func (as *AppState) DisableAutoStart()
- func (as *AppState) EnableAutoStart()
- func (as *AppState) Init() error
- func (as *AppState) LoadApiKey() error
- func (as *AppState) Loop()
- func (as *AppState) SaveApiKey(newApiKey string) error
- func (as *AppState) ShowApiKeyDialog()
- func (as *AppState) ShowConfirmationDialog()
- func (as *AppState) StartHolePunching()
- func (as *AppState) StopHolePunching()
- type EvtCloseAPIKeyDialog
- type EvtCloseConfirmationDialog
- type EvtOnStarted
- type EvtOpenGrafanaResults
- type EvtSaveApiKey
- type EvtSaveConfirmation
- type EvtShowAPIKeyDialog
- type EvtStoppedHolePunching
- type EvtToggleAutoStart
- type EvtToggleHolePunching
- type Gui
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version = "dev"
)
Functions ¶
func SetActivationPolicy ¶
func SetActivationPolicy()
Types ¶
type AppState ¶
type AppState struct {
// contains filtered or unexported fields
}
func NewAppState ¶
func (*AppState) DisableAutoStart ¶
func (as *AppState) DisableAutoStart()
func (*AppState) EnableAutoStart ¶
func (as *AppState) EnableAutoStart()
func (*AppState) LoadApiKey ¶
func (*AppState) SaveApiKey ¶
func (*AppState) ShowApiKeyDialog ¶
func (as *AppState) ShowApiKeyDialog()
func (*AppState) ShowConfirmationDialog ¶
func (as *AppState) ShowConfirmationDialog()
func (*AppState) StartHolePunching ¶
func (as *AppState) StartHolePunching()
func (*AppState) StopHolePunching ¶
func (as *AppState) StopHolePunching()
type EvtCloseAPIKeyDialog ¶
type EvtCloseAPIKeyDialog struct{}
type EvtCloseConfirmationDialog ¶
type EvtCloseConfirmationDialog struct{}
type EvtOnStarted ¶
type EvtOnStarted struct{}
type EvtOpenGrafanaResults ¶ added in v0.9.0
type EvtOpenGrafanaResults struct{}
type EvtSaveApiKey ¶
type EvtSaveApiKey struct {
// contains filtered or unexported fields
}
type EvtSaveConfirmation ¶
type EvtSaveConfirmation struct {
// contains filtered or unexported fields
}
type EvtShowAPIKeyDialog ¶
type EvtShowAPIKeyDialog struct{}
type EvtStoppedHolePunching ¶ added in v0.8.0
type EvtStoppedHolePunching struct{}
type EvtToggleAutoStart ¶
type EvtToggleAutoStart struct{}
type EvtToggleHolePunching ¶
type EvtToggleHolePunching struct{}
Click to show internal directories.
Click to hide internal directories.