v1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResponseDetail

func NewResponseDetail(response *http.Response, body []byte) *dudu.ResponseDetail

NewResponseDetail returns new dudu.ResponseDetail.

Types

type ProxySrv

type ProxySrv interface {

	// FetchRemoteResponse get response from remote web
	FetchRemoteResponse(c *dudu.Context)
}

ProxySrv proxy service interface.

type Service

type Service interface {
	Proxy() ProxySrv
}

Service defines functions used to return resource interface.

func NewService

func NewService(transport transport.Factory) Service

NewService returns Service interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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