config

package
v0.0.0-...-dd036bd Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = &AppConfig{}
View Source
var Cache = &CacheConfig{}

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	LogSavePath string
	LogSaveName string
	LogFileExt  string

	TimeFormat string
}

type CacheConfig

type CacheConfig struct {
	UseCache        bool
	UseSearchCache  bool
	UseMovieCache   bool
	UseTrailerCache bool
}

type Config

type Config struct {
	App   *AppConfig
	Cache *CacheConfig
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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