endpoints

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCRegistry

type GRPCRegistry []*grpcHandler

func (GRPCRegistry) ApplyTo

func (r GRPCRegistry) ApplyTo(srv *grpc.Server) error

func (*GRPCRegistry) Register

func (r *GRPCRegistry) Register(fn, server interface{})

type ProxyRegistry

type ProxyRegistry []*proxyHandler

func (ProxyRegistry) ApplyTo

func (r ProxyRegistry) ApplyTo(mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error

func (*ProxyRegistry) Register

func (r *ProxyRegistry) Register(fn RegisterProxyHandlerFunc)

type RegisterProxyHandlerFunc

type RegisterProxyHandlerFunc func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

Jump to

Keyboard shortcuts

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