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.
|
package bitcask
|
|
|
|
func Example() {
|
|
_, _ = Open("path/to/db")
|
|
}
|
|
|
|
func Example_withOptions() {
|
|
opts := []Option{
|
|
WithMaxKeySize(1024),
|
|
WithMaxValueSize(4096),
|
|
}
|
|
_, _ = Open("path/to/db", opts...)
|
|
}
|