You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lntop/events/events.go

21 lines
391 B
Go

package events
const (
5 years ago
PeerUpdated = "peer.updated"
BlockReceived = "block.received"
InvoiceCreated = "invoice.created"
InvoiceSettled = "invoice.settled"
ChannelPending = "channel.pending"
ChannelActive = "channel.active"
ChannelInactive = "channel.inactive"
)
type Event struct {
Type string
ID string
}
func New(kind string) *Event {
return &Event{Type: kind}
}