Documentation ¶
Index ¶
- Variables
- type EncryptedURLInfo
- func (*EncryptedURLInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedURLInfo) GetEncryptedUrl() []byte
- func (x *EncryptedURLInfo) GetPasswordSalt() []byte
- func (m *EncryptedURLInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *EncryptedURLInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *EncryptedURLInfo) MarshalVT() (dAtA []byte, err error)
- func (*EncryptedURLInfo) ProtoMessage()
- func (x *EncryptedURLInfo) ProtoReflect() protoreflect.Message
- func (x *EncryptedURLInfo) Reset()
- func (m *EncryptedURLInfo) ResetVT()
- func (m *EncryptedURLInfo) ReturnToVTPool()
- func (m *EncryptedURLInfo) SizeVT() (n int)
- func (x *EncryptedURLInfo) String() string
- func (m *EncryptedURLInfo) UnmarshalVT(dAtA []byte) error
- type HashAlgorithm
- func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x HashAlgorithm) Enum() *HashAlgorithm
- func (HashAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashAlgorithm) Number() protoreflect.EnumNumber
- func (x HashAlgorithm) String() string
- func (HashAlgorithm) Type() protoreflect.EnumType
- type URLInfo
- func (*URLInfo) Descriptor() ([]byte, []int)deprecated
- func (x *URLInfo) GetEncryptedUrl() *EncryptedURLInfo
- func (x *URLInfo) GetRequireCaptcha() bool
- func (x *URLInfo) GetRequirePassword() bool
- func (x *URLInfo) GetTimestamp() uint64
- func (x *URLInfo) GetUrl() string
- func (m *URLInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *URLInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *URLInfo) MarshalVT() (dAtA []byte, err error)
- func (*URLInfo) ProtoMessage()
- func (x *URLInfo) ProtoReflect() protoreflect.Message
- func (x *URLInfo) Reset()
- func (m *URLInfo) ResetVT()
- func (m *URLInfo) ReturnToVTPool()
- func (m *URLInfo) SizeVT() (n int)
- func (x *URLInfo) String() string
- func (m *URLInfo) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HashAlgorithm_name = map[int32]string{ 0: "Argon2ID_v1", } HashAlgorithm_value = map[string]int32{ "Argon2ID_v1": 0, } )
Enum value maps for HashAlgorithm.
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_proto_url_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EncryptedURLInfo ¶
type EncryptedURLInfo struct { EncryptedUrl []byte `protobuf:"bytes,10,opt,name=encrypted_url,json=encryptedUrl,proto3" json:"encrypted_url,omitempty"` PasswordSalt []byte `protobuf:"bytes,20,opt,name=password_salt,json=passwordSalt,proto3" json:"password_salt,omitempty"` // contains filtered or unexported fields }
func EncryptedURLInfoFromVTPool ¶
func EncryptedURLInfoFromVTPool() *EncryptedURLInfo
func (*EncryptedURLInfo) Descriptor
deprecated
func (*EncryptedURLInfo) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedURLInfo.ProtoReflect.Descriptor instead.
func (*EncryptedURLInfo) GetEncryptedUrl ¶
func (x *EncryptedURLInfo) GetEncryptedUrl() []byte
func (*EncryptedURLInfo) GetPasswordSalt ¶
func (x *EncryptedURLInfo) GetPasswordSalt() []byte
func (*EncryptedURLInfo) MarshalToSizedBufferVT ¶
func (m *EncryptedURLInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*EncryptedURLInfo) MarshalToVT ¶
func (m *EncryptedURLInfo) MarshalToVT(dAtA []byte) (int, error)
func (*EncryptedURLInfo) MarshalVT ¶
func (m *EncryptedURLInfo) MarshalVT() (dAtA []byte, err error)
func (*EncryptedURLInfo) ProtoMessage ¶
func (*EncryptedURLInfo) ProtoMessage()
func (*EncryptedURLInfo) ProtoReflect ¶
func (x *EncryptedURLInfo) ProtoReflect() protoreflect.Message
func (*EncryptedURLInfo) Reset ¶
func (x *EncryptedURLInfo) Reset()
func (*EncryptedURLInfo) ResetVT ¶
func (m *EncryptedURLInfo) ResetVT()
func (*EncryptedURLInfo) ReturnToVTPool ¶
func (m *EncryptedURLInfo) ReturnToVTPool()
func (*EncryptedURLInfo) SizeVT ¶
func (m *EncryptedURLInfo) SizeVT() (n int)
func (*EncryptedURLInfo) String ¶
func (x *EncryptedURLInfo) String() string
func (*EncryptedURLInfo) UnmarshalVT ¶
func (m *EncryptedURLInfo) UnmarshalVT(dAtA []byte) error
type HashAlgorithm ¶
type HashAlgorithm int32
const (
HashAlgorithm_Argon2ID_v1 HashAlgorithm = 0
)
func (HashAlgorithm) Descriptor ¶
func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (HashAlgorithm) Enum ¶
func (x HashAlgorithm) Enum() *HashAlgorithm
func (HashAlgorithm) EnumDescriptor
deprecated
func (HashAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashAlgorithm.Descriptor instead.
func (HashAlgorithm) Number ¶
func (x HashAlgorithm) Number() protoreflect.EnumNumber
func (HashAlgorithm) String ¶
func (x HashAlgorithm) String() string
func (HashAlgorithm) Type ¶
func (HashAlgorithm) Type() protoreflect.EnumType
type URLInfo ¶
type URLInfo struct { Url string `protobuf:"bytes,10,opt,name=url,proto3" json:"url,omitempty"` Timestamp uint64 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` RequireCaptcha bool `protobuf:"varint,20,opt,name=require_captcha,json=requireCaptcha,proto3" json:"require_captcha,omitempty"` RequirePassword bool `protobuf:"varint,30,opt,name=require_password,json=requirePassword,proto3" json:"require_password,omitempty"` EncryptedUrl *EncryptedURLInfo `protobuf:"bytes,40,opt,name=encrypted_url,json=encryptedUrl,proto3,oneof" json:"encrypted_url,omitempty"` // contains filtered or unexported fields }
func URLInfoFromVTPool ¶
func URLInfoFromVTPool() *URLInfo
func (*URLInfo) Descriptor
deprecated
func (*URLInfo) GetEncryptedUrl ¶
func (x *URLInfo) GetEncryptedUrl() *EncryptedURLInfo
func (*URLInfo) GetRequireCaptcha ¶
func (*URLInfo) GetRequirePassword ¶
func (*URLInfo) GetTimestamp ¶
func (*URLInfo) MarshalToSizedBufferVT ¶
func (*URLInfo) ProtoMessage ¶
func (*URLInfo) ProtoMessage()
func (*URLInfo) ProtoReflect ¶
func (x *URLInfo) ProtoReflect() protoreflect.Message
func (*URLInfo) ReturnToVTPool ¶
func (m *URLInfo) ReturnToVTPool()
func (*URLInfo) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.