types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct{ Dur time.Duration }

func (Duration) JSONSchema

func (Duration) JSONSchema() *jsonschema.Schema

func (Duration) UnmarshalYAML

func (d Duration) UnmarshalYAML(unmarshal func(interface{}) error) error

type Size

type Size struct{ Size units.Base2Bytes }

func (Size) JSONSchema

func (Size) JSONSchema() *jsonschema.Schema

func (Size) UnmarshalYAML

func (s Size) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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