Documentation ¶
Overview ¶
Cassandra backend for gold.ArticleDirectEX.
Index ¶
- func Initialize(session *gocql.Session)
- type Storage
- func (s *Storage) ArticleDirectGet(id []byte, head, body bool) *newspolyglot.ArticleObject
- func (s *Storage) ArticleDirectOverview(id []byte) *newspolyglot.ArticleOverview
- func (s *Storage) ArticleDirectRollback(id []byte)
- func (s *Storage) ArticleDirectStat(id []byte) bool
- func (s *Storage) ArticleDirectStore(exp uint64, ov *newspolyglot.ArticleOverview, obj *newspolyglot.ArticleObject) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Storage ¶
type Storage struct { Session *gocql.Session OnUpsert gocql.Consistency }
func (*Storage) ArticleDirectGet ¶
func (*Storage) ArticleDirectOverview ¶
func (*Storage) ArticleDirectRollback ¶
func (*Storage) ArticleDirectStat ¶
func (*Storage) ArticleDirectStore ¶
Click to show internal directories.
Click to hide internal directories.