config_reader

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: AGPL-3.0-or-later Imports: 3 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 {
	TicketsPerJQL    uint32           `mapstructure:"TicketsPerJQL"`
	TemplateLocation string           `mapstructure:"TemplateLocation"`
	AppPassword      string           `mapstructure:"AppPassword"`
	AppUrl           string           `mapstructure:"AppURL"`
	AppUser          string           `mapstructure:"AppUser"`
	LogLevel         string           `mapstructure:"LogLevel"`
	Channel          []domain.Channel `mapstructure:"Channels"`
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

Jump to

Keyboard shortcuts

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