fields

package
v0.0.0-...-df6d72d Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration time.Duration

func (Duration) MarshalText

func (d Duration) MarshalText() ([]byte, error)

MarshalText serializes Durations in a human-friendly way (it's shown in nanoseconds by default)

type Secret

type Secret string

Secret is a string that is marshaled in an opaque way, so we are not leaking sensitive information

func (Secret) MarshalText

func (s Secret) MarshalText() ([]byte, error)

MarshalText marshals the secret as `[REDACTED]`.

Jump to

Keyboard shortcuts

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