Documentation ¶
Index ¶
Constants ¶
View Source
const ( NfoPart = PartType("nfo") SfvPart = PartType("sfv") RarPart = PartType("rar") Par2Part = PartType("par2") )
View Source
const ( DbName = "nonews" ArticlesCollection = "articles" HeadChunkSize = 1024 )
Variables ¶
View Source
var ErrMalformedXref = fmt.Errorf("malformed xref")
View Source
var MeterFrequency = 10 * time.Second
Functions ¶
Types ¶
type Article ¶
type Article struct { Header map[string][]string MessageId string Subject string Xref []Xref Timestamp int64 Part Part Errors []error `bson:",omitempty"` }
func NewArticle ¶
type Config ¶
type Config struct {
*toml.TomlTree
}
func LoadConfig ¶
func (*Config) GroupDelay ¶
func (*Config) IndexGroups ¶
Click to show internal directories.
Click to hide internal directories.