resources

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_snowflake_v1_resources_flake_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Flake

type Flake struct {

	// Generated 64 bit integer ID.
	IdInt uint64 `protobuf:"varint,1,opt,name=id_int,json=idInt,proto3" json:"id_int,omitempty"`
	// Base32Hex encoded ID with Big Endian.
	IdHex string `protobuf:"bytes,2,opt,name=id_hex,json=idHex,proto3" json:"id_hex,omitempty"`
	// contains filtered or unexported fields
}

func (*Flake) Descriptor deprecated

func (*Flake) Descriptor() ([]byte, []int)

Deprecated: Use Flake.ProtoReflect.Descriptor instead.

func (*Flake) GetIdHex

func (x *Flake) GetIdHex() string

func (*Flake) GetIdInt

func (x *Flake) GetIdInt() uint64

func (*Flake) ProtoMessage

func (*Flake) ProtoMessage()

func (*Flake) ProtoReflect

func (x *Flake) ProtoReflect() protoreflect.Message

func (*Flake) Reset

func (x *Flake) Reset()

func (*Flake) String

func (x *Flake) String() string

Jump to

Keyboard shortcuts

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