conf

package
v0.0.0-...-1889e68 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 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 Config

type Config struct {
	Web  WebConfig `yaml:"web"`
	Serv Server    `yaml:"server"`
}

func GetConf

func GetConf() *Config

type Server

type Server struct {
	Port string `yaml:"port"`
}

type WebConfig

type WebConfig struct {
	Path      string `yaml:"path"`
	UploadDir string `yaml:"uploadDir"`
}

Jump to

Keyboard shortcuts

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