grpcweb

package
v0.0.0-...-dc0fecf Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcWebServer

type GrpcWebServer struct {
	StreamInterceptor grpc.StreamServerInterceptor
	UnaryInterceptor  grpc.UnaryServerInterceptor
	AllowedOrigins    []string
	AllowAllOrigins   bool

	WrappedGrpc *grpcweb.WrappedGrpcServer
	GrpcServer  *grpc.Server
}

func (*GrpcWebServer) Serve

func (server *GrpcWebServer) Serve() error

Serve start GrpcServer,GrpcWebServer with defined options

Jump to

Keyboard shortcuts

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