redis

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommunitiesBroker

type CommunitiesBroker struct {
	// contains filtered or unexported fields
}

func NewCommunitiesBroker

func NewCommunitiesBroker() *CommunitiesBroker

func (*CommunitiesBroker) Close

func (c *CommunitiesBroker) Close() error

func (*CommunitiesBroker) Open

func (c *CommunitiesBroker) Open(ctx context.Context, brokerURL string) error

func (*CommunitiesBroker) PublishInput

func (c *CommunitiesBroker) PublishInput(ctx context.Context, input brokers.Input, community string) error

func (*CommunitiesBroker) PublishKick

func (c *CommunitiesBroker) PublishKick(ctx context.Context, kick brokers.Kick) error

func (*CommunitiesBroker) SubscribeToInputs

func (c *CommunitiesBroker) SubscribeToInputs(ctx context.Context, errs chan error, community string) (chan brokers.Input, func() error)

func (*CommunitiesBroker) SubscribeToKicks

func (c *CommunitiesBroker) SubscribeToKicks(ctx context.Context, errs chan error) (chan brokers.Kick, func() error)

Jump to

Keyboard shortcuts

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