model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Application    = "oasdiff"
	EnvNoTelemetry = "OASDIFF_NO_TELEMETRY"
	DefaultTimeout = time.Millisecond * 700
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	Id                 string
	Time               int64
	MachineId          string
	Runtime            string // darwin/windows
	Platform           string // docker/github-action
	Command            string
	Args               []string
	Flags              map[string]string
	Application        string
	ApplicationVersion string
}

func NewTelemetry added in v0.0.4

func NewTelemetry(app string, appVersion string, cmd string, args []string, flags map[string]string) *Telemetry

Jump to

Keyboard shortcuts

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