Documentation
¶
Index ¶
- Constants
- type BlockHash
- type CoinEntry
- type DiamondEntry
- type HODLerThing
- type Hodler
- type HodlersWrap
- type LikeEntry
- type Message
- type MessageList
- type MessageThing
- type PKID
- type Post
- type PostEntry
- type PostExtraData
- type PostStateless
- type PostsStateless
- type ProfileEntry
- type ProfileEntryResponse
- type PublicKeyToProfileEntry
- type Rate
- type RecloutEntry
- type SingleProfile
- type StakeEntry
- type StakeEntryStats
- type TxReady
- type User
- type UsersStateless
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 HODLerThing ¶ added in v0.0.6
type HODLerThing struct {
HODLerPublicKeyBase58Check string
CreatorPublicKeyBase58Check string
HasPurchased bool
BalanceNanos int64
ProfileEntryResponse ProfileEntryResponse
}
type Hodler ¶ added in v0.0.9
type Hodler struct {
HODLerPublicKeyBase58Check string
BalanceNanos int64
ProfileEntryResponse ProfileEntryResponse
}
type HodlersWrap ¶ added in v0.0.9
type HodlersWrap struct {
Hodlers []Hodler
}
type MessageList ¶ added in v0.0.5
type MessageList struct {
NumberOfUnreadThreads int64
OrderedContactsWithMessages []MessageThing
PublicKeyToProfileEntry map[string]ProfileEntryResponse
UnreadStateByContact map[string]bool
}
type MessageThing ¶ added in v0.0.5
type Post ¶
type Post struct {
PostHashHex string
PosterPublicKeyBase58Check string
ParentStakeID string
Body string
PostExtraData PostExtraData
ImageURLs []string
TimestampNanos int64
ProfileEntryResponse ProfileEntryResponse
LikeCount int64
DiamondCount uint64
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 PostStateless ¶ added in v0.0.11
type PostStateless struct {
PostFound Post
}
type PostsStateless ¶
type PostsStateless struct {
PostsFound []Post
}
type ProfileEntry ¶
type ProfileEntryResponse ¶
type PublicKeyToProfileEntry ¶ added in v0.0.6
type PublicKeyToProfileEntry struct {
PublicKeyToProfileEntry map[string]ProfileEntryResponse
NumFollowers int64
}
type RecloutEntry ¶ added in v0.0.7
type SingleProfile ¶
type SingleProfile struct {
Profile ProfileEntryResponse
}
type StakeEntry ¶
type StakeEntry struct {
}
type StakeEntryStats ¶
type StakeEntryStats struct {
}
type User ¶ added in v0.0.6
type User struct {
PublicKeyBase58Check string
ProfileEntryResponse ProfileEntryResponse
BalanceNanos int64
UsersYouHODL []HODLerThing
}
type UsersStateless ¶ added in v0.0.6
type UsersStateless struct {
UserList []User
}
Click to show internal directories.
Click to hide internal directories.