Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type GRPCWebServer ¶
type GRPCWebServer struct {
// contains filtered or unexported fields
}
func NewGRPCWebServer ¶
func NewGRPCWebServer(server *grpc.Server) *GRPCWebServer
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New(c Configuration) *Server
type WebMiddleware ¶
type WebMiddleware struct {
*grpcweb.WrappedGrpcServer
}
WebMiddleware to handle gRPC calls from browser. It is also able to isolate REST traffic and handle it accordingly
func NewGrpcWebMiddleware ¶
func NewGrpcWebMiddleware(grpcWeb *grpcweb.WrappedGrpcServer) *WebMiddleware
Click to show internal directories.
Click to hide internal directories.