web

package
v0.0.0-...-8c31c7c Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *Configuration)

Types

type Configuration

type Configuration struct {
	Hostname    string
	Listen      string
	UseHTTP     bool
	UseHTTPS    bool
	HTTPPort    int
	HTTPSPort   int
	CertFile    string
	KeyFile     string
	CredFile    string
	GoogleOAuth GoogleOAuthConfig
}

type GoogleOAuthConfig

type GoogleOAuthConfig struct {
	Secret          string
	SessionName     string
	OAuthClientId   string
	OAuthSecret     string
	SessionDuration time.Duration
}

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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