type github.com/go-redis/redis/v8.Tx
20 uses
github.com/go-redis/redis/v8 (current package)
cluster.go#L1432: func (c *ClusterClient) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {
commands.go#L340: _ Cmdable = (*Tx)(nil)
ring.go#L704: func (c *Ring) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {
tx.go#L17: type Tx struct {
tx.go#L25: func (c *Client) newTx(ctx context.Context) *Tx {
tx.go#L26: tx := Tx{
tx.go#L38: func (c *Tx) init() {
tx.go#L43: func (c *Tx) Context() context.Context {
tx.go#L47: func (c *Tx) WithContext(ctx context.Context) *Tx {
tx.go#L58: func (c *Tx) Process(ctx context.Context, cmd Cmder) error {
tx.go#L66: func (c *Client) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {
tx.go#L81: func (c *Tx) Close(ctx context.Context) error {
tx.go#L88: func (c *Tx) Watch(ctx context.Context, keys ...string) *StatusCmd {
tx.go#L100: func (c *Tx) Unwatch(ctx context.Context, keys ...string) *StatusCmd {
tx.go#L112: func (c *Tx) Pipeline() Pipeliner {
tx.go#L125: func (c *Tx) Pipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
tx.go#L137: func (c *Tx) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
tx.go#L142: func (c *Tx) TxPipeline() Pipeliner {
universal.go#L178: Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |