imdb

package
v1.0.73 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, driver Driver)

Types

type Conn

type Conn interface {
	Get(ctx context.Context, key string) (value string, err error)
	Set(ctx context.Context, key, value string) (err error)
	SetEx(ctx context.Context, key, value string, seconds int64) (err error)
	Del(ctx context.Context, key string) (err error)
	TTL(ctx context.Context, key string) (seconds int64, err error)
}

func Open

func Open(dialect string, args string) (conn Conn, err error)

type Driver

type Driver interface {
	Open(args string) (conn Conn, err error)
}

Directories

Path Synopsis
driver

Jump to

Keyboard shortcuts

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