gateway

package
v0.0.0-...-cf30522 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(ctx context.Context, service *GatewayService) error

Types

type GatewayService

type GatewayService struct {
	Mux       *http.ServeMux
	Server    *http.Server
	ServeOpts []runtime.ServeMuxOption
	DialOpts  []grpc.DialOption
}

func (*GatewayService) RegisterGatewayHandlers

func (s *GatewayService) RegisterGatewayHandlers(ctx context.Context) error

func (*GatewayService) RegisterHealthzHandler

func (s *GatewayService) RegisterHealthzHandler(ctx context.Context) error

Jump to

Keyboard shortcuts

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