runtime

package
v0.0.0-...-8a4b4ed Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2016 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(ctx context.Context, target interface{}, val string) error

Decode decodes the specified val into the specified target.

Types

type Mux

type Mux struct {
	// contains filtered or unexported fields
}

Mux is a HTTP Server mux for go-kit based services.

func NewMux

func NewMux() *Mux

NewMux returns a new mux with a blank state.

func (*Mux) AddEndpoint

func (mux *Mux) AddEndpoint(method, pathSegments string, ep *kithttp.Server)

AddEndpoint adds the specified endpoint to the Mux.

func (*Mux) ServeHTTP

func (mux *Mux) ServeHTTP(wr http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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