aggregatepb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_goes_aggregate_ref_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Ref

type Ref struct {
	Id   *common.UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Ref is a reference to an aggregate.

func NewRef

func NewRef(ref aggregate.Ref) *Ref

NewRef convers an aggregate.Ref to a *Ref.

func (*Ref) AsRef

func (ref *Ref) AsRef() aggregate.Ref

AsRef converts the *Ref to an aggregate.Ref.

func (*Ref) Descriptor deprecated

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

Deprecated: Use Ref.ProtoReflect.Descriptor instead.

func (*Ref) GetId

func (x *Ref) GetId() *common.UUID

func (*Ref) GetName

func (x *Ref) GetName() string

func (*Ref) ProtoMessage

func (*Ref) ProtoMessage()

func (*Ref) ProtoReflect

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

func (*Ref) Reset

func (x *Ref) Reset()

func (*Ref) String

func (x *Ref) String() string

Jump to

Keyboard shortcuts

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