Documentation ¶
Index ¶
- Constants
- type Challenge
- type Comment
- func (c *Comment) Content() string
- func (c *Comment) CreatedAt() time.Time
- func (c *Comment) DeletedAt() *time.Time
- func (c *Comment) Id() int64
- func (c *Comment) Image() *Image
- func (c *Comment) IsDeleted() bool
- func (c *Comment) RepliedToComment() *Comment
- func (c *Comment) SetRepliedToComment(comment *Comment)
- func (c *Comment) ThreadId() int64
- func (c *Comment) User() User
- func (c *Comment) Votes() int64
- type CommentParams
- type Events
- type Image
- type Log
- type Thread
- func (t *Thread) Comments() *[]Comment
- func (t *Thread) Content() string
- func (t *Thread) CreatedAt() time.Time
- func (t *Thread) DeletedAt() *time.Time
- func (t *Thread) Id() int64
- func (t *Thread) Image() *Image
- func (t *Thread) IsDeleted() bool
- func (t *Thread) SetComments(comments *[]Comment)
- func (t *Thread) Title() string
- func (t *Thread) User() User
- func (t *Thread) Votes() int64
- type ThreadParams
- type Transfer
- type User
- type UserParams
- type Vote
- type VoteType
- type VoteValue
Constants ¶
View Source
const CHALLENGE_MESSAGE string = `` /* 144-byte string literal not displayed */
the message that will be presented to the user in their wallet when signing
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Challenge ¶
type Challenge struct {
// contains filtered or unexported fields
}
func GenerateChallenge ¶
func NewChallenge ¶
type Comment ¶
type Comment struct {
// contains filtered or unexported fields
}
func NewComment ¶
func NewComment(params CommentParams) Comment
func (*Comment) RepliedToComment ¶
func (*Comment) SetRepliedToComment ¶
type CommentParams ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (Image) FormattedContentType ¶
func (Image) FormattedURL ¶
func (Image) OriginalContentType ¶
func (Image) OriginalURL ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (Log) BlockNumber ¶
func (Log) TransactionId ¶
type Thread ¶
type Thread struct {
// contains filtered or unexported fields
}
func NewThread ¶
func NewThread(params ThreadParams) Thread
func (*Thread) SetComments ¶
type ThreadParams ¶
type Transfer ¶
type Transfer struct {
// contains filtered or unexported fields
}
func NewTransfer ¶
func (Transfer) FromAddress ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func NewUser ¶
func NewUser(params UserParams) User
func (*User) Reputation ¶
type UserParams ¶
Click to show internal directories.
Click to hide internal directories.