v1

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_domain_link_cqrs_v1_link_proto protoreflect.FileDescriptor
View Source
var (
	METHOD_CQRS_GET = notify.NewEventID()
)

Link CQRS methods

Functions

This section is empty.

Types

type LinkView

type LinkView struct {
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,9,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// URL
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Hash by URL + salt
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// Describe of link
	Describe string `protobuf:"bytes,3,opt,name=describe,proto3" json:"describe,omitempty"`
	// Metadata
	ImageUrl        string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	MetaDescription string `protobuf:"bytes,5,opt,name=meta_description,json=metaDescription,proto3" json:"meta_description,omitempty"`
	MetaKeywords    string `protobuf:"bytes,6,opt,name=meta_keywords,json=metaKeywords,proto3" json:"meta_keywords,omitempty"`
	// Create at
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Update at
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkView) Descriptor deprecated

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

Deprecated: Use LinkView.ProtoReflect.Descriptor instead.

func (*LinkView) GetCreatedAt

func (x *LinkView) GetCreatedAt() *timestamppb.Timestamp

func (*LinkView) GetDescribe

func (x *LinkView) GetDescribe() string

func (*LinkView) GetFieldMask

func (x *LinkView) GetFieldMask() *fieldmaskpb.FieldMask

func (*LinkView) GetHash

func (x *LinkView) GetHash() string

func (*LinkView) GetImageUrl

func (x *LinkView) GetImageUrl() string

func (*LinkView) GetMetaDescription

func (x *LinkView) GetMetaDescription() string

func (*LinkView) GetMetaKeywords

func (x *LinkView) GetMetaKeywords() string

func (*LinkView) GetUpdatedAt

func (x *LinkView) GetUpdatedAt() *timestamppb.Timestamp

func (*LinkView) GetUrl

func (x *LinkView) GetUrl() string

func (*LinkView) ProtoMessage

func (*LinkView) ProtoMessage()

func (*LinkView) ProtoReflect

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

func (*LinkView) Reset

func (x *LinkView) Reset()

func (*LinkView) String

func (x *LinkView) String() string

type LinksView

type LinksView struct {
	Links []*LinkView `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*LinksView) Descriptor deprecated

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

Deprecated: Use LinksView.ProtoReflect.Descriptor instead.

func (x *LinksView) GetLinks() []*LinkView

func (*LinksView) ProtoMessage

func (*LinksView) ProtoMessage()

func (*LinksView) ProtoReflect

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

func (*LinksView) Reset

func (x *LinksView) Reset()

func (*LinksView) String

func (x *LinksView) String() string

Jump to

Keyboard shortcuts

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