configs

package
v0.0.0-...-a6a29b8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Imap         string `toml:"imap"`
	ImapUser     string `toml:"imap_user"`
	ImapPassword string `toml:"imap_password"`
	ImapPort     string `toml:"imap_port"`
	ImapSsl      bool   `toml:"imap_ssl"`
	HTTPAddr     string `toml:"http_addr"`

	LogLevel string `toml:"log_level"`
}

func Get

func Get() *Config

func NewConfig

func NewConfig(path string) *Config

Jump to

Keyboard shortcuts

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