grpcgateway

package
v0.0.0-...-5d06168 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcHandler

type GrpcHandler struct {
	NatsConn *nats.Conn
	Config   *gwconfig.Config
	Logger   *slog.Logger
}

func NewGrpcHandler

func NewGrpcHandler(logger *slog.Logger, nc *nats.Conn, cfg *gwconfig.Config) *GrpcHandler

func (*GrpcHandler) HandleUnknownStream

func (h *GrpcHandler) HandleUnknownStream(srv interface{}, stream grpc.ServerStream) error

HandleUnknownStream intercepts gRPC requests for unregistered services.

Jump to

Keyboard shortcuts

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