test_util

package
v0.0.0-...-b56afce Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2016 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDumpFitting

func CreateDumpFitting(config interface{}) (pipeline.Fitting, error)

export function to create the fitting

func NewFittingFromHandlers

func NewFittingFromHandlers(id string, reqHandler http.HandlerFunc, resHandler pipeline.ResponseHandlerFunc) pipeline.FittingWithID

NewFittingFromHandlers creates a fitting from a request and response handler

func TestPipelineAgainst

func TestPipelineAgainst(newGateway NewGatewayFunc) bool

func TestPipelineSocketUpgradesAgainst

func TestPipelineSocketUpgradesAgainst(newGateway NewGatewayFunc) bool

only tested in go_gateway, not ext_gateway

Types

type NewGatewayFunc

type NewGatewayFunc func(string, []http.HandlerFunc, []ResponseHandlerFunc) *httptest.Server

Jump to

Keyboard shortcuts

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