Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentSize ¶
ContentSize :)
type Filter ¶
type Filter struct {
ContentSize ContentSize `yaml:"content_size"`
Regexp RegexpConfig `yaml:"regexp"`
}
Filter :)
type Global ¶
type Global struct {
LogFile string `yaml:"log_file"`
History struct {
MaxNum int `yaml:"max_num"`
Save string `yaml:"save_to"`
} `yaml:"history"`
Timeout Duration `yaml:"timeout"`
}
Global is global configs.
type Int64 ¶
type Int64 struct {
I int64
}
Int64 is int64
func (*Int64) UnmarshalYAML ¶
UnmarshalYAML :)
type Receiver ¶
type Receiver struct {
Delay Duration `yaml:"delay"`
Save *string `yaml:"save_path"`
Client map[string]map[string]interface{} `yaml:"client"`
}
Receiver defines tasks' receiver(s).
type RegexpConfig ¶
RegexpConfig :)
type Rss ¶
type Rss struct {
URL string `yaml:"url"`
Method string `yaml:"method"`
Headers Header `yaml:"headers"`
Interval Duration `yaml:"interval"`
}
Rss :)
Click to show internal directories.
Click to hide internal directories.