Documentation
¶
Index ¶
- func GetClient(service string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
- func NewClient(service string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
- func SetLog(log logger.Logger)
- func WithDefaultClientStreamInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
- func WithDefaultClientUnaryInterceptors(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
- type CallOption
- type ClientConn
- type ClientStream
- type EmptyServerOption
- type EndPoints
- type Server
- type ServerOption
- type StreamDesc
- type StreamServerInterceptor
- type Streamer
- type UnaryInvoker
- type UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(service string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
func NewClient ¶
func NewClient(service string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
func WithDefaultClientStreamInterceptors ¶
func WithDefaultClientStreamInterceptors(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption
func WithDefaultClientUnaryInterceptors ¶
func WithDefaultClientUnaryInterceptors(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption
Types ¶
type CallOption ¶
type CallOption = grpc.CallOption
type ClientConn ¶
type ClientConn = grpc.ClientConn
type ClientStream ¶
type ClientStream = grpc.ClientStream
type EmptyServerOption ¶
type EmptyServerOption = grpc.EmptyServerOption
type ServerOption ¶
type ServerOption = grpc.ServerOption
type StreamDesc ¶
type StreamDesc = grpc.StreamDesc
type StreamServerInterceptor ¶
type StreamServerInterceptor = grpc.StreamServerInterceptor
type UnaryInvoker ¶
type UnaryInvoker = grpc.UnaryInvoker
type UnaryServerInterceptor ¶
type UnaryServerInterceptor = grpc.UnaryServerInterceptor
Directories
¶
Path | Synopsis |
---|---|
balancer
|
|
Package registry is an interface for service discovery
|
Package registry is an interface for service discovery |
etcdv3
copy from go-plugins/registry/etcdv3 Package etcdv3 provides an etcd version 3 registry
|
copy from go-plugins/registry/etcdv3 Package etcdv3 provides an etcd version 3 registry |
Click to show internal directories.
Click to hide internal directories.