event

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(map[string]interface{})

Option configuration

func Annotate

func Annotate(key, value string) Option

Annotate adds an annotation with the given key and value

func Details

func Details(details string) Option

Details sets the event 'details' annotation

func Severity

func Severity(severity string) Option

Severity sets the event 'severity' annotation

func Type

func Type(t string) Option

Type sets the event 'type' annotation

Jump to

Keyboard shortcuts

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