Documentation ¶
Index ¶
- func FindPublish(s *Storage, colid string) (string, string, error)
- func FindRSS(s *Storage, colid string, link string, pubdate time.Time) (bool, error)
- func FindTweet(s *Storage, colid string, user string, id string) (bool, error)
- func InsertPublish(s *Storage, colid string, desc string, imgpath string) error
- func InsertRSS(s *Storage, colid string, title string, link string, desc string, ...) error
- func InsertTweet(s *Storage, colid string, name string, user string, id string, link string, ...) error
- func SetConfig(dburl string, dbid string, dbuser string, dbpasswd string)
- func TermInstance()
- type PublishFields
- type RssFields
- type Storage
- type TweetFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertPublish ¶
func InsertTweet ¶
func TermInstance ¶
func TermInstance()
Types ¶
type PublishFields ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *Storage
Click to show internal directories.
Click to hide internal directories.