Documentation ¶
Index ¶
- Variables
- func ParsemarkdownHacknews() error
- func PostSinaHeadline(title, content, cover, summary, text string)
- func RunCmds(cmds []Cmd) (logs []string, err error)
- func SendMsgToEmail(subject, msg string) error
- func SpiderHackNews() error
- func SpiderHackShows() error
- func SpiderRedditProgramming() error
- func TranslateCh2En(text string) string
- func TranslateEn2Ch(text string) string
- type Cmd
- type NewsItem
- type SlackHook
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisClient *redis.Client
Functions ¶
func ParsemarkdownHacknews ¶
func ParsemarkdownHacknews() error
func PostSinaHeadline ¶
func PostSinaHeadline(title, content, cover, summary, text string)
func SendMsgToEmail ¶
func SpiderHackNews ¶
func SpiderHackNews() error
func SpiderHackShows ¶
func SpiderHackShows() error
func SpiderRedditProgramming ¶
func SpiderRedditProgramming() error
func TranslateCh2En ¶
func TranslateEn2Ch ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.