settings

package
v1.5.27 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CServiceName  = "HLM"
	CTitlePattern = "hidden-lake-messenger"
)
View Source
const (
	CPathYML = "hlm.yml"
	CPathDB  = "hlm.db"
)
View Source
const (
	CStaticPath = "/static/"
	CPushPath   = "/push"
)
View Source
const (
	// fourth digits of PI
	CAuthSalt = "4811174502_8410270193_8521105559_6446229489_5493038196"

	// fifth digits of PI
	CCipherSalt = "4428810975_6659334461_2847564823_3786783165_2712019091"
)
View Source
const (
	CDefaultInterfaceAddress = "127.0.0.1:9591"
	CDefaultIncomingAddress  = "127.0.0.1:9592"
)
View Source
const (
	CDefaultLanguage         = "ENG"
	CDefaultMessagesCapacity = (2 << 10) // count
)
View Source
const (
	CHandleIndexPath          = "/"
	CHandleAboutPath          = "/about"
	CHandleFaviconPath        = "/favicon.ico"
	CHandleSettingsPath       = "/settings"
	CHandleQRPublicKeyKeyPath = "/qr/public_key"
	CHandleFriendsPath        = "/friends"
	CHandleFriendsChatPath    = "/friends/chat"
	CHandleFriendsUploadPath  = "/friends/upload"
	CHandleFriendsChatWSPath  = "/friends/chat/ws"
)
View Source
const (
	CIsText = 0x01
	CIsFile = 0x02
)
View Source
const (
	CHeaderSenderId = "Hl-Messenger-Sender-Id"
)

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