redis

package
v3.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT, Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(host string, port int, password string) (bool, error)

Connect tries to connect redis server with password

func GetServerInfo

func GetServerInfo(host string, port int) (string, error)

GetServerInfo returns the server info for a redis server

func GetServerInfoAuth

func GetServerInfoAuth(host string, port int, password string) (string, error)

GetServerInfoAuth returns the server info for a redis server

func IsAuthenticated

func IsAuthenticated(host string, port int) (bool, error)

IsAuthenticated checks if the redis server requires authentication

func RunLuaScript

func RunLuaScript(host string, port int, password string, script string) (interface{}, error)

RunLuaScript runs a lua script on

Types

This section is empty.

Jump to

Keyboard shortcuts

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