**WORK IN PROGRESS** golang API client for interacting with the jschan imageboard API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
1.0 KiB

package models
type Board struct {
ID string `json:"_id"`
URI string `json:"uri,omitempty"`
Path string `json:"path,omitempty"`
LastPostTimestamp LastPostTimestamp `json:"lastPostTimestamp"`
Tags []interface{} `json:"tags,omitempty"`
SiteName string `json:"siteName,omitempty"`
SequenceValue int `json:"sequence_value"`
Pph int `json:"pph"`
Ips int `json:"ips"`
Settings Settings `json:"settings,omitempty"`
Webring bool `json:"webring"`
Ppd int `json:"ppd,omitempty"`
}
type Settings struct {
Sfw bool `json:"sfw"`
Name string `json:"name"`
Description string `json:"description"`
UnlistedLocal bool `json:"unlistedLocal,omitempty"`
}
type LastPostTimestamp struct {
Text string `json:"text"`
Color string `json:"color"`
}