subset

package
v0.0.0-...-2827e3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subset

type Subset struct {
	// contains filtered or unexported fields
}

func New

func New(client rueidis.Client) *Subset

func (*Subset) Add

func (s *Subset) Add(ctx context.Context, key string, members ...string) error

func (*Subset) GetMembers

func (s *Subset) GetMembers(ctx context.Context, key string) ([]string, bool, error)

func (*Subset) Remove

func (s *Subset) Remove(ctx context.Context, key string, members ...string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL