config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "textsecure.nanuc"
View Source
const AppVersion = "1.6.0"
View Source
const MaxAttachmentSize int64 = 100 * 1024 * 1024

MaxAttachmentSize does not allow sending attachments larger than 100M for now

Variables

View Source
var (
	IsPhone                bool
	IsPushHelper           bool
	MainQml                string
	Gui                    string
	ElectronDebug          bool
	PrintVersion           bool
	HomeDir                string
	ConfigDir              string
	ConfigFile             string
	ContactsFile           string
	RegisteredContactsFile string
	SettingsFile           string
	LogFile                string
	LogLevel               string
	DataDir                string
	StorageDir             string
	AttachDir              string
	TsDeviceURL            string
	VcardPath              string
	ServerHost             string
	ServerPort             string
	AxolotlWebDir          string
	ElectronFlag           string
)

Functions

func GetConfig

func GetConfig() (*textsecureConfig.Config, error)

func SetLogLevel added in v1.2.0

func SetLogLevel(loglevel string)

func SetupConfig

func SetupConfig()

func Unregister

func Unregister()

Types

This section is empty.

Jump to

Keyboard shortcuts

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