Documentation ¶
Overview ¶
Package api provides API for chestnut.
Package api provides API for chestnut.
Index ¶
Constants ¶
View Source
const ERROR_INFO string = "error"
error
View Source
const GENESIS_BLOCK string = "genesis_block"
View Source
const GROUP_ID string = "group_id"
View Source
const GROUP_ITEM string = "group_item"
View Source
const GROUP_ITEMS string = "group_items"
View Source
const GROUP_NAME string = "group_name"
const name
View Source
const GROUP_OWNER_PUBKEY string = "owner_pubkey"
View Source
const NODETYPE string = "node_type"
View Source
const NODE_ID string = "node_id"
View Source
const NODE_PUBKEY string = "node_publickey"
View Source
const NODE_STATUS string = "node_status"
View Source
const NODE_VERSION string = "node_version"
View Source
const PEERS string = "peers"
View Source
const SIGNATURE string = "signature"
View Source
const TRX_ID string = "trx_id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupContentObjectItem ¶
type Handler ¶
type Handler struct { Ctx context.Context Appdb *appdata.AppDb Chaindb *storage.DbMgr Apiroot string GitCommit string ConfigDir string PeerName string NodeName string }
func (*Handler) ContentByPeers ¶
type SenderList ¶
type SenderList struct {
Senders []string
}
Click to show internal directories.
Click to hide internal directories.