Documentation
¶
Index ¶
- type Params
- type RetryClient
- func (client *RetryClient) Call(serviceMethod string) (*srpc.Conn, error)
- func (client *RetryClient) Close() error
- func (client *RetryClient) Ping() error
- func (client *RetryClient) RequestReply(serviceMethod string, request interface{}, reply interface{}) error
- func (client *RetryClient) SetKeepAlive(keepAlive bool) error
- func (client *RetryClient) SetKeepAlivePeriod(d time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryClient ¶
type RetryClient struct {
// contains filtered or unexported fields
}
func DialHTTP ¶
func DialHTTP(params Params) (*RetryClient, error)
func (*RetryClient) Call ¶
func (client *RetryClient) Call(serviceMethod string) (*srpc.Conn, error)
func (*RetryClient) Close ¶
func (client *RetryClient) Close() error
func (*RetryClient) Ping ¶
func (client *RetryClient) Ping() error
func (*RetryClient) RequestReply ¶
func (client *RetryClient) RequestReply(serviceMethod string, request interface{}, reply interface{}) error
func (*RetryClient) SetKeepAlive ¶
func (client *RetryClient) SetKeepAlive(keepAlive bool) error
func (*RetryClient) SetKeepAlivePeriod ¶
func (client *RetryClient) SetKeepAlivePeriod(d time.Duration) error
Click to show internal directories.
Click to hide internal directories.