handlers

package
v0.0.0-...-f2e9bb5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGAEContext

func AddGAEContext(w http.ResponseWriter, r *http.Request)

func AddServices

func AddServices(opts ServicesOpts) http.HandlerFunc

assumes Session exists via:

mux.Sstore.AddSessionHandler("..."),

func GetEssentialHandlers

func GetEssentialHandlers() http.HandlerFunc

Types

type ServicesOpts

type ServicesOpts struct {
	UseDatastore bool
	UseUrlFetch  bool

	Namespace string
	AppID     string
	JWTPath   string
	APIKey    string

	// enable by default
	DisableDBICache bool
}

Jump to

Keyboard shortcuts

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