package
1.0.0-beta.32
Repository: https://github.com/scaleway/scaleway-sdk-go.git
Documentation: pkg.go.dev
# Functions
NewDuration converts a *time.Duration to a *Duration type.
NewDurationint32Map converts a map[int32]*time.Duration to a Durationint32Map type.
NewDurationSlice converts a []*time.Duration to a DurationSlice type.
NewLongDuration converts a *time.Duration to a *LongDuration type.
NewLongDurationint32Map converts a map[int32]*time.LongDuration to a LongDurationint32Map type.
NewLongDurationSlice converts a []*time.Duration to a LongDurationSlice type.
# Type aliases
Duration implements a JSON Marshaler to encode a time.Duration in milliseconds.
Durationint32Map is a int32 map of *Duration.
DurationSlice is a slice of *Duration.
LongDuration implements a JSON Marshaler to encode a time.Duration in days.
LongDurationint32Map is a int32 map of *LongDuration.
LongDurationSlice is a slice of *LongDuration.