Documentation ¶ Index ¶ func Open() (*bolt.DB, error) func ReadCredentials(db *bolt.DB) ([]byte, []byte, error) func ReadLastFM(db *bolt.DB) (string, error) func WriteCredentials(db *bolt.DB, auth string, deviceID string) error func WriteLastFM(lastfm []byte, db *bolt.DB) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Open ¶ func Open() (*bolt.DB, error) func ReadCredentials ¶ func ReadCredentials(db *bolt.DB) ([]byte, []byte, error) func ReadLastFM ¶ added in v0.4.0 func ReadLastFM(db *bolt.DB) (string, error) func WriteCredentials ¶ func WriteCredentials(db *bolt.DB, auth string, deviceID string) error func WriteLastFM ¶ added in v0.4.0 func WriteLastFM(lastfm []byte, db *bolt.DB) error Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.