Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConnMap map[string]Pool NodeMap map[string]*fs.ServerNode )
View Source
var ClosedErr = errors.New("grpc pool has closed")
Functions ¶
func LoadLeastNode ¶
Types ¶
type Builder ¶
type Builder func() (*grpc.ClientConn, error)
type ClientConn ¶
type ClientConn interface { grpc.ClientConnInterface // contains filtered or unexported methods }
type Conn ¶
type Conn interface { Conn() ClientConn // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.