Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Netflix/rend
/ types & classes
Types & classes
88 in github.com/Netflix/rend
⨍
Functions
544
◇
Types & classes
88
↓ 2 callers
TypeAlias
uint64slice
metrics/endpoint.go:249
Struct
BinProt
client/binprot/prot.go:26
Struct
BinaryParser
Example Set Request Field (offset) (value) Magic (0) : 0x80 Opcode (1) : 0x02 Key length (2,3) : 0x0005 Extra length (4)
protocol/binprot/parser.go:106
Struct
BinaryResponder
Sample Get response Field (offset) (value) Magic (0) : 0x81 Opcode (1) : 0x00 Key length (2,3) : 0x0000 Extra length (4)
protocol/binprot/respond.go:119
FuncType
BulkCallback
BulkCallback defines a function that the metrics package can use to retrieve a set of int and float metrics in bulk. Implementors are responsible for
metrics/bulkcallback.go:26
Interface
Components
Components is a package of all the protocol-specific bits of the protocol implementation. Packages are expected to provide an implementation of this i
protocol/types.go:74
Struct
DefaultServer
DefaultServer is the default server implementation that implements a server REPL for a single external connection.
server/default.go:31
Struct
DeleteRequest
DeleteRequest corresponds to common.RequestDelete. It contains all the information required to fulfill a delete request.
common/datatypes.go:184
Interface
Disambiguator
Disambiguator is an interface for protocols to implement to tell the server listener if the protocol that implements it is capable of parsing the conn
protocol/types.go:67
Struct
ErrOpaqueMismatch
client/binprot/prot.go:28
FuncType
FloatGaugeCallback
FloatGaugeCallback defines a function that the metrics package can use to retrieve an floating point gauge value
metrics/callbackgauges.go:25
Struct
FloatMetric
metrics/types.go:37
Struct
GATRequest
GATRequest corresponds to common.RequestGat. It contains all the information required to fulfill a get-and-touch request.
common/datatypes.go:217
Struct
GetEResponse
GetEResponse is used in the GetE protocol extension
common/datatypes.go:288
Struct
GetRequest
GetRequest corresponds to common.RequestGet. It contains all the information required to fulfill a get requestGets are batch by default, so single get
common/datatypes.go:163
Struct
GetResponse
GetResponse is used in both RequestGet and RequestGat handling. Both respond in the same manner but with different opcodes. It is binary-protocol spec
common/datatypes.go:278
Interface
Handler
handlers/types.go:26
Struct
Handler
handlers/inmem/inmem.go:35
Struct
Handler
Handler implements a backend for Rend that communicates to a remote memcached server
handlers/memcached/chunked/handler.go:115
Struct
Handler
Handler implements a backend for Rend that communicates to a remote memcached server
handlers/memcached/std/handler.go:42
Struct
Handler
Handler implements the handlers.Handler interface. It is an implementation of the interface that defers all requests to a connection pool to the backe
handlers/memcached/batched/handler.go:30
FuncType
HandlerConst
func() (Handler, error)
handlers/types.go:19
FuncType
IntGaugeCallback
IntGaugeCallback defines a function that the metrics package can use to retrieve an integer gauge value
metrics/callbackgauges.go:21
Struct
IntMetric
metrics/types.go:31
Struct
L1L2BatchOrca
orcas/l1l2batch.go:27
Struct
L1L2Orca
orcas/l1l2.go:27
Struct
L1OnlyOrca
orcas/l1only.go:25
FuncType
ListenConst
ListenConst is a constructor function for listener implementations
server/types.go:39
Interface
Listener
Listener is a type to accept and configure new connections
server/types.go:42
Struct
LockedOrca
orcas/locked.go:63
Struct
NoopRequest
NoopRequest corresponds to common.RequestNoop. It contains all the information required to fulfill a version request.
common/datatypes.go:249
TypeAlias
Op
client/common/types.go:56
Struct
Opts
Opts is the set of tuning options for the batched handler.
handlers/memcached/batched/handler.go:36
Interface
Orca
orcas/types.go:26
FuncType
OrcaConst
func(l1, l2 handlers.Handler, res protocol.Responder) Orca
orcas/types.go:24
Interface
Peeker
Peeker is an interface that is designed to restrict the functionality of a bufio.Reader for the purposes of protocol disambiguation. A bufio.Reader mu
protocol/types.go:59
Interface
Prot
client/common/types.go:22
Struct
QuitRequest
QuitRequest corresponds to common.RequestQuit. It contains all the information required to fulfill a quit request.
common/datatypes.go:234
Interface
Request
common/datatypes.go:136
Struct
RequestHeader
protocol/binprot/headers.go:36
Interface
RequestParser
RequestParser represents an interface to parse incoming requests. Each protocol provides its own implementation. The return value is a generic Request
protocol/types.go:30
TypeAlias
RequestType
RequestType is the protocol-agnostic identifier for the command
common/datatypes.go:85
Interface
Responder
Responder is the interface for a protocol to respond to different commands. It responds in whatever way is appropriate, including doing nothing or pan
protocol/types.go:38
Struct
ResponseHeader
protocol/binprot/headers.go:50
Interface
Server
Server is the interface that ServerConst returns.
server/types.go:31
FuncType
ServerConst
ServerConst is a constructor function for servers. Each server implementation should have a corresponding ServerConst to create it.
server/types.go:28
Struct
SetRequest
SetRequest corresponds to common.RequestSet. It contains all the information required to fulfill a set request.
common/datatypes.go:143
Struct
Stats
client/stats/stats.go:20
TypeAlias
Tags
metrics/types.go:43
Struct
Task
client/common/types.go:100
Struct
TextParser
protocol/textprot/parser.go:29
Struct
TextProt
client/textprot/prot.go:25
Struct
TextResponder
protocol/textprot/respond.go:25
Struct
TouchRequest
TouchRequest corresponds to common.RequestTouch. It contains all the information required to fulfill a touch request.
common/datatypes.go:200
Struct
VersionRequest
VersionRequest corresponds to common.RequestVersion. It contains all the information required to fulfill a version request.
common/datatypes.go:263
Struct
batch
handlers/memcached/batched/conn.go:61
Struct
bhist
metrics/histograms.go:157
Struct
chunkedLimitedReader
This reader is ***NOT THREAD SAFE*** It will read *past* the end of the total size to fill in the remainder of a chunk effectively acts as a chunk ite
handlers/memcached/chunked/chunkedLimitedReader.go:37
Struct
clrData
Because the Read method is value-only, we need to keep our state in another struct and maintain a pointer to that struct in the main reader struct.
handlers/memcached/chunked/chunkedLimitedReader.go:43
Struct
comps
protocol/binprot/components.go:26
Struct
comps
protocol/textprot/components.go:26
Struct
conn
handlers/memcached/batched/conn.go:42
Struct
disam
protocol/binprot/components.go:40
Struct
disam
protocol/textprot/components.go:40
Struct
dummyIO
protocol/binprot/parser_test.go:51
Struct
entry
handlers/inmem/inmem.go:25
Struct
hdat
metrics/histograms.go:137
Struct
hist
The hist struct holds a primary and secondary data structure so the reader of the histograms will get to read the data out while new observations are
metrics/histograms.go:131
Struct
ioCloserSpy
server/default_test.go:26
Struct
keyAttrs
handlers/memcached/batched/handler.go:236
Struct
metadata
handlers/memcached/chunked/types.go:27
Struct
metric
client/cmd/blast/main.go:39
Struct
metric
client/cmd/setops/main.go:39
Struct
relay
handlers/memcached/batched/relay.go:43
Struct
req
client/binprot/headers.go:60
Struct
request
handlers/memcached/batched/types.go:29
Struct
res
client/binprot/headers.go:116
Struct
reshandle
Need a struct here to hold all the metadata about the request. Responses don't have all the metadata, so it needs to be kept to the side
handlers/memcached/batched/conn.go:321
Struct
response
handlers/memcached/batched/types.go:35
TypeAlias
tags
metrics/tagsbench_test.go:20
Struct
tcpListener
server/listen.go:32
Struct
testHandler
orcas/util_test.go:23
Struct
testOrca
server/default_test.go:55
Struct
testPanicOrca
server/default_test.go:132
Struct
testPanicOrca
orcas/locked_test.go:26
Struct
testRequestParser
server/default_test.go:35
TypeAlias
trackermap
handlers/memcached/batched/handler.go:242
Struct
unixListener
server/listen.go:65