-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstructs.go
More file actions
33 lines (29 loc) · 739 Bytes
/
Copy pathstructs.go
File metadata and controls
33 lines (29 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package main
import (
"io"
as "github.com/aerospike/aerospike-client-go"
"github.com/coocood/freecache"
)
type handler struct {
argsCount int
argsLogCount int
f func(io.Writer, *context, [][]byte) error
writeBack bool
}
type context struct {
client *as.Client
exitOnClusterLost bool
ns string
set string
readPolicy *as.BasePolicy
writePolicy *as.WritePolicy
counterWbOk uint32
counterOk uint32
counterErr uint32
gaugeConn int32
expandedMapDefaultTTL int
expandedMapCache *freecache.Cache
expandedMapCacheTTL int
logCommands bool
generationRetries int
}