senddata

package
v4.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 6 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)
	Name() 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) Name

func (p Prefix) Name() string

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