redis

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 License: MIT Imports: 3 Imported by: 0

README

Nibbler Redis

All connection URLs have the protocol in front removed during processing (e.g. no "http"/"https").

If "Url" is not set on the extension instance, it will pull DB connection info and credentials from REDIS_URL. If not found, it will try REDISCLOUD_URL, then DATABASE_URL.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	nibbler.NoOpExtension

	Url      string
	Password string
	DB       int
	Client   *redis.Client
}

func (*Extension) Connect

func (s *Extension) Connect() error

func (*Extension) Init

func (s *Extension) Init(app *nibbler.Application) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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