redis

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisList

type RedisList struct {
	Client   *redis.Client
	Host     string
	Port     string
	Password string
	Key      string
	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
}

func (*RedisList) Cleanup

func (d *RedisList) Cleanup() error

func (*RedisList) Init

func (d *RedisList) Init() error

func (*RedisList) LoadEnv

func (d *RedisList) LoadEnv(prefix string) error

func (*RedisList) LoadFlags

func (d *RedisList) LoadFlags() error

func (*RedisList) Push

func (d *RedisList) Push(r io.Reader) error

type RedisPubSub

type RedisPubSub struct {
	Client   *redis.Client
	Host     string
	Port     string
	Password string
	Key      string
	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
}

func (*RedisPubSub) Cleanup

func (d *RedisPubSub) Cleanup() error

func (*RedisPubSub) Init

func (d *RedisPubSub) Init() error

func (*RedisPubSub) LoadEnv

func (d *RedisPubSub) LoadEnv(prefix string) error

func (*RedisPubSub) LoadFlags

func (d *RedisPubSub) LoadFlags() error

func (*RedisPubSub) Push

func (d *RedisPubSub) Push(r io.Reader) error

type RedisStream

type RedisStream struct {
	Client    *redis.Client
	Host      string
	Port      string
	Password  string
	Key       string
	ValueKeys []string
	MessageID *string
	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
}

func (*RedisStream) Cleanup

func (d *RedisStream) Cleanup() error

func (*RedisStream) Init

func (d *RedisStream) Init() error

func (*RedisStream) LoadEnv

func (d *RedisStream) LoadEnv(prefix string) error

func (*RedisStream) LoadFlags

func (d *RedisStream) LoadFlags() error

func (*RedisStream) Push

func (d *RedisStream) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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