You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
311 B
15 lines
311 B
package shock |
|
|
|
import "go.etcd.io/bbolt" |
|
|
|
// Options are Shock init options |
|
type Options struct { |
|
Bolt *bbolt.Options |
|
Serializer Serializer |
|
} |
|
|
|
// DefaultOptions are the default options used to init Shock |
|
var DefaultOptions = &Options{ |
|
Bolt: bbolt.DefaultOptions, |
|
Serializer: JSONSerializer{}, |
|
}
|
|
|