Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGlobalBalancer ¶
SetGlobalBalancer set grpc balancer with scheme.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is grpc balancer builder.
type GofBuilder ¶
type GofBuilder struct {
// contains filtered or unexported fields
}
func (*GofBuilder) Build ¶
func (g *GofBuilder) Build(info base.PickerBuildInfo) gBalancer.Picker
type GofTrailer ¶
func (GofTrailer) Get ¶
func (g GofTrailer) Get(key string) string
type GrpcServer ¶
func NewGrpcServer ¶
func NewGrpcServer(addr string, mid ...grpc.UnaryServerInterceptor) *GrpcServer
type Picker ¶
type Picker struct {
// contains filtered or unexported fields
}
Picker is a grpc picker.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is a gRPC transport.
func (*Transport) ReplyHeader ¶
ReplyHeader returns the reply header.
func (*Transport) RequestHeader ¶
RequestHeader returns the request header.
Click to show internal directories.
Click to hide internal directories.