Documentation
¶
Index ¶
- func CreateDumpFitting(config interface{}) (pipeline.Fitting, error)
- func NewFittingFromHandlers(id string, reqHandler http.HandlerFunc, ...) pipeline.FittingWithID
- func TestPipelineAgainst(newGateway NewGatewayFunc) bool
- func TestPipelineSocketUpgradesAgainst(newGateway NewGatewayFunc) bool
- type NewGatewayFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDumpFitting ¶
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
Click to show internal directories.
Click to hide internal directories.