config

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateConfig

func CreateConfig()

func Init

func Init()

Types

type Config

type Config struct {
	APIKey       string   `yaml:"api_key" mapstructure:"api_key"`
	ProxyURL     string   `yaml:"proxy_url" mapstructure:"proxy_url"`
	Proxy        string   `yaml:"proxy" mapstructure:"proxy"`
	Subscription []string `yaml:"subscription" mapstructure:"subscription"`
}

func GetIns

func GetIns() *Config

Jump to

Keyboard shortcuts

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