wwn

package
v0.0.0-...-ede35a2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value [16]byte

Value is a World Wide Name value used to uniquely identify storage volumes. The most significant byte is first.

func (Value) IsZero

func (v Value) IsZero() bool

String returns a string representation of the WWN.

func (Value) MarshalText

func (v Value) MarshalText() (text []byte, err error)

MarshalText implements the encoding.TextMarshaler interface.

func (Value) String

func (id Value) String() string

String returns a string representation of the WWN.

func (Value) Type

func (v Value) Type() int

Type returns the Network Address Authority type number of the WWN.

func (*Value) UnmarshalText

func (v *Value) UnmarshalText(text []byte) error

UnmarshalText implements the encoding.TextUnmarshaler interface.

Jump to

Keyboard shortcuts

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