Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCapabilities ¶
type AccountCapabilities struct { UUID bool `json:"uuid" yaml:"uuid"` Gv2 bool `json:"gv2-3" yaml:"gv2"` Storage bool `json:"storage" yaml:"storage"` Gv1Migration bool `json:"gv1-migration" yaml:"gv1-migration"` }
AccountCapabilities describes what functions axolotl supports
type Config ¶
type Config struct { Tel string `yaml:"tel"` // Our telephone number UUID string `yaml:"uuid" default:"notset"` Server string `yaml:"server"` // The TextSecure server URL ServiceReflectorHost string `yaml:"serviceReflectorHost"` // The TextSecure ServiceReflectorHost URL CDN1 string `yaml:"cdn1"` // The TextSecure CDN1 URL CDN2 string `yaml:"cdn2"` // The TextSecure CDN2 URL DirectoryUrl string `yaml:"directoryUrl"` // The TextSecure Directory URL StorageUrl string `yaml:"storageUrl"` // The TextSecure Storage URL RootCA string `yaml:"rootCA"` // The TLS signing certificate of the server we connect to ProxyServer string `yaml:"proxy"` // HTTP Proxy URL if one is being used VerificationType string `yaml:"verificationType"` // Code verification method during registration (SMS/VOICE/DEV) StorageDir string `yaml:"storageDir"` // Directory for the persistent storage UnencryptedStorage bool `yaml:"unencryptedStorage"` // Whether to store plaintext keys and session state (only for development) StoragePassword string `yaml:"storagePassword"` // Password to the storage LogLevel string `yaml:"loglevel"` // Verbosity of the logging messages UserAgent string `yaml:"userAgent"` // Override for the default HTTP User Agent header field AlwaysTrustPeerID bool `yaml:"alwaysTrustPeerID"` // Workaround until proper handling of peer reregistering with new ID. AccountCapabilities AccountCapabilities `yaml:"accountCapabilities"` // Account Attrributes are used in order to track the support of different function for signal DiscoverableByPhoneNumber bool `yaml:"discoverableByPhoneNumber"` // If the user should be found by his phone number IsProfileChanged bool `yaml:"isPorfileChanged"` // The username ProfileKey []byte `yaml:"profileKey"` // The profile key is used in many places to encrypt the avatar, name etc and also in groupsv2 context Name string `yaml:"name"` // The username UnidentifiedAccessKey []byte `yaml:"unidentifiedAccessKey"` // The access key for unidentified users Certificate []byte `yaml:"certificate"` // The access key for unidentified users CrayfishSupport bool `yaml:"crayfishSupport"` // weather the client uses crayfish or not }
Config holds application configuration settings
var (
ConfigFile *Config
)
Click to show internal directories.
Click to hide internal directories.