Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	API   api.Config   `json:"api"`
	Log   log.Config   `json:"log"`
	Queue queue.Config `json:"queue"`
	SMTP  smtp.Config  `json:"smtp"`
}

    Global configuration for the application.

    func Parse

    func Parse() (*Config, error)

      Parse the flags passed to the application

      func (*Config) Save

      func (c *Config) Save(path string) error

        Save the configuration to the specified path.

        Source Files