Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a Redis connection with a key prefix.
func TestClient ¶
TestClient creates a redisstate.Client connected to the given addr (typically miniredis) with no authentication. Exported so session/registry/server test packages can use it.
func (*Client) Key ¶
Key returns the prefixed key for the given components. Key("session", "abc") -> "blockyard:session:abc"
Click to show internal directories.
Click to hide internal directories.