senddata

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderKey = "Gitlab-Workhorse-Send-Data"

Variables

This section is empty.

Functions

func SendData added in v0.6.5

func SendData(h http.Handler, injecters ...Injecter) http.Handler

Types

type Injecter added in v0.6.5

type Injecter interface {
	Match(string) bool
	Inject(http.ResponseWriter, *http.Request, string)
}

type Prefix added in v0.6.5

type Prefix string

func (Prefix) Match added in v0.6.5

func (p Prefix) Match(s string) bool

func (Prefix) Unpack added in v0.6.5

func (p Prefix) Unpack(result interface{}, sendData string) error

Jump to

Keyboard shortcuts

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