Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventPublisher ¶
func NewEventPublisher() *eventPublisher
Types ¶
type ChannelBackupEvent ¶
type ChannelBackupEvent struct {
Channels []ChannelBackupInfo `json:"channels"`
}
type ChannelBackupInfo ¶
type Event ¶
type Event struct {
Event string `json:"event"`
Properties interface{} `json:"properties,omitempty"`
}
type EventPublisher ¶
type EventPublisher interface {
RegisterSubscriber(eventListener EventSubscriber)
RemoveSubscriber(eventListener EventSubscriber)
Publish(event *Event)
SetGlobalProperty(key string, value interface{})
}
type EventSubscriber ¶
type PaymentFailedAsyncProperties ¶ added in v1.3.0
type PaymentFailedAsyncProperties struct {
Transaction *lnclient.Transaction
Reason string
}
Click to show internal directories.
Click to hide internal directories.