nats

package
v0.0.0-...-150cbac Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Options nats.Options
}

Client nats

func NewClient

func NewClient(urls string, useTLS bool) (*Client, error)

NewClient returns the basic client to access to nats

func (*Client) Publish

func (c *Client) Publish(event eventhus.Event, bucket, subset string) error

Publish a event

Jump to

Keyboard shortcuts

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