grpc

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCallOption added in v1.0.23

func NewCallOption(opts ...CallOption) []grpc.CallOption

func NewDialOption added in v1.0.23

func NewDialOption(opts ...DialOptionFunc) []grpc.DialOption

func NewServerOption added in v1.0.23

func NewServerOption(opts ...ServerOptionFunc) []grpc.ServerOption

func RegisterTools added in v1.0.23

func RegisterTools(s *grpc.Server)

Types

type CallOption added in v1.0.23

type CallOption struct{}

type CallOptionFunc added in v1.0.23

type CallOptionFunc func(*CallOption)

type DialOption added in v1.0.23

type DialOption struct{}

type DialOptionFunc added in v1.0.23

type DialOptionFunc func(*DialOption)

type Register added in v1.0.23

type Register struct {
	RegisterGRPC RegisterGRPC
	RegisterMux  RegisterMux
}

func NewRegister added in v1.0.23

func NewRegister(registerGRPC RegisterGRPC, registerMux RegisterMux) Register

type RegisterGRPC

type RegisterGRPC func(s *grpc.Server)

type RegisterMux added in v1.0.23

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

type ServerOption added in v1.0.23

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

type ServerOptionFunc added in v1.0.23

type ServerOptionFunc func(*ServerOption)

func ServerOptionLogger added in v1.0.25

func ServerOptionLogger(l logger.Logger) ServerOptionFunc

Directories

Path Synopsis
middleware
log

Jump to

Keyboard shortcuts

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