pass_through

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(builder *gateway.Builder, params *SimplePassThroughParams, middlewares ...gateway.Handler)

func DeleteCommonPassThrough

func DeleteCommonPassThrough(builder *gateway.Builder, params *SimpleCommonPassThroughParams, middlewares ...gateway.Handler)

func DeletePassThrough

func DeletePassThrough(builder *gateway.Builder, params *SimpleOnePassThroughParams, middlewares ...gateway.Handler)

func Get

func Get(builder *gateway.Builder, params *SimplePassThroughParams, middlewares ...gateway.Handler)

func GetCommonPassThrough

func GetCommonPassThrough(builder *gateway.Builder, params *SimpleCommonPassThroughParams, middlewares ...gateway.Handler)

func GetPassThrough

func GetPassThrough(builder *gateway.Builder, params *SimpleOnePassThroughParams, middlewares ...gateway.Handler)

func Post

func Post(builder *gateway.Builder, params *SimplePassThroughParams, middlewares ...gateway.Handler)

func PostCommonPassThrough

func PostCommonPassThrough(builder *gateway.Builder, params *SimpleCommonPassThroughParams, middlewares ...gateway.Handler)

func PostPassThrough

func PostPassThrough(builder *gateway.Builder, params *SimpleOnePassThroughParams, middlewares ...gateway.Handler)

func Put

func Put(builder *gateway.Builder, params *SimplePassThroughParams, middlewares ...gateway.Handler)

func PutCommonPassThrough

func PutCommonPassThrough(builder *gateway.Builder, params *SimpleCommonPassThroughParams, middlewares ...gateway.Handler)

func PutPassThrough

func PutPassThrough(builder *gateway.Builder, params *SimpleOnePassThroughParams, middlewares ...gateway.Handler)

Types

type CommonPassThroughParams

type CommonPassThroughParams struct {
	HttpMethod string
	*SimpleCommonPassThroughParams
}

type OnePassThroughParams

type OnePassThroughParams struct {
	HttpMethod string
	*SimpleOnePassThroughParams
}

type PassThroughParams

type PassThroughParams struct {
	HttpMethod string
	*SimplePassThroughParams
}

type PassThroughRequestItem

type PassThroughRequestItem struct {
	Request                 gateway.Request
	RequestResponseCallback gateway.RequestResponseCallback
}

type SimpleCommonPassThroughParams

type SimpleCommonPassThroughParams struct {
	RelativePath string
	RequestItems []PassThroughRequestItem
}

type SimpleOnePassThroughParams

type SimpleOnePassThroughParams struct {
	RelativePath string
	RequestItem  *PassThroughRequestItem
}

type SimplePassThroughParams

type SimplePassThroughParams struct {
	RelativePath string
	Request      gateway.Request
}

Jump to

Keyboard shortcuts

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