internalapi

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TokenURL = "https://%s/v1/remoteenvironments/%s/info?token=%s"

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(handler TokenHandler) http.Handler

Types

type TokenHandler

type TokenHandler interface {
	CreateToken(w http.ResponseWriter, r *http.Request)
}

func NewTokenHandler

func NewTokenHandler(tokenGenerator tokens.TokenGenerator, host string) TokenHandler

Jump to

Keyboard shortcuts

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