Documentation ¶
Index ¶
Constants ¶
View Source
const (
GasPadFactor = 2.0
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BroadcastResult ¶
type Broadcaster ¶
type Broadcaster interface { Broadcast(ctx context.Context) ([]BroadcastResult, error) Hook(bcast script.Broadcast) }
func NoopBroadcaster ¶
func NoopBroadcaster() Broadcaster
type KeyedBroadcaster ¶
type KeyedBroadcaster struct {
// contains filtered or unexported fields
}
func NewKeyedBroadcaster ¶
func NewKeyedBroadcaster(cfg KeyedBroadcasterOpts) (*KeyedBroadcaster, error)
func (*KeyedBroadcaster) Broadcast ¶
func (t *KeyedBroadcaster) Broadcast(ctx context.Context) ([]BroadcastResult, error)
func (*KeyedBroadcaster) Hook ¶
func (t *KeyedBroadcaster) Hook(bcast script.Broadcast)
Click to show internal directories.
Click to hide internal directories.