grpcWeb

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "grpc-web"

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func New

func New(name string) Builder

func (*Builder) Build

func (t *Builder) Build(cfg *Cfg, srv *grpc.Server) error

func (*Builder) Get

func (t *Builder) Get() *http.Server

type Cfg

type Cfg struct {
	Prefix string
}

func GetDefaultCfg

func GetDefaultCfg() *Cfg

type Middleware

type Middleware func(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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