proxy

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSessionTransport

type CreateSessionTransport struct {
	IsSuccess bool
	Error     error
	// contains filtered or unexported fields
}

func NewCreateSessionTransport

func NewCreateSessionTransport(pool *pool.Pool, node *pool.Node) *CreateSessionTransport

func (*CreateSessionTransport) RoundTrip

func (t *CreateSessionTransport) RoundTrip(request *http.Request) (*http.Response, error)

type ResponseWriter

type ResponseWriter struct {
	StatusCode int
	Output     []byte
	// contains filtered or unexported fields
}

func NewResponseWriter

func NewResponseWriter() *ResponseWriter

func (*ResponseWriter) Header

func (rw *ResponseWriter) Header() http.Header

func (*ResponseWriter) Write

func (rw *ResponseWriter) Write(bytes []byte) (int, error)

func (*ResponseWriter) WriteHeader

func (rw *ResponseWriter) WriteHeader(i int)

Source Files

  • response.go
  • transport.go

Jump to

Keyboard shortcuts

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