Documentation ¶
Index ¶
- type Client
- func (c *Client) GetTpuConfigs(opts ...grpc.CallOption) (*proto.GetTpuConfigsResponse, error)
- func (c *Client) HandlePacketsSubscription(chTx chan []*solana.Transaction, chErr chan error) (proto.Relayer_SubscribePacketsClient, error)
- func (c *Client) SubscribePackets(opts ...grpc.CallOption) (proto.Relayer_SubscribePacketsClient, 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 GrpcErrChan chan error Auth *pkg.AuthenticationService Relayer proto.RelayerClient }
func NewRelayerClient ¶
func (*Client) GetTpuConfigs ¶
func (c *Client) GetTpuConfigs(opts ...grpc.CallOption) (*proto.GetTpuConfigsResponse, error)
func (*Client) HandlePacketsSubscription ¶
func (c *Client) HandlePacketsSubscription(chTx chan []*solana.Transaction, chErr chan error) (proto.Relayer_SubscribePacketsClient, error)
func (*Client) SubscribePackets ¶
func (c *Client) SubscribePackets(opts ...grpc.CallOption) (proto.Relayer_SubscribePacketsClient, error)
Click to show internal directories.
Click to hide internal directories.