Documentation
¶
Index ¶
- type GInside
- func (g *GInside) BoardMinorPosts(ctx context.Context, id string, recommended bool) (posts []Post, err error)
- func (g *GInside) BoardPosts(ctx context.Context, id string, recommended bool) (posts []Post, err error)
- func (g *GInside) PostDetails(ctx context.Context, link string) (*PostDetails, error)
- type Post
- type PostAttachment
- type PostDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GInside ¶
type GInside struct {
// contains filtered or unexported fields
}
func NewGInside ¶
func (*GInside) BoardMinorPosts ¶
func (g *GInside) BoardMinorPosts(ctx context.Context, id string, recommended bool) (posts []Post, err error)
BoardMinorPosts returns the posts from the first page of a dcgall minor board
func (*GInside) BoardPosts ¶
func (g *GInside) BoardPosts(ctx context.Context, id string, recommended bool) (posts []Post, err error)
BoardPosts returns the posts from the first page of a dcgall board
func (*GInside) PostDetails ¶
type Post ¶
type Post struct {
ID string
Subject string
Title string
Author string
Date time.Time
Hits int
Votes int
URL string
}
Post contains information about a single dcinside post
type PostAttachment ¶
type PostDetails ¶
Click to show internal directories.
Click to hide internal directories.