Documentation ¶
Overview ¶
Package backend implements common proxy backends satisfying proxy.Backend interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
Local implements local backend (proxying one2one to local service).
func (*Local) AppendInfo ¶
AppendInfo is called to enhance response from the backend with additional data.
func (*Local) BuildError ¶
BuildError is called to convert error from upstream into response field.
func (*Local) GetConnection ¶
GetConnection returns a grpc connection to the backend.
Click to show internal directories.
Click to hide internal directories.