evt

package
v0.0.0-...-317c481 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package evt provides event management functions.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(sub *nats.Subscription) string

Fetch fetches an event from a subscription and returns the event.

func Init

func Init()

Init explicitly initialises the event package.

Example
{
}
Output:

func Pub

func Pub(subj, s string)

Pub publishes an event.

func Sub

func Sub(subj, clientName string) *nats.Subscription

Sub subscribes to a topic / subject.

Types

This section is empty.

Jump to

Keyboard shortcuts

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