# Functions
Dial connects to an RPC server at the specified network address.
DialHTTP connects to an HTTP RPC server at the specified network address listening on the default HTTP RPC path.
DialHTTPPath connects to an HTTP RPC server at the specified network address and path.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewClient returns a new Client to handle requests to the set of services at the other end of the connection.
set call compress type.
set heart beat call.
set call serialize type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Closest is selecting the closest server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConsistentHash is selecting by hashing.
No description provided by the author
Defaults used by HandleHTTP.
Failbackup select another server if the first server doesn't respon in specified time and use the fast response.
Failfast returns error immediately.
Failover selects another server automaticaly.
Failtry use current client again.
RandomSelect is selecting randomly.
RoundRobin is selecting by round robin.
SelectByUser is selecting by implementation of users.
WeightedICMP is selecting by weighted Ping time.
WeightedRoundRobin is selecting by weighted round robin.
# Structs
No description provided by the author
Call represents an active RPC.
No description provided by the author
No description provided by the author
No description provided by the author
Client represents an RPC Client.
# Interfaces
No description provided by the author
# Type aliases
call set function.
client set function.
No description provided by the author
FailMode decides how clients action when clients fail to invoke services.
SelectMode defines the algorithm of selecting a services from candidates.
ServerError represents an error that has been returned from the remote side of the RPC connection.