Documentation
¶
Overview ¶
Polyglot Usenet-News Storage Framework
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseArticleObject ¶
func ReleaseArticleObject(ao *ArticleObject)
func ReleaseArticleOverview ¶
func ReleaseArticleOverview(ao *ArticleOverview)
Types ¶
type ArticleDirectDB ¶
type ArticleDirectDB interface { ArticleDirectStat(id []byte) bool ArticleDirectGet(id []byte, head, body bool) *ArticleObject ArticleDirectOverview(id []byte) *ArticleOverview }
type ArticleGroupDB ¶
type ArticleGroupDB interface { ArticleGroupStat(group []byte, num int64, id_buf []byte) ([]byte, bool) ArticleGroupGet(group []byte, num int64, head, body bool, id_buf []byte) ([]byte, *ArticleObject) ArticleGroupOverview(group []byte, first, last int64, targ func(int64, *ArticleOverview)) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool) ArticleGroupList(group []byte, first, last int64, targ func(int64)) }
type ArticleObject ¶
func AcquireArticleObject ¶
func AcquireArticleObject() *ArticleObject
type ArticleOverview ¶
type ArticleOverview struct { // This structure is fixed. It shall not change. Subject, From, Date, MsgId, Refs []byte Bytes, Lines int64 }
func AcquireArticleOverview ¶
func AcquireArticleOverview() *ArticleOverview
type ArticlePostingDB ¶
type GroupHeadCache ¶
type GroupHeadCache interface { // Filters the list "groups" removing those groups that // eighter not exist or they can't be posted to. GroupHeadFilter(groups [][]byte) ([][]byte, error) }
Cacheable Group-Head
type GroupHeadDB ¶
type GroupRealtimeDB ¶
type GroupStaticDB ¶
Directories
¶
Path | Synopsis |
---|---|
Authentication Implementations.
|
Authentication Implementations. |
cassauth
Cassandra backend for authentication.
|
Cassandra backend for authentication. |
pwdbcrypt
BCRYPT Password-Hash plugin.
|
BCRYPT Password-Hash plugin. |
pwdhash
Password-Hash Interface.
|
Password-Hash Interface. |
Apache Cassandra based Backend for Article Storage.
|
Apache Cassandra based Backend for Article Storage. |
Mature implemenations of various backend-modules.
|
Mature implemenations of various backend-modules. |
ad.cass
Cassandra backend for gold.ArticleDirectEX.
|
Cassandra backend for gold.ArticleDirectEX. |
ad.pgbadge
PostgreSQL + Badger for storage.
|
PostgreSQL + Badger for storage. |
ag.cassm
Cassandra backend for GroupIDX.
|
Cassandra backend for GroupIDX. |
gh.blue
Blue - In-Memory sequence using Apache Cassandra to record all changes.
|
Blue - In-Memory sequence using Apache Cassandra to record all changes. |
gh.generic
Helper to implement GroupHead sequences.
|
Helper to implement GroupHead sequences. |
gl.cass
Cassandra backend for gold.GroupListDB.
|
Cassandra backend for gold.GroupListDB. |
policies_ex
Implementations for the interfaces provided by the 'policies' packages.
|
Implementations for the interfaces provided by the 'policies' packages. |
Apache Cassandra based Backend for Article Storage.
|
Apache Cassandra based Backend for Article Storage. |
Authenticated Posting
|
Authenticated Posting |
Primitives providing access to remote servers.
|
Primitives providing access to remote servers. |
mntp
MNTP: Minimalistic News Transfer Protocol.
|
MNTP: Minimalistic News Transfer Protocol. |
nntpclient
Minimalistic Pipelined NNTP client.
|
Minimalistic Pipelined NNTP client. |
Click to show internal directories.
Click to hide internal directories.