Documentation
¶
Overview ¶
Package config resolves where wamcp keeps its state on disk.
Index ¶
Constants ¶
View Source
const EnvDataDir = "WAMCP_DATA_DIR"
EnvDataDir overrides the default data directory.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paths ¶
type Paths struct {
Dir string // root data directory (created with 0700)
SessionDB string // whatsmeow device/session store
MessagesDB string // local message archive
MediaDir string // downloaded media
LockFile string // single-instance lock
TokenFile string // bearer token for the HTTP transport
}
Paths groups every file wamcp reads or writes.
Click to show internal directories.
Click to hide internal directories.