app

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCertLifeSpan = 24 * time.Hour * 365
)

Variables

View Source
var (
	E = Env{}
)
View Source
var (
	F = struct {
		CertificateLifeSpan time.Duration
		HTTPPort            int
		HTTPSPort           int
	}{}
)

Functions

func RegisterFlags

func RegisterFlags()

RegisterFlags creates flags.

func RunHTTPServer

func RunHTTPServer(ctx context.Context)

RunHTTPServer runs HTTP and HTTPS goroutines and blocks.

Types

type Env

type Env struct {
	Node      string
	Pod       string
	Namespace string
}

Jump to

Keyboard shortcuts

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