rds

package
v0.0.0-...-8227220 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() (*redis.Client, error)

Types

type Token

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

func NewToken

func NewToken(client *redis.Client) *Token

func (Token) Create

func (t Token) Create(ctx context.Context, token models.Token) error

func (Token) Destroy

func (t Token) Destroy(ctx context.Context, token models.Token) error

func (Token) Find

func (t Token) Find(ctx context.Context, token models.Token) (models.Token, error)

Jump to

Keyboard shortcuts

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