redis

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 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 Options

type Options struct {
	ClientID string
	Pool     *redis.Pool
}

type Store

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

func New

func New(opts Options) *Store

func (*Store) Init

func (s *Store) Init(cleanStart bool) error

func (*Store) Remove

func (s *Store) Remove(id packets.PacketID) error

func (*Store) Set

func (s *Store) Set(id packets.PacketID) (bool, error)

Jump to

Keyboard shortcuts

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