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 ¶
Types ¶
type ClientOpt ¶ added in v0.11.0
type ClientOpt func(*client) error
ClientOpt represents a configuration option to initialize the queue client for Redis.
func WithAddress ¶ added in v0.11.0
WithAddress sets the address in the queue client for Redis.
func WithCluster ¶ added in v0.11.0
WithCluster sets the clustering mode in the queue client for Redis.
func WithPrivateKey ¶ added in v0.21.0
WithPrivateKey sets the private key in the queue client for Redis.
func WithPublicKey ¶ added in v0.21.0
WithPublicKey sets the public key in the queue client for Redis.
func WithRoutes ¶ added in v0.24.0
WithRoutes sets the routes in the queue client for Redis.
func WithTimeout ¶ added in v0.11.0
WithTimeout sets the timeout in the queue client for Redis.
Click to show internal directories.
Click to hide internal directories.