Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProofGenerator ¶
func ProofGenerator(ctx context.Context) *polygon.ProofGenerator
func UnsubscribeAll ¶
func UnsubscribeAll()
UnsubscribeAll closes all the client subscriptions and empties their global subscription channel
Types ¶
type Subscription ¶
type Subscription struct { Client *rpc.Client ClientSub *rpc.ClientSubscription Name requests.SubMethod SubChan chan interface{} }
Subscription houses the client subscription, name and channel for its delivery
func GetSubscription ¶
func GetSubscription(chainName string, method requests.SubMethod) *Subscription
func NewSubscription ¶
func NewSubscription(name requests.SubMethod) *Subscription
NewSubscription returns a new Subscription instance
Click to show internal directories.
Click to hide internal directories.