redisbus

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBus

func CreateBus(config RedisConfig) (core.EventBus, error)

Types

type EventBus added in v0.3.0

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

func (EventBus) Publish added in v0.3.0

func (bus EventBus) Publish(message interface{}) error

func (EventBus) Subscribe added in v0.3.0

func (bus EventBus) Subscribe(event reflect.Type, eventHandler core.EventHandler, resilienceOptions *core.RetryOptions) error

type RedisConfig

type RedisConfig struct {
	Uri      string
	Password string
}

Jump to

Keyboard shortcuts

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