Documentation ¶
Index ¶
- Variables
- type CreateLinkError
- type FilterLink
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetCreatedAt() *timestamppb.Timestamp
- func (x *Link) GetDescribe() string
- func (x *Link) GetHash() string
- func (x *Link) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Link) GetUrl() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type Links
- type NotFoundByHashError
- type NotFoundError
- type StringFilterInput
Constants ¶
This section is empty.
Variables ¶
View Source
var File_infrastructure_repository_crud_types_v1_link_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateLinkError ¶
CreateLinkError - create link error
func (*CreateLinkError) Error ¶
func (e *CreateLinkError) Error() string
type FilterLink ¶
type FilterLink struct { Url *StringFilterInput `json:"url"` Hash *StringFilterInput `json:"hash"` Describe *StringFilterInput `json:"describe"` CreatedAt *StringFilterInput `json:"createdat"` UpdatedAt *StringFilterInput `json:"updatedat"` }
type Link ¶
type Link struct { // 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"` // Create at CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Update at UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
Link
func (*Link) Descriptor
deprecated
func (*Link) GetCreatedAt ¶
func (x *Link) GetCreatedAt() *timestamppb.Timestamp
func (*Link) GetDescribe ¶
func (*Link) GetUpdatedAt ¶
func (x *Link) GetUpdatedAt() *timestamppb.Timestamp
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Links ¶
type Links struct { // Links Link []*Link `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
Link list
func (*Links) Descriptor
deprecated
func (*Links) ProtoMessage ¶
func (*Links) ProtoMessage()
func (*Links) ProtoReflect ¶
func (x *Links) ProtoReflect() protoreflect.Message
type NotFoundByHashError ¶
type NotFoundByHashError struct {
Hash string
}
NotFoundByHashError - not found link by hash
func (*NotFoundByHashError) Error ¶
func (e *NotFoundByHashError) Error() string
type NotFoundError ¶
NotFoundError - not found link
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type StringFilterInput ¶
type StringFilterInput struct { Eq string `json:"eq,omitempty"` Ne string `json:"ne,omitempty"` Lt string `json:"lt,omitempty"` Le string `json:"le,omitempty"` Gt string `json:"gt,omitempty"` Ge string `json:"ge,omitempty"` Contains []string `json:"contains,omitempty"` NotContains []string `json:"notContains,omitempty"` StartsWith string `json:"startsWith,omitempty"` EndsWith string `json:"endsWith,omitempty"` IsEmpty bool `json:"isEmpty,omitempty"` IsNotEmpty bool `json:"isNotEmpty,omitempty"` }
Click to show internal directories.
Click to hide internal directories.