Documentation
¶
Index ¶
Constants ¶
View Source
const HashSizeBytes = 32
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockHash ¶
type BlockHash [HashSizeBytes]byte
type DiamondEntry ¶
type Post ¶
type Post struct {
PostHashHex string
PosterPublicKeyBase58Check string
ParentStakeID string
Body string
PostExtraData PostExtraData
ImageURLs []string
TimestampNanos int64
ProfileEntryResponse ProfileEntryResponse
LikeCount int64
Comments []Post
RecloutedPostEntryResponse *Post
CommentCount int64
RecloutCount int64
}
type PostEntry ¶
type PostEntry struct {
PostHash *BlockHash
PosterPublicKey []byte
ParentStakeID []byte
Body []byte
RecloutedPostHash *BlockHash
IsQuotedReclout bool
CreatorBasisPoints uint64
StakeMultipleBasisPoints uint64
ConfirmationBlockHeight uint32
TimestampNanos uint64
IsHidden bool
StakeEntry *StakeEntry
LikeCount uint64
RecloutCount uint64
QuoteRecloutCount uint64
DiamondCount uint64
CommentCount uint64
IsPinned bool
PostExtraData map[string][]byte
// contains filtered or unexported fields
}
type PostExtraData ¶
type PostExtraData struct {
EmbedVideoURL string
}
type PostsStateless ¶
type PostsStateless struct {
PostsFound []Post
}
type ProfileEntry ¶
type ProfileEntryResponse ¶
type SingleProfile ¶
type SingleProfile struct {
Profile ProfileEntryResponse
}
type StakeEntry ¶
type StakeEntry struct {
}
type StakeEntryStats ¶
type StakeEntryStats struct {
}
Click to show internal directories.
Click to hide internal directories.