grpc-go-addons: gomodules.xyz/grpc-go-addons/endpoints Index | Files

package endpoints

import "gomodules.xyz/grpc-go-addons/endpoints"

Index

Package Files

gateway.go grpc.go

type GRPCRegistry Uses

type GRPCRegistry []*grpcHandler

func (GRPCRegistry) ApplyTo Uses

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

func (*GRPCRegistry) Register Uses

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

type ProxyRegistry Uses

type ProxyRegistry []*proxyHandler

func (ProxyRegistry) ApplyTo Uses

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

func (*ProxyRegistry) Register Uses

func (r *ProxyRegistry) Register(fn RegisterProxyHandlerFunc)

type RegisterProxyHandlerFunc Uses

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

Package endpoints imports 7 packages (graph) and is imported by 3 packages. Updated 2019-07-13. Refresh now. Tools for package owners.