Documentation ¶
Overview ¶
Package grpc is a grpc proxy built for the go-micro/server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Proxy ¶
type Proxy struct { // The client to use for outbound requests in the local network Client client.Client // Endpoint to route all calls to Endpoint string // contains filtered or unexported fields }
Proxy will transparently proxy requests to an endpoint. If no endpoint is specified it will call a service using the client.
func (*Proxy) ProcessMessage ¶
ProcessMessage acts as a message exchange and forwards messages to ongoing topics TODO: should we look at p.Endpoint and only send to the local endpoint? probably
func (*Proxy) ServeRequest ¶
ServeRequest honours the server.Router interface
Click to show internal directories.
Click to hide internal directories.