events

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMetadata

func RegisterMetadata(key string, value interface{})

RegisterMetadata adds or updates entries in the global event metadata. Other packages should call this during initialization to attach metadata that will be included with every event.

Types

type Client

type Client interface {
	Push(ctx context.Context, event string, extra ...interface{})
}

type Config

type Config struct {
	Endpoint string `` /* 162-byte string literal not displayed */

	Client func(httpClient *http.Client) Client
}

func (*Config) Process added in v0.0.3

func (c *Config) Process()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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