Documentation
¶
Index ¶
- Constants
- Variables
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetDescription() string
- func (x *Meta) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *Meta) GetId() string
- func (x *Meta) GetImageUrl() string
- func (x *Meta) GetKeywords() string
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (x *Meta) String() string
Constants ¶
View Source
const (
MQ_EVENT_CQRS_NEW = "shortlink.metadata.cqrs.new"
)
Variables ¶
View Source
var ( // Link CRUD methods METHOD_ADD = notify.NewEventID() METHOD_GET = notify.NewEventID() METHOD_LIST = notify.NewEventID() METHOD_UPDATE = notify.NewEventID() METHOD_DELETE = notify.NewEventID() )
View Source
var File_domain_metadata_v1_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { // Field mask FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // ID is the ID of the shortlink Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Title is the title of the shortlink ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // Description is the description of the shortlink Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Keywords is the keywords of the shortlink Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"` // contains filtered or unexported fields }
Meta is the metadata for a shortlink
func (*Meta) Descriptor
deprecated
func (*Meta) GetDescription ¶
func (*Meta) GetFieldMask ¶
func (x *Meta) GetFieldMask() *fieldmaskpb.FieldMask
func (*Meta) GetImageUrl ¶
func (*Meta) GetKeywords ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.