jstats

package
v0.0.0-...-cbea63e Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(event map[string]string) error

func PublishEvent

func PublishEvent(eventType string, payload map[string]string) error

PublishEvent will make sure to set the eventtype and sets the timestamp to the current time

Types

type Publisher

type Publisher interface {
	Publish(event map[string]string) error
}

Jump to

Keyboard shortcuts

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