config

package
v0.0.0-...-5126a87 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Config     *Config     `yaml:"config"`
	ServerChan *ServerChan `yaml:"serverChan"`
}

func Init

func Init(path string) (*Conf, error)

type Config

type Config struct {
	Cookie    string `yaml:"cookie"`
	UserAgent string `yaml:"userAgent"`
}

type ServerChan

type ServerChan struct {
	SecretKey string `yaml:"secretKey"`
}

Jump to

Keyboard shortcuts

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