Documentation ¶
Overview ¶
Package http provides a micro rpc to http proxy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSingleHostProxy ¶
NewSingleHostProxy returns a router which sends requests to a single http backend
Types ¶
type Proxy ¶
type Proxy struct { options.Options // The http backend to call Endpoint string // contains filtered or unexported fields }
Proxy will proxy rpc requests as http POST requests. It is a server.Proxy
func (*Proxy) ProcessMessage ¶ added in v1.17.0
ProcessMessage handles incoming asynchronous messages
Click to show internal directories.
Click to hide internal directories.