Documentation ¶
Index ¶
- type Client
- type Conn
- func (conn *Conn) Close()
- func (conn *Conn) Connect(url string) (err error)
- func (conn *Conn) EnqueueRPC(ctx context.Context, method string, content []byte)
- func (conn *Conn) RequestRPC(ctx context.Context, method string, content []byte) (b types.RpcRawResponse, err error)
- func (conn *Conn) Status() bool
- type Connectionner
- type ReConn
- type RespCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ValidateBlock ¶
func (*Client) ValidateBlockV2 ¶
type Conn ¶
type Conn struct { Done chan struct{} // contains filtered or unexported fields }
func (*Conn) EnqueueRPC ¶
func (*Conn) RequestRPC ¶
type Connectionner ¶
type ReConn ¶
type ReConn struct {
// contains filtered or unexported fields
}
func (*ReConn) KeepConnection ¶
type RespCache ¶
type RespCache struct {
// contains filtered or unexported fields
}
func NewRespCache ¶
func NewRespCache() *RespCache
func (*RespCache) PoolGet ¶
func (rc *RespCache) PoolGet() (ch chan types.RpcRawResponse)
func (*RespCache) PoolPut ¶
func (rc *RespCache) PoolPut(ch chan types.RpcRawResponse)
Click to show internal directories.
Click to hide internal directories.