Registry / utility / sensu-sensu-go-types

sensu-sensu-go-types

JSON →
library0.13.0gogounverified

Package types provides the core data types and structures used by the Sensu monitoring framework.

go get github.com/sensu/sensu-go/types
INSTALL
IMPORT
SIG · SENSU-SENSU-GO-TYP
S
sensu-sensu-go-types
utilitygov0.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

types
github.com/sensu/sensu-go/types

Minimal example showing how to create a Sensu event using the types package.

package main import ( "fmt" "github.com/sensu/sensu-go/types" ) func main() { event := &types.Event{} event.Entity = types.DefaultEntity() fmt.Println(event) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sensu-sensu-go-types — go get sensu-sensu-go-types · libregistry