config

package
v0.0.0-...-b9966b1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package config provides server configuration for ssbd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(path string) error

LoadConfig loads a configuration file at path into CFG.

Types

type Config

type Config struct {
	Srv struct {
		DB          string
		Schema      string
		ResourceDir string
		ErrorLog    string
		AccessLog   string
		Listen      string
	}
}

Config represents the available configuration options for ssbd.

var CFG Config

CFG contains the currently active configuration.

Jump to

Keyboard shortcuts

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