Documentation ¶
Index ¶
- Variables
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetMetadata() *Link_LinksMetadata
- func (x *Link) GetPermanent() bool
- func (x *Link) GetShortUrl() string
- func (x *Link) GetTargetUrl() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type Link_LinksMetadata
- func (*Link_LinksMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *Link_LinksMetadata) GetCreated() *timestamppb.Timestamp
- func (x *Link_LinksMetadata) GetModified() *timestamppb.Timestamp
- func (x *Link_LinksMetadata) GetOwner() string
- func (x *Link_LinksMetadata) GetProtected() bool
- func (*Link_LinksMetadata) ProtoMessage()
- func (x *Link_LinksMetadata) ProtoReflect() protoreflect.Message
- func (x *Link_LinksMetadata) Reset()
- func (x *Link_LinksMetadata) String() string
- type NewLink
- func (*NewLink) Descriptor() ([]byte, []int)deprecated
- func (x *NewLink) GetOwner() string
- func (x *NewLink) GetPermanent() bool
- func (x *NewLink) GetProtected() bool
- func (x *NewLink) GetShortUrl() string
- func (x *NewLink) GetTargetUrl() string
- func (*NewLink) ProtoMessage()
- func (x *NewLink) ProtoReflect() protoreflect.Message
- func (x *NewLink) Reset()
- func (x *NewLink) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_defs_link_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { ShortUrl string `protobuf:"bytes,1,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"` // Unique TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` Permanent bool `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"` Metadata *Link_LinksMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) GetMetadata ¶
func (x *Link) GetMetadata() *Link_LinksMetadata
func (*Link) GetPermanent ¶
func (*Link) GetShortUrl ¶
func (*Link) GetTargetUrl ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Link_LinksMetadata ¶
type Link_LinksMetadata struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Protected bool `protobuf:"varint,2,opt,name=protected,proto3" json:"protected,omitempty"` Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` Modified *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=modified,proto3" json:"modified,omitempty"` // contains filtered or unexported fields }
func (*Link_LinksMetadata) Descriptor
deprecated
func (*Link_LinksMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Link_LinksMetadata.ProtoReflect.Descriptor instead.
func (*Link_LinksMetadata) GetCreated ¶
func (x *Link_LinksMetadata) GetCreated() *timestamppb.Timestamp
func (*Link_LinksMetadata) GetModified ¶
func (x *Link_LinksMetadata) GetModified() *timestamppb.Timestamp
func (*Link_LinksMetadata) GetOwner ¶
func (x *Link_LinksMetadata) GetOwner() string
func (*Link_LinksMetadata) GetProtected ¶
func (x *Link_LinksMetadata) GetProtected() bool
func (*Link_LinksMetadata) ProtoMessage ¶
func (*Link_LinksMetadata) ProtoMessage()
func (*Link_LinksMetadata) ProtoReflect ¶
func (x *Link_LinksMetadata) ProtoReflect() protoreflect.Message
func (*Link_LinksMetadata) Reset ¶
func (x *Link_LinksMetadata) Reset()
func (*Link_LinksMetadata) String ¶
func (x *Link_LinksMetadata) String() string
type NewLink ¶
type NewLink struct { ShortUrl string `protobuf:"bytes,1,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"` // Unique TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"` Permanent bool `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` Protected bool `protobuf:"varint,5,opt,name=protected,proto3" json:"protected,omitempty"` // contains filtered or unexported fields }
[START messages]
func (*NewLink) Descriptor
deprecated
func (*NewLink) GetPermanent ¶
func (*NewLink) GetProtected ¶
func (*NewLink) GetShortUrl ¶
func (*NewLink) GetTargetUrl ¶
func (*NewLink) ProtoMessage ¶
func (*NewLink) ProtoMessage()
func (*NewLink) ProtoReflect ¶
func (x *NewLink) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.