Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeleteAppState ¶
func DeleteAppState()
func InitLogging ¶
func InitLogging()
Types ¶
type Config ¶
type Config struct {
// AllowedSenders specifies only to prints files from Allowed Senders
AllowedSenders []string
// DeletePrinted specifies whether the email should be deleted after processing
DeletePrinted bool
// Printer is the printer to use; set to default to use default
Printer string
// PrintFlags are the flags to pass to CUPS (lp) command during printing
PrintFlags []string
// Provider used to pull emails from
Provider string
// Whether to reset state & config on launch
Reset bool
}
Config for the printer
func FetchConfig ¶
func FetchConfig() *Config
func (*Config) SaveToFile ¶
func (c *Config) SaveToFile()
Click to show internal directories.
Click to hide internal directories.