config

package
v0.0.0-...-98620ba Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultConfigDir

func GetDefaultConfigDir() (dir string, err error)

Types

type Config

type Config struct {
	Core CoreConfig
	Jira JiraConfig
}
var Conf Config

func (*Config) Load

func (conf *Config) Load(file string) error

type CoreConfig

type CoreConfig struct {
	Editor      string `toml:"editor"`
	TicketCache string `toml:"ticketcache"`
	SelectCmd   string `toml:"selectcmd"`
	// contains filtered or unexported fields
}

type JiraConfig

type JiraConfig struct {
	Host     string `toml:"host"`
	UserName string `toml:"username"`
	Password string `toml:"password"`
	Jql      string `toml:"jql"`
}

Jump to

Keyboard shortcuts

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