config

package
v0.0.0-...-1c6158b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportConfig

func ExportConfig() error

func ImportConfig

func ImportConfig(path string) error

Types

type Config

type Config struct {
	Generate map[string]Generate_config `yaml:"Generate"`
	Stream   Stream_config              `yaml:"Stream"`
}

func GetConfig

func GetConfig() Config

type Generate_config

type Generate_config struct {
	Common     string `yaml:"Common"`
	AnyfileDir string `yaml:"AnyfileDir"`
	ExportDir  string `yaml:"ExportDir"`
}

type Stream_config

type Stream_config struct {
	Enable      bool     `yaml:"Enable"`
	Bind        string   `yaml:"Bind"`
	Stream_Conf []string `yaml:"Stream_conf"`
}

Jump to

Keyboard shortcuts

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