Bolt holds the bolt session
| 13 | |
| 14 | // Bolt holds the bolt session |
| 15 | type Bolt struct { |
| 16 | queryFetchLimit *int64 |
| 17 | enabled bool |
| 18 | connection string |
| 19 | bucketName string |
| 20 | client *bbolt.DB |
| 21 | } |
| 22 | |
| 23 | // Init initialises a new bolt instance |
| 24 | func Init(enabled bool, connection, bucketName string) (b *Bolt, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected