rest

package
v0.0.0-...-837eb61 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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