Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forum ¶
type Forum struct {
Posts uint64 `json:"posts,omitempty"`
Slug string `json:"slug"`
Threads uint32 `json:"threads,omitempty"`
Title string `json:"title"`
User string `json:"user"`
}
func (*Forum) MarshalBinary ¶
MarshalBinary interface implementation
func (*Forum) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ForumsArray ¶
type ForumsArray []Forum
type Post ¶
type Post struct {
Author string `json:"author"`
Created string `json:"created,omitempty"`
Forum string `json:"forum,omitempty"`
ID uint64 `json:"id,omitempty"`
IsEdited bool `json:"isEdited,omitempty"`
Message string `json:"message"`
Parent uint64 `json:"parent,omitempty"`
Thread uint64 `json:"thread,omitempty"`
Path []uint64 `json:",omitempty"`
}
func (*Post) MarshalBinary ¶
MarshalBinary interface implementation
func (*Post) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PostDateTime ¶
type PostsArray ¶
type PostsArray []Post
type Thread ¶
type Thread struct {
Author string `json:"author"`
Created string `json:"created,omitempty"`
Forum string `json:"forum,omitempty"`
ID uint64 `json:"id,omitempty"`
Message string `json:"message"`
Slug string `json:"slug,omitempty"`
Title string `json:"title"`
Votes int64 `json:"votes,omitempty"`
}
func (*Thread) MarshalBinary ¶
MarshalBinary interface implementation
func (*Thread) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ThreadsArray ¶
type ThreadsArray []Thread
type User ¶
type User struct {
About string `json:"about"`
Email string `json:"email"`
Fullname string `json:"fullname"`
Nickname string `json:"nickname"`
}
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UsersArray ¶
type UsersArray []User
type Vote ¶
func (*Vote) MarshalBinary ¶
MarshalBinary interface implementation
func (*Vote) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.