Documentation
¶
Index ¶
Constants ¶
View Source
const ( AppName = "pm-cli" KeyringUser = "bridge-password" DefaultIMAP = "127.0.0.1" DefaultIMAPPort = 1143 DefaultSMTP = "127.0.0.1" DefaultSMTPPort = 1025 )
Variables ¶
This section is empty.
Functions ¶
func CheckIdempotencyKey ¶
CheckIdempotencyKey returns true if the key was already used (within TTL)
func ConfigPath ¶
func DeletePassword ¶
func RecordIdempotencyKey ¶
RecordIdempotencyKey marks a key as used
Types ¶
type BridgeConfig ¶
type Config ¶
type Config struct {
Bridge BridgeConfig `yaml:"bridge"`
Defaults DefaultsConfig `yaml:"defaults"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) GetPassword ¶
func (*Config) SetPassword ¶
type DefaultsConfig ¶
Click to show internal directories.
Click to hide internal directories.