config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 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 Application

type Application struct {
	Debug          bool                 `json:"debug,omitempty"`
	HTTP           configHTTP           `json:"http,omitempty"`
	SentryDSN      string               `json:"sentry_dsn,omitempty"`
	NotifyTelegram configNotifyTelegram `json:"notify_telegram"`
}

Application settings

func Parse

func Parse(path string) (Application, error)

Parse parses config from file

Jump to

Keyboard shortcuts

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