senddata

package
v8.5.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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