redis

package
v0.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package redis provides the ability for Vela to integrate with a Redis server as a queue backend.

Usage:

import "github.com/go-vela/server/queue/redis"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config string, channels ...string) (*client, error)

New returns a Queue implementation that integrates with a Redis queue instance.

func NewCluster

func NewCluster(config string, channels ...string) (*client, error)

NewCluster returns a Queue implementation that integrates with a Redis queue cluster.

func NewTest

func NewTest() (*client, error)

NewTest returns a Queue implementation that integrates with a local Redis instance.

It's possible to overide this with env variables, which gets used as a part of integration testing with the different supported backends.

This function is intended for running tests only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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