config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2018 License: MIT Imports: 3 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 {
	Version       string
	Name          string
	Commit        string
	Date          string
	WD            string
	UpdateWorkers int
	SearchWorkers int
	Host          string
	Domains       string
	Standalone    bool
	DevMode       bool
	Ports         struct {
		HTTP  string
		HTTPS string
	}
}

Config contains global application information

func Setup

func Setup(version, commit, date string, dev bool) *Config

Setup creates, fills and returns the Config struct

Jump to

Keyboard shortcuts

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