Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { ID int64 `json:"id"` FundingTxid string `json:"funding_txid"` OutputIndex int64 `json:"output_index"` NodeID int64 `json:"node_id"` }
Channel is a Lightning Channel
type MultiChannelBackup ¶
type MultiChannelBackup struct { ID int64 `json:"id"` CreatedAt time.Time `json:"created_at"` Backup string `json:"backup"` NodeID int64 `json:"node_id"` }
MultiChannelBackup is an encrypted backup of a lightning channel state
type Node ¶
type Node struct { ID int64 `json:"id"` URL string `json:"url"` Alias string `json:"alias"` Pubkey string `json:"pubkey"` Macaroon string `json:"macaroon"` TLSCert string `json:"tls_cert"` UserID int64 `json:"user_id"` }
Node is a Lightning Node
type User ¶
type User struct { ID int64 `json:"id"` Email string `json:"email"` Password string `json:"password"` PhoneNumber string `json:"phone_number"` SmsEnabled bool `json:"sms_enabled"` SmsLastSent time.Time `json:"sms_last_sent"` SmsNotifyTime time.Time `json:"sms_notify_time"` }
User is a nodewatcher user
Click to show internal directories.
Click to hide internal directories.