bytes

package
v8.14.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package bytes

Index

Constants

This section is empty.

Variables

View Source
var (
	B = Bytes{"b"}

	Kb = Bytes{"kb"}

	Mb = Bytes{"mb"}

	Gb = Bytes{"gb"}

	Tb = Bytes{"tb"}

	Pb = Bytes{"pb"}
)

Functions

This section is empty.

Types

type Bytes

type Bytes struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/5fb8f1ce9c4605abcaa44aa0f17dbfc60497a757/specification/_types/common.ts#L169-L181

func (Bytes) MarshalText

func (b Bytes) MarshalText() (text []byte, err error)

func (Bytes) String

func (b Bytes) String() string

func (*Bytes) UnmarshalText

func (b *Bytes) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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