stream

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStream

func NewStream(opts ...Option) (events.Stream, error)

Types

type Option

type Option func(o *Options)

Option is a function which configures options

func Address

func Address(addr string) Option

func Password

func Password(password string) Option

func TLSConfig

func TLSConfig(tlsConfig *tls.Config) Option

func User

func User(user string) Option

type Options

type Options struct {
	Address   string
	User      string
	Password  string
	TLSConfig *tls.Config
}

Options which are used to configure the redis stream

Jump to

Keyboard shortcuts

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