strid

package
v0.0.0-...-9768b48 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 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 STRID

type STRID string
const ZERO STRID = ""

func New

func New() STRID

func (STRID) ByteSize

func (s STRID) ByteSize() (size int)

func (*STRID) Deserialize

func (s *STRID) Deserialize(input *tygo.ProtoBuf) (err error)

func (STRID) Ge

func (s STRID) Ge(o ruid.ID) bool

func (STRID) Hash

func (s STRID) Hash() ruid.ID

func (STRID) Lt

func (s STRID) Lt(o ruid.ID) bool

func (STRID) Nonzero

func (s STRID) Nonzero() bool

func (STRID) Serialize

func (s STRID) Serialize(output *tygo.ProtoBuf)

func (STRID) String

func (s STRID) String() string

type STRIdentity

type STRIdentity int
var STRIdent STRIdentity = 0

func (STRIdentity) Deserialize

func (_ STRIdentity) Deserialize(input *tygo.ProtoBuf) (s ruid.ID, err error)

func (STRIdentity) GetIDs

func (_ STRIdentity) GetIDs(bytes []byte) (ids []ruid.ID)

func (STRIdentity) New

func (_ STRIdentity) New() ruid.ID

func (STRIdentity) Zero

func (_ STRIdentity) Zero() ruid.ID

Jump to

Keyboard shortcuts

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