Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Spawn ¶
func Spawn(endpoint string, conf *serveropts.Opts) error
Spawn starts a gRPC REST Client listening on the provided port and host, it will forward the requests to the provided (gRPC Server) endpoint
You can start a client in a goroutine to work independently like: ``` go rest.Spawn("localhost", "2194", "my-grpc-server.example.com:2191") ```
Maybe even spawn multiple clients
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.