config

package
v0.0.0-...-de73faa Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 1 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 {
	Server struct {
		Port     string
		YPPrefix string
		LogPath  string
		Debug    bool
	}
	Database struct {
		Host     string
		Port     string
		User     string
		Password string
		DB       string
	}
	Peercast struct {
		Host         string
		Port         string
		AuthType     string
		AuthUser     string
		AuthPassword string
	}
}

func FromFile

func FromFile(path string) (*Config, error)

func GetConfig

func GetConfig() *Config

Jump to

Keyboard shortcuts

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