package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 25, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type NodeInfo struct {
VN vn.ID `json:"vn"`
SP sp.ID `json:"sp"`
PeerID string `json:"peer_id"`
IP string `json:"ip"`
LST int64 `json:"lst"`
}
type NodeLoadReq struct {
VN vn.ID `json:"vn"`
Page *load.Page `json:"page"`
}
type NodeLoadResp struct {
Paging *load.Paging `json:"paging"`
Items []*NodeInfo `json:"items"`
}
type PingReq struct {
VN vn.ID `json:"vn"`
SP sp.ID `json:"sp"`
PeerID string `json:"peer_id"`
}
type PingResp struct {
Timestamp int64 `json:"timestamp"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.