mirror of https://github.com/edouardparis/lntop
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.
18 lines
255 B
Go
18 lines
255 B
Go
5 years ago
|
package models
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type Node struct {
|
||
|
NumChannels uint32
|
||
|
TotalCapacity int64
|
||
|
LastUpdate time.Time
|
||
|
PubKey string
|
||
|
Alias string
|
||
|
Addresses []*NodeAddress
|
||
|
}
|
||
|
|
||
|
type NodeAddress struct {
|
||
|
Network string
|
||
|
Addr string
|
||
|
}
|