whatapredigo

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoRun

func DoRun(ctx context.Context, conn redis.Conn, connection, commandName string, args ...interface{}) (interface{}, error)

Redis는SQL은 아니지만 같은 DB 계열임. 통계 처리를 위해 SQL로 처리

func SendRun

func SendRun(ctx context.Context, conn redis.Conn, connection, commandName string, args ...interface{}) error

Types

type Conn

type Conn interface {
	redis.Conn
	WithContext(ctx context.Context) Conn
}

func Dial

func Dial(network, address string, options ...redis.DialOption) (Conn, error)

func DialContext

func DialContext(ctx context.Context, network, address string, options ...redis.DialOption) (Conn, error)

func DialURL

func DialURL(rawurl string, options ...redis.DialOption) (Conn, error)

func DialURLContext

func DialURLContext(ctx context.Context, rawurl string, options ...redis.DialOption) (Conn, error)

Jump to

Keyboard shortcuts

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