configs

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.0.4

type Config struct {
	ProjectName string
	RootPath    string
	Raw         []byte
	Debug       bool
	Verbose     bool // if true, prompt enter to exit.
	LogName     string
	MailTypes   []string
	Folder      string
	Result      string // to copy treated emls
	DropDaysAgo int    `json:"DropDaysAgo"`
	Drop        time.Time
	Filter      struct {
		Spams   []string
		Focuses []string
	} `json:"filter"`
	Err error
}

func NewConfig added in v0.0.4

func NewConfig(projectName string) *Config

Jump to

Keyboard shortcuts

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