Versions in this module Expand all Collapse all v0 v0.1.3 Sep 5, 2024 Changes in this version + const Connections + const Intent + const IntentRunning + const IntentStopped + const NewServer + const ServerDeleted + const ServerIntentUpdate + const ServerStatsUpdate + const TotalMessages + const ZeroServersLoaded + type ServerInfo struct + Autostart bool + Description string + Onion string + Running bool + ServerBundle string + StorageType string + func (si *ServerInfo) EnrichEvent(e *event.Event) + type ServersFunctionality struct + func Init(acn connectivity.ACN, appdir string) *ServersFunctionality + func (sf *ServersFunctionality) CreateServer(appl app.Application, password string, description string, autostart bool) + func (sf *ServersFunctionality) DeleteServer(appl app.Application, onion string, currentPassword string) error + func (sf *ServersFunctionality) DestroyServers() + func (sf *ServersFunctionality) Enable(application app.Application, acn connectivity.ACN) + func (sf *ServersFunctionality) GetServer(onion string) server.Server + func (sf *ServersFunctionality) GetServerInfo(onion string) *ServerInfo + func (sf *ServersFunctionality) GetServerStatistics(onion string) server.Statistics + func (sf *ServersFunctionality) LaunchServer(appl app.Application, onion string) + func (sf *ServersFunctionality) ListServers() []string + func (sf *ServersFunctionality) LoadServers(appl app.Application, acn connectivity.ACN, password string) + func (sf *ServersFunctionality) OnACNStatusEvent(appl app.Application, e *event.Event) + func (sf *ServersFunctionality) StopServer(appl app.Application, onion string) + func (sh *ServersFunctionality) Disable() + func (sh *ServersFunctionality) Enabled() bool + func (sh *ServersFunctionality) LaunchServers(appl app.Application, acn connectivity.ACN) + func (sh *ServersFunctionality) SetServerAttribute(appl app.Application, handle string, key string, val string) + func (sh *ServersFunctionality) Shutdown() + func (sh *ServersFunctionality) StopServers(appl app.Application) + func (sh *ServersFunctionality) UpdateSettings(appl app.Application, acn connectivity.ACN)