config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config provides an interface to the .trpc.conf config file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Trackernames map[string]string
	Settings     *toml.Tree
}

Config contains all the external configuration data from .trpc.conf.

func ReadConfig

func ReadConfig() *Config

ReadConfig attempts to read ~/.trpc.conf as a toml file and returns a config tree.

Jump to

Keyboard shortcuts

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