Documentation ¶
Index ¶
- type Client
- func (c *Client) GetTpuConfigs(opts ...grpc.CallOption) (*proto.GetTpuConfigsResponse, error)
- func (c *Client) NewPacketsSubscription(opts ...grpc.CallOption) (proto.Relayer_SubscribePacketsClient, error)
- func (c *Client) SubscribePackets(ctx context.Context) (<-chan []*solana.Transaction, <-chan error, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { GrpcConn *grpc.ClientConn Relayer proto.RelayerClient Auth *pkg.AuthenticationService ErrChan <-chan error // ErrChan is used for dispatching errors from functions executed within goroutines. }
func (*Client) GetTpuConfigs ¶
func (c *Client) GetTpuConfigs(opts ...grpc.CallOption) (*proto.GetTpuConfigsResponse, error)
func (*Client) NewPacketsSubscription ¶
func (c *Client) NewPacketsSubscription(opts ...grpc.CallOption) (proto.Relayer_SubscribePacketsClient, error)
Click to show internal directories.
Click to hide internal directories.