mirror of https://github.com/edouardparis/lntop
network: GetNode
parent
69f9a203fa
commit
b763317014
@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue