config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath = "config.yaml"

Functions

This section is empty.

Types

type Auth

type Auth struct {
	ConsumerKey       string `yaml:"consumer_key"`
	ConsumerKeySecret string `yaml:"consumer_key_secret"`
}

type Config

type Config struct {
	Auth Auth
}
var ConfigInstance *Config = nil

func GetConfig added in v1.1.0

func GetConfig() *Config

func MustInitialize

func MustInitialize() *Config

Jump to

Keyboard shortcuts

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