MCPcopy
hub / github.com/iron-io/functions / BoltDatastore

Struct BoltDatastore

api/datastore/bolt/bolt.go:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type BoltDatastore struct {
22 routesBucket []byte
23 appsBucket []byte
24 logsBucket []byte
25 extrasBucket []byte
26 db *bolt.DB
27 log logrus.FieldLogger
28}
29
30func New(url *url.URL) (models.Datastore, error) {
31 dir := filepath.Dir(url.Path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected