Documentation ¶
Index ¶
- func Dial(ctx context.Context) (forum.Forum, error)
- type Category
- func (c *Category) BgColor() [3]uint8
- func (c *Category) Description() string
- func (c *Category) FgColor() [3]uint8
- func (c *Category) ID() int64
- func (c *Category) Imported() map[forum.Forum]int64
- func (c *Category) Link() string
- func (c *Category) Name() string
- func (c *Category) Order() int
- func (c *Category) Parent() int64
- func (c *Category) Slug() string
- type Forum
- func (f *Forum) Categories(ctx context.Context) <-chan forum.Category
- func (f *Forum) Close() error
- func (f *Forum) Groups(ctx context.Context) <-chan forum.Group
- func (f *Forum) Posts(ctx context.Context) <-chan forum.Post
- func (f *Forum) SetPreviousForums(forums []forum.Forum)
- func (f *Forum) Topics(ctx context.Context) <-chan forum.Topic
- func (f *Forum) Users(ctx context.Context) <-chan forum.User
- func (f *Forum) Votes(ctx context.Context) <-chan forum.Vote
- type Group
- type Post
- type Topic
- type User
- func (u *User) Bio() string
- func (u *User) CreatedAt() time.Time
- func (u *User) DateOfBirth() pq.NullTime
- func (u *User) DisplayName() string
- func (u *User) Email() string
- func (u *User) ID() int64
- func (u *User) Imported() map[forum.Forum]int64
- func (u *User) LastSeen() pq.NullTime
- func (u *User) Location() string
- func (u *User) Login() string
- func (u *User) Signature() string
- func (u *User) Slug() string
- func (u *User) WebAddress() string
- type Vote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Category ¶
type Category struct {
// contains filtered or unexported fields
}
func (*Category) Description ¶
type Forum ¶
type Forum struct { // contains filtered or unexported fields }
func (*Forum) SetPreviousForums ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) DateOfBirth ¶
func (*User) DisplayName ¶
func (*User) WebAddress ¶
Click to show internal directories.
Click to hide internal directories.