constants

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NewServer = event.Type("NewServer")

	// Force  a UI update
	ListServers = event.Type("ListServers")

	// Takes an Onion, used to toggle off/on Server availability
	StartServer = event.Type("StartServer")
	StopServer  = event.Type("StopServer")

	// Takes an Onion and a AutoStartEnabled boolean
	AutoStart = event.Type("AutoStart")

	// Get the status of a particular server (takes an Onion)
	CheckServerStatus  = event.Type("CheckServerStatus")
	ServerStatusUpdate = event.Type("ServerStatusUpdate")
)

The server manager defines its own events, most should be self-explanatory:

View Source
const Archived = "archived"
View Source
const (
	AutoStartEnabled = event.Field("AutoStartEnabled")
)
View Source
const BlockUnknownPeersSetting = "blockunknownpeers"

Settings

View Source
const DefactoPasswordForUnencryptedProfiles = "be gay do crime"

We offer "un-passworded" profiles but our storage encrypts everything with a password. We need an agreed upon password to use in that case, that the app case use behind the scenes to password and unlock with

View Source
const LastRead = "last-read"
View Source
const LocaleSetting = "locale"
View Source
const Name = "name"
View Source
const PeerOnline = "peer-online"

PeerOnline stores state on if the peer believes it is online

View Source
const Picture = "picture"
View Source
const ProfileTypeV1DefaultPassword = "v1-defaultPassword"
View Source
const ProfileTypeV1Password = "v1-userPassword"
View Source
const SchemaVersion = "schemaVersion"
View Source
const ShowBlocked = "show-blocked"
View Source
const StateProfilePane = "state-profile-pane"
View Source
const StateSelectedConversation = "state-selected-conversation"
View Source
const StateSelectedProfileTime = "state-selected-profile-time"
View Source
const ZoomSetting = "zoom"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL