app

package
v0.0.0-...-c28ad0a Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func Setup

func Setup(env goenv.EnvReader) (*App, error)

func (*App) Run

func (app *App) Run() error

type Config

type Config struct {
}

func NewConfig

func NewConfig(env goenv.EnvReader) *Config

type ServerMeta

type ServerMeta struct {
	BuildTime time.Time `env:"BUILD_TIME" json:"build-time"`
	GHash     string    `env:"GHASH" json:"ghash"`
	Version   string    `env:"VERSION" json:"version"`
}

func MustGetServerMeta

func MustGetServerMeta(env goenv.EnvReader) *ServerMeta

Jump to

Keyboard shortcuts

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