nats

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

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

func New

func New(url string, enabled bool) (*Queue, error)

func (*Queue) Publish

func (p *Queue) Publish(event *queue.Event) error

func (*Queue) Subscribe

func (p *Queue) Subscribe(ctx context.Context) (<-chan *queue.Event, error)

Jump to

Keyboard shortcuts

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