package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 14, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DappRewardInfo struct {
Beneficiary string `json:"beneficiary"`
Reward uint64 `json:"reward"`
RelatedPostId uint64 `json:"postid"`
}
type PostInfo struct {
Id uint64 `json:"id"`
Created uint32 `json:"created"`
Author string `json:"author"`
Content string `json:"content"`
Title string `json:"title"`
Tags []string `json:"tags"`
}
type ReplyInfo struct {
Id uint64 `json:"id"`
Created uint32 `json:"created"`
Author string `json:"author"`
ParentId uint64 `json:"parentid"`
Content string `json:"content"`
}
type RewardInfo struct {
Beneficiary string `json:"beneficiary"`
Reward uint64 `json:"reward"`
PostId uint64 `json:"postid"`
}
type VoteInfo struct {
Voter string `json:"voter"`
PostId uint64 `json:"postid"`
Created uint32 `json:"created"`
VotePower string `json:"votepower"`
}
type VoteRewardInfo struct {
Beneficiary string `json:"beneficiary"`
Reward uint64 `json:"reward"`
VotePostId uint64 `json:"postid"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.