gateway

package
v0.0.0-...-fec0d50 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGateway

func NewGateway(ctx context.Context, conn *grpc.ClientConn, opts []runtime.ServeMuxOption) (http.Handler, error)

func Run

func Run(ctx context.Context, opts Options) error

Types

type Endpoint

type Endpoint struct {
	Network, Addr string
}

type Options

type Options struct {
	Addr string

	GRPCServer Endpoint

	OpenAPIDir string

	Mux []runtime.ServeMuxOption
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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