Documentation
¶
Overview ¶
Mature implemenations of various backend-modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleDirectEX ¶
type ArticleGroupEX ¶
type ArticleGroupWrapper ¶
type ArticleGroupWrapper struct { newspolyglot.ArticleGroupDB Direct newspolyglot.ArticleDirectDB }
func (*ArticleGroupWrapper) ArticleGroupGet ¶
type GroupListDB ¶
type GroupRealtimeImpl ¶
type GroupRealtimeImpl struct { ArticleGroupEX List GroupListDB }
func (*GroupRealtimeImpl) GroupRealtimeList ¶
func (g *GroupRealtimeImpl) GroupRealtimeList(targ func(group []byte, high, low int64, status byte)) bool
func (*GroupRealtimeImpl) GroupRealtimeQuery ¶
type GroupStaticImpl ¶
type GroupStaticImpl struct {
List GroupListDB
}
func (*GroupStaticImpl) GroupStaticList ¶
func (g *GroupStaticImpl) GroupStaticList(targ func(group []byte, descr []byte)) bool
type PostingDecisionLite ¶
type PostingImpl ¶
type PostingImpl struct { Grp ArticleGroupEX Dir ArticleDirectEX Policy PostingPolicyLite }
func (*PostingImpl) ArticlePostingCheckPost ¶
func (p *PostingImpl) ArticlePostingCheckPost() (possible bool)
func (*PostingImpl) ArticlePostingCheckPostId ¶
func (p *PostingImpl) ArticlePostingCheckPostId(id []byte) (wanted bool, possible bool)
type PostingPolicyLite ¶
type PostingPolicyLite interface {
DecideLite(groups [][]byte, lines, length int64) PostingDecisionLite
}
Directories
¶
Path | Synopsis |
---|---|
Cassandra backend for gold.ArticleDirectEX.
|
Cassandra backend for gold.ArticleDirectEX. |
PostgreSQL + Badger for storage.
|
PostgreSQL + Badger for storage. |
Cassandra backend for GroupIDX.
|
Cassandra backend for GroupIDX. |
Blue - In-Memory sequence using Apache Cassandra to record all changes.
|
Blue - In-Memory sequence using Apache Cassandra to record all changes. |
Helper to implement GroupHead sequences.
|
Helper to implement GroupHead sequences. |
Cassandra backend for gold.GroupListDB.
|
Cassandra backend for gold.GroupListDB. |
Implementations for the interfaces provided by the 'policies' packages.
|
Implementations for the interfaces provided by the 'policies' packages. |
Click to show internal directories.
Click to hide internal directories.