middlerware

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPCMixHandler

func GRPCMixHandler(h http.Handler, grpc *grpc.Server, opts ...GRPCMixOption) http.Handler

GRPCMixHandler mix grpc and http in one Handler

Types

type GRPCMixOption

type GRPCMixOption func(*GRPCMixOptions)

GRPCMixOption the Option of GRPC Mix

func GRPCMixWithServer

func GRPCMixWithServer(s *http2.Server) GRPCMixOption

type GRPCMixOptions

type GRPCMixOptions struct {
	// contains filtered or unexported fields
}

GRPCMixOptions the Options of GRPC Mix

Jump to

Keyboard shortcuts

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