events

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("events",
	fx.Provide(
		New,
	),
	fx.Decorate(wrapLogger),
)

Functions

This section is empty.

Types

type Eventus added in v0.6.0

type Eventus struct {
	NC *nats.Conn
	JS nats.JetStreamContext
	// contains filtered or unexported fields
}

func New added in v0.8.0

func New(p Params) (*Eventus, error)

type Params added in v0.8.0

type Params struct {
	fx.In

	LC     fx.Lifecycle
	Logger *zap.Logger
	Config *config.Config
}

type Subject added in v0.8.0

type Subject string

type Topic added in v0.8.0

type Topic string

type Type added in v0.8.0

type Type string

Jump to

Keyboard shortcuts

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