config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath = "config.yaml"

Functions

func MustSave

func MustSave()

Types

type Auth

type Auth struct {
	ConsumerKey       string `yaml:"consumer_key"`
	ConsumerKeySecret string `yaml:"consumer_key_secret"`
	Token             string `yaml:"token"`
	TokenSecret       string `yaml:"token_secret"`
}

type Config

type Config struct {
	Auth Auth
}

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