model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Time           time.Time       `json:"time"`
	Severity       string          `json:"severity"`
	Message        string          `json:"message"`
	Trace          string          `json:"logging.googleapis.com/trace,omitempty"`
	SpanID         string          `json:"logging.googleapis.com/spanId,omitempty"`
	SourceLocation *SourceLocation `json:"logging.googleapis.com/sourceLocation,omitempty"`
}

type SourceLocation

type SourceLocation struct {
	File     string `json:"file"`
	Line     int    `json:"line,string"`
	Function string `json:"function"`
}

type Span

type Span struct {
	SpanID  string
	TraceID string
	Valid   bool
}

Jump to

Keyboard shortcuts

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