nullable

package
v1.19.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	Val bool
	// contains filtered or unexported fields
}

Bool stores a bool value and the information if the value has been set

func (*Bool) IsSet

func (v *Bool) IsSet() bool

IsSet is true when decode was called

func (*Bool) Set

func (v *Bool) Set(val bool)

Set sets the value

type Float64

type Float64 struct {
	Val float64
	// contains filtered or unexported fields
}

Float64 stores a float64 value and the information if the value has been set

func (*Float64) IsSet

func (v *Float64) IsSet() bool

IsSet is true when decode was called

func (*Float64) Set

func (v *Float64) Set(val float64)

Set sets the value

type HTTPHeader

type HTTPHeader struct {
	Val http.Header
	// contains filtered or unexported fields
}

func (*HTTPHeader) IsSet

func (v *HTTPHeader) IsSet() bool

IsSet is true when decode was called

func (*HTTPHeader) Set

func (v *HTTPHeader) Set(val http.Header)

Set sets the value

type Int

type Int struct {
	Val int
	// contains filtered or unexported fields
}

Int stores an int value and the information if the value has been set

func (*Int) IsSet

func (v *Int) IsSet() bool

IsSet is true when decode was called

func (*Int) Set

func (v *Int) Set(val int)

Set sets the value

type Int64

type Int64 struct {
	Val int64
	// contains filtered or unexported fields
}

Int64 stores an int64 value and the information if the value has been set

func (*Int64) IsSet

func (v *Int64) IsSet() bool

IsSet is true when decode was called

func (*Int64) Set

func (v *Int64) Set(val int64)

Set sets the value

type Interface

type Interface struct {
	Val interface{} `json:"val,omitempty"`
	// contains filtered or unexported fields
}

Interface stores an interface{} value and the information if the value has been set

TODO(simitt): follow up on https://github.com/elastic/apm-server/pull/4154#discussion_r484166721

func (*Interface) IsSet

func (v *Interface) IsSet() bool

IsSet is true when decode was called

func (*Interface) Set

func (v *Interface) Set(val interface{})

Set sets the value

type String

type String struct {
	Val string
	// contains filtered or unexported fields
}

String stores a string value and the information if the value has been set

func (*String) IsSet

func (v *String) IsSet() bool

IsSet is true when decode was called

func (*String) Set

func (v *String) Set(val string)

Set sets the value

type TimeMicrosUnix

type TimeMicrosUnix struct {
	Val time.Time
	// contains filtered or unexported fields
}

func (*TimeMicrosUnix) IsSet

func (v *TimeMicrosUnix) IsSet() bool

IsSet is true when decode was called

func (*TimeMicrosUnix) Set

func (v *TimeMicrosUnix) Set(val time.Time)

Set sets the value

Jump to

Keyboard shortcuts

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