redis_stream

package
v0.6.2-rc4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscription added in v0.6.2

type Subscription struct {
	*redis.PubSub
	Logger    log.Logger
	LocalNode uuid.UUID
}

func (Subscription) Next added in v0.6.2

type Topic added in v0.6.2

type Topic struct {
	Redis     *redis.Client
	Logger    log.Logger
	Name      string
	LocalNode uuid.UUID
}

func (*Topic) Publish added in v0.6.2

func (t *Topic) Publish(ctx context.Context, m transport.Message) error

func (*Topic) String added in v0.6.2

func (t *Topic) String() string

func (*Topic) Subscribe added in v0.6.2

func (t *Topic) Subscribe(ctx context.Context) transport.Subscription

Jump to

Keyboard shortcuts

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