beats: Index | Files

package cfgtype

import ""


Package Files


type ByteSize Uses

type ByteSize int64

ByteSize defines a new configuration option that will parse `go-humanize` compatible values into a int64 when the suffix is valid or will fallback to bytes.

func (*ByteSize) Unpack Uses

func (s *ByteSize) Unpack(v string) error

Unpack converts a size defined from a human readable format into bytes.

Package cfgtype imports 3 packages (graph) and is imported by 71 packages. Updated 2020-03-22. Refresh now. Tools for package owners.