http

package
v0.0.0-...-cb92cc7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint interface {
	Path() string
	ServeHTTPEx(writer http.ResponseWriter, request *http.Request, interceptors interceptor.Interceptors)
	selector.Rebalancer
	io.Closer
}

type ErrorWriter

type ErrorWriter interface {
	Write(writer http.ResponseWriter, status int, err error)
}

func NewErrorWriter

func NewErrorWriter() ErrorWriter

type Server

type Server interface {
	Listen(host string) error
	io.Closer
}

type Transport

type Transport interface {
	http.RoundTripper
	io.Closer
}

func NewTransport

func NewTransport() Transport

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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