pass_through

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 3 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 ...api.Handler)

func DeleteCommonPassThrough

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

func DeletePassThrough

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

func Get

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

func GetCommonPassThrough

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

func GetPassThrough

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

func Post

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

func PostCommonPassThrough

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

func PostPassThrough

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

func Put

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

func PutCommonPassThrough

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

func PutPassThrough

func PutPassThrough(builder *gateway.Builder, params *SimpleOnePassThroughParams, middlewares ...api.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.BuilderRequest
	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.BuilderRequest
}

Jump to

Keyboard shortcuts

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