Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServerList is a json encoded list of servers ServerList = event.Field("ServerList") )
View Source
const ( // UpdateServerInfo is an event containing a ProfileOnion and a ServerList UpdateServerInfo = event.Type("UpdateServerInfo") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupFunctionality ¶
type GroupFunctionality struct { }
GroupFunctionality provides experiment gated server functionality
func ExperimentGate ¶
func ExperimentGate(experimentMap map[string]bool) (*GroupFunctionality, error)
ExperimentGate returns GroupFunctionality if the experiment is enabled, and an error otherwise.
func (*GroupFunctionality) GetServerInfo ¶
func (gf *GroupFunctionality) GetServerInfo(serverOnion string, profile peer.CwtchPeer) Server
GetServerInfo compiles all the information the UI might need regarding a particular server including any verified cryptographic keys
func (*GroupFunctionality) GetServerInfoList ¶
func (gf *GroupFunctionality) GetServerInfoList(profile peer.CwtchPeer) []Server
GetServerInfoList compiles all the information the UI might need regarding all servers..
type SyncStatus ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.