Documentation
¶
Index ¶
- Variables
- type ShortenedUrl
- func (*ShortenedUrl) Descriptor() ([]byte, []int)deprecated
- func (x *ShortenedUrl) GetCreatedAt() *timestamppb.Timestamp
- func (x *ShortenedUrl) GetExpiredAt() *timestamppb.Timestamp
- func (x *ShortenedUrl) GetId() int64
- func (x *ShortenedUrl) GetOriginalUrl() string
- func (x *ShortenedUrl) GetShortUrl() string
- func (*ShortenedUrl) ProtoMessage()
- func (x *ShortenedUrl) ProtoReflect() protoreflect.Message
- func (x *ShortenedUrl) Reset()
- func (x *ShortenedUrl) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_entity_domain_shortening_model_shortening_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ShortenedUrl ¶
type ShortenedUrl struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OriginalUrl string `protobuf:"bytes,2,opt,name=original_url,json=originalUrl,proto3" json:"original_url,omitempty"` ShortUrl string `protobuf:"bytes,3,opt,name=short_url,json=shortUrl,proto3" json:"short_url,omitempty"` // @gotags: swaggertype:"string" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" swaggertype:"string"` // @gotags: swaggertype:"string" ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty" swaggertype:"string"` // contains filtered or unexported fields }
func (*ShortenedUrl) Descriptor
deprecated
func (*ShortenedUrl) Descriptor() ([]byte, []int)
Deprecated: Use ShortenedUrl.ProtoReflect.Descriptor instead.
func (*ShortenedUrl) GetCreatedAt ¶
func (x *ShortenedUrl) GetCreatedAt() *timestamppb.Timestamp
func (*ShortenedUrl) GetExpiredAt ¶
func (x *ShortenedUrl) GetExpiredAt() *timestamppb.Timestamp
func (*ShortenedUrl) GetId ¶
func (x *ShortenedUrl) GetId() int64
func (*ShortenedUrl) GetOriginalUrl ¶
func (x *ShortenedUrl) GetOriginalUrl() string
func (*ShortenedUrl) GetShortUrl ¶
func (x *ShortenedUrl) GetShortUrl() string
func (*ShortenedUrl) ProtoMessage ¶
func (*ShortenedUrl) ProtoMessage()
func (*ShortenedUrl) ProtoReflect ¶
func (x *ShortenedUrl) ProtoReflect() protoreflect.Message
func (*ShortenedUrl) Reset ¶
func (x *ShortenedUrl) Reset()
func (*ShortenedUrl) String ¶
func (x *ShortenedUrl) String() string
Click to show internal directories.
Click to hide internal directories.