Documentation ¶
Index ¶
- type CatalogResponse
- type Client
- func (c *Client) GetBanners(ctx context.Context, options *GetBannersOptions) (GetBannersResponse, error)
- func (c *Client) GetBoardsPublic(ctx context.Context, options *GetBoardsPublicOptions) (*GetBoardsResponse, error)
- func (c *Client) GetCSRFToken(ctx context.Context) (*GetCSRFTokenResponse, error)
- func (c *Client) GetCatalog(ctx context.Context, options *GetCatalogOptions) (CatalogResponse, error)
- func (c *Client) GetCustomPage(ctx context.Context, options *GetCustomPageOptions) (*GetCustomPageResponse, error)
- func (c *Client) GetGlobalSettings(ctx context.Context) (*CatalogResponse, error)
- func (c *Client) GetIndex(ctx context.Context, options *GetIndexOptions) (*[]GetIndexResponse, error)
- func (c *Client) GetLogs(ctx context.Context, options *GetLogsOptions) (GetLogsResponse, error)
- func (c *Client) GetLogsList(ctx context.Context, options *GetLogsListOptions) (GetLogsListResponse, error)
- func (c *Client) GetManageBoards(ctx context.Context, options *GetManageBoardsOptions) (*GetBoardsResponse, error)
- func (c *Client) GetManageRecent(ctx context.Context, options *GetManageRecentOptions) (GetManageRecentResponse, error)
- func (c *Client) GetManageReports(ctx context.Context, options *GetManageReportsOptions) (*GetManageReportsResponse, error)
- func (c *Client) GetOverboardCatalog(ctx context.Context, options *GetOverboardOptions) (*GetOverboardResponse, error)
- func (c *Client) GetOverboardIndex(ctx context.Context, options *GetOverboardOptions) (*GetOverboardResponse, error)
- func (c *Client) GetSettings(ctx context.Context, options *GetSettingsOptions) (*GetSettingsResponse, error)
- func (c *Client) GetThread(ctx context.Context, options *GetThreadOptions) (*GetThreadResponse, error)
- func (c *Client) GetWebring(ctx context.Context) (*GetWebringResponse, error)
- func (c *Client) Login(ctx context.Context, options *PostLoginOptions) error
- func (c *Client) MakePost(ctx context.Context, options *MakePostOptions) error
- func (c *Client) SubmitPostActions(ctx context.Context, options *MakePostOptions) error
- type DynamicResponse
- type GetBannersOptions
- type GetBannersResponse
- type GetBoardsPublicOptions
- type GetBoardsResponse
- type GetCSRFTokenResponse
- type GetCatalogOptions
- type GetCustomPageOptions
- type GetCustomPageResponse
- type GetGlobalSettingsResponse
- type GetIndexOptions
- type GetIndexResponse
- type GetLogsListOptions
- type GetLogsListResponse
- type GetLogsOptions
- type GetLogsResponse
- type GetManageBoardsOptions
- type GetManageRecentOptions
- type GetManageRecentResponse
- type GetManageReportsOptions
- type GetManageReportsResponse
- type GetOverboardOptions
- type GetOverboardResponse
- type GetSettingsOptions
- type GetSettingsResponse
- type GetThreadOptions
- type GetThreadResponse
- type GetWebringResponse
- type MakePostOptions
- type PostLoginOptions
- type ReturnHeaders
- type SubmitPostActionsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogResponse ¶
type Client ¶
func (*Client) GetBanners ¶
func (c *Client) GetBanners(ctx context.Context, options *GetBannersOptions) (GetBannersResponse, error)
func (*Client) GetBoardsPublic ¶
func (c *Client) GetBoardsPublic(ctx context.Context, options *GetBoardsPublicOptions) (*GetBoardsResponse, error)
func (*Client) GetCSRFToken ¶
func (c *Client) GetCSRFToken(ctx context.Context) (*GetCSRFTokenResponse, error)
func (*Client) GetCatalog ¶
func (c *Client) GetCatalog(ctx context.Context, options *GetCatalogOptions) (CatalogResponse, error)
func (*Client) GetCustomPage ¶
func (c *Client) GetCustomPage(ctx context.Context, options *GetCustomPageOptions) (*GetCustomPageResponse, error)
func (*Client) GetGlobalSettings ¶
func (c *Client) GetGlobalSettings(ctx context.Context) (*CatalogResponse, error)
func (*Client) GetIndex ¶
func (c *Client) GetIndex(ctx context.Context, options *GetIndexOptions) (*[]GetIndexResponse, error)
func (*Client) GetLogs ¶
func (c *Client) GetLogs(ctx context.Context, options *GetLogsOptions) (GetLogsResponse, error)
func (*Client) GetLogsList ¶
func (c *Client) GetLogsList(ctx context.Context, options *GetLogsListOptions) (GetLogsListResponse, error)
func (*Client) GetManageBoards ¶
func (c *Client) GetManageBoards(ctx context.Context, options *GetManageBoardsOptions) (*GetBoardsResponse, error)
func (*Client) GetManageRecent ¶
func (c *Client) GetManageRecent(ctx context.Context, options *GetManageRecentOptions) (GetManageRecentResponse, error)
func (*Client) GetManageReports ¶
func (c *Client) GetManageReports(ctx context.Context, options *GetManageReportsOptions) (*GetManageReportsResponse, error)
func (*Client) GetOverboardCatalog ¶
func (c *Client) GetOverboardCatalog(ctx context.Context, options *GetOverboardOptions) (*GetOverboardResponse, error)
func (*Client) GetOverboardIndex ¶
func (c *Client) GetOverboardIndex(ctx context.Context, options *GetOverboardOptions) (*GetOverboardResponse, error)
func (*Client) GetSettings ¶
func (c *Client) GetSettings(ctx context.Context, options *GetSettingsOptions) (*GetSettingsResponse, error)
func (*Client) GetThread ¶
func (c *Client) GetThread(ctx context.Context, options *GetThreadOptions) (*GetThreadResponse, error)
func (*Client) GetWebring ¶
func (c *Client) GetWebring(ctx context.Context) (*GetWebringResponse, error)
func (*Client) MakePost ¶
func (c *Client) MakePost(ctx context.Context, options *MakePostOptions) error
func (*Client) SubmitPostActions ¶
func (c *Client) SubmitPostActions(ctx context.Context, options *MakePostOptions) error
type DynamicResponse ¶
type GetBannersOptions ¶
type GetBannersOptions struct {
Board string
}
type GetBannersResponse ¶
type GetBannersResponse []string
type GetBoardsPublicOptions ¶
type GetBoardsResponse ¶
type GetCSRFTokenResponse ¶
type GetCSRFTokenResponse struct {
Token string `json:"token"`
}
type GetCatalogOptions ¶
type GetCatalogOptions struct {
Board string
}
type GetCustomPageOptions ¶
type GetCustomPageResponse ¶
type GetCustomPageResponse struct {
*models.CustomPage
}
type GetGlobalSettingsResponse ¶
type GetGlobalSettingsResponse struct {
*models.GlobalSettings
}
type GetIndexOptions ¶
type GetIndexResponse ¶
type GetLogsListOptions ¶
type GetLogsListOptions struct {
Board string
}
type GetLogsListResponse ¶
type GetLogsOptions ¶
type GetLogsResponse ¶
type GetManageBoardsOptions ¶
type GetManageRecentOptions ¶
type GetManageRecentOptions struct {
Board string
}
type GetManageRecentResponse ¶
type GetManageReportsOptions ¶
type GetOverboardOptions ¶
type GetOverboardResponse ¶
type GetSettingsOptions ¶
type GetSettingsOptions struct {
Board string
}
type GetSettingsResponse ¶
type GetSettingsResponse struct {
*models.BoardSettings
}
type GetThreadOptions ¶
type GetThreadResponse ¶
type GetWebringResponse ¶
type MakePostOptions ¶
type PostLoginOptions ¶
type ReturnHeaders ¶
type SubmitPostActionsOptions ¶
type SubmitPostActionsOptions struct { CheckedPosts []string CheckedReports []string Board string Captcha []string PostPassword string Ban bool BanGlobal bool BanHalfRange bool BanQuarterRance bool BanReporter bool BanReporterGlobal bool BanReason string BanDuration string Move bool MoveToThread int Sticky int ToggleCyclic bool ToggleBumplock bool ToggleLock bool Spoiler bool Delete bool DeleteFiles bool UnlinkFiles bool DeleteIPThread bool DeleteIPBoard bool DeleteIPGlobal bool Dismiss bool DismissGlobal bool Report bool ReportGlobal bool ReportReason string HideName bool NoAppeal bool PreservePost bool LogMessage string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.