idtool

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID int64

ID is used to identify many SignalFx resources, including time series.

func IDFromString

func IDFromString(idstr string) ID

IDFromString creates an ID from a pseudo-base64 string

func (ID) String

func (id ID) String() string

String returns the string representation commonly used instead of an int64

func (*ID) UnmarshalJSON

func (id *ID) UnmarshalJSON(b []byte) error

UnmarshalJSON assumes that the id is always serialized in the string format.

Jump to

Keyboard shortcuts

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