package
Version:
v0.0.0-...-95106c8
Opens a new window with list of versions in this module.
Published: May 23, 2019
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AccountTokenTransfer struct {
Txns []models.TokenTransfer `bson:"txns" json:"txns"`
Total int `bson:"total" json:"total"`
}
type AccountTxn struct {
Txns []models.Transaction `bson:"txns" json:"txns"`
Total int `bson:"total" json:"total"`
}
type ApiServer struct {
}
type BlockRes struct {
Blocks []models.Block `bson:"blocks" json:"blocks"`
Total int `bson:"total" json:"total"`
}
type Config struct {
Enabled bool `json:"enabled"`
Port string `json:"port"`
Nodemap struct {
Enabled bool `json:"enabled"`
Mode string `json:"mode"`
Geodb string `json:"mmdb"`
} `json:"nodemap"`
}
type Node struct {
Name string
Network struct {
LocalAddress string
RemoteAddress string
}
}
type Peer struct {
Enode string `json:"id"`
City []string `json:"city"`
LL []string `json:"lat_lng"`
}
type UncleRes struct {
Uncles []models.Uncle `bson:"uncles" json:"uncles"`
Total int `bson:"total" json:"total"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.