Versions in this module Expand all Collapse all v0 v0.1.6 Sep 12, 2016 Changes in this version + func SetupBolt(path string, l *logrus.Entry) error + type Bolt struct + Log *logrus.Entry + Path string + func (b Bolt) Close() error + func (b Bolt) EnsureBuckets(meta Meta) error + func (b Bolt) GetChangelog(servername, packName string) (changelog string, err error) + func (b Bolt) GetMeta(serverName string) (meta Meta, found bool, err error) + func (b Bolt) PrettyPrint(meta Meta) error + func (b Bolt) PutChangelog(servername, packName, changelog string) error + type Cache interface + Close func() error + EnsureBuckets func(Meta) error + GetChangelog func(string, string) (string, error) + GetMeta func(string) (Meta, bool, error) + PrettyPrint func(Meta) error + PutChangelog func(string, string, string) error + var DB Cache + type Meta struct + Distro config.Distro + Name string + Packs []models.PackageInfo + func (m Meta) FindPack(name string) (pack models.PackageInfo, found bool)