http

package
v0.0.0-...-c322e10 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyHandler

func NewProxyHandler(e *echo.Echo, proxyUcaser proxy.Usecaser)

NewProxyHandler creates a ProxyHandler and sets up Echo’s router

Types

type ProxyHandler

type ProxyHandler struct {
	ProxyUcaser proxy.Usecaser
}

func (*ProxyHandler) Proxy

func (p *ProxyHandler) Proxy(c echo.Context) error

type ProxyInfo

type ProxyInfo struct {
	ProxyMethod string      `json:"proxy_method"`
	ProxyURL    string      `json:"proxy_url"`
	Data        interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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