Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
Interceptor is a mock Redis server that serves responses from the registry. It speaks RESP2 protocol.
func NewInterceptor ¶
func NewInterceptor(addr string, reg *registry.MockRegistry) *Interceptor
NewInterceptor creates a new Redis interceptor listening on addr.
Click to show internal directories.
Click to hide internal directories.