Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addresser ¶
type Addresser interface { GetMasterShards(address string) (map[int]bool, error) GetSlaveShards(address string) (map[int]bool, error) GetAllAddresses() ([]string, error) }
func NewDiscoveryAddresser ¶
func NewSingleAddresser ¶
type Dialer ¶
type Dialer interface { Dial(address string) (*grpc.ClientConn, error) Clean() error }
func NewDialer ¶
func NewDialer(opts ...grpc.DialOption) Dialer
Click to show internal directories.
Click to hide internal directories.