MCPcopy Index your code
hub / github.com/nutsdb/nutsdb / WithNodeNum

Function WithNodeNum

options.go:235–239  ·  view source on GitHub ↗
(num int64)

Source from the content-addressed store, hash-verified

233}
234
235func WithNodeNum(num int64) Option {
236 return func(opt *Options) {
237 opt.NodeNum = num
238 }
239}
240
241func WithSyncEnable(enable bool) Option {
242 return func(opt *Options) {

Callers 1

TestWithNodeNumFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWithNodeNumFunction · 0.68