Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) ThreadPages ¶
type PageMapEntry ¶
type PageMapEntry struct { Name string Page YamlThread }
type RenderConfig ¶
type RequestConfig ¶
type RequestConfig struct { Expansions []string `json:",omitempty"` TweetFields []string `json:",omitempty"` MediaFields []string `json:",omitempty"` CustomFlags []string `json:",omitmepty"` }
func (RequestConfig) Equal ¶
func (c RequestConfig) Equal(other RequestConfig) bool
func (RequestConfig) QueryParams ¶
func (c RequestConfig) QueryParams() url.Values
type Subdir ¶
type Subdir struct { Title string Description string Config SubdirConfig Subdirs YamlSubdirMap `yaml:",omitempty"` Pages YamlPageMap `yaml:",inline,omitempty"` }
func (*Subdir) ThreadPages ¶
type SubdirConfig ¶
type SubdirConfig struct {
CollapseInParent bool `yaml:"collapse_in_parent"`
}
type SubdirMapEntry ¶
type Thread ¶
type Thread struct { ThreadID string `yaml:"thread_id"` Title string Config RenderConfig }
type YamlPageMap ¶
type YamlPageMap struct {
Entries []PageMapEntry
}
func (*YamlPageMap) UnmarshalYAML ¶
func (m *YamlPageMap) UnmarshalYAML(value *yaml.Node) error
type YamlSubdirMap ¶
type YamlSubdirMap []SubdirMapEntry
func (*YamlSubdirMap) UnmarshalYAML ¶
func (m *YamlSubdirMap) UnmarshalYAML(value *yaml.Node) error
type YamlThread ¶
type YamlThread struct {
Thread `yaml:",inline"`
}
func (YamlThread) MarshalYAML ¶
func (t YamlThread) MarshalYAML() (interface{}, error)
func (*YamlThread) UnmarshalYAML ¶
func (t *YamlThread) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.