proto

package
v0.0.0-...-8071ae4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

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) Enum

func (x HashAlgorithm) Enum() *HashAlgorithm

func (HashAlgorithm) EnumDescriptor deprecated

func (HashAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashAlgorithm.Descriptor instead.

func (HashAlgorithm) Number

func (HashAlgorithm) String

func (x HashAlgorithm) String() string

func (HashAlgorithm) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use URLInfo.ProtoReflect.Descriptor instead.

func (*URLInfo) GetEncryptedUrl

func (x *URLInfo) GetEncryptedUrl() *EncryptedURLInfo

func (*URLInfo) GetRequireCaptcha

func (x *URLInfo) GetRequireCaptcha() bool

func (*URLInfo) GetRequirePassword

func (x *URLInfo) GetRequirePassword() bool

func (*URLInfo) GetTimestamp

func (x *URLInfo) GetTimestamp() uint64

func (*URLInfo) GetUrl

func (x *URLInfo) GetUrl() string

func (*URLInfo) MarshalToSizedBufferVT

func (m *URLInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*URLInfo) MarshalToVT

func (m *URLInfo) MarshalToVT(dAtA []byte) (int, error)

func (*URLInfo) MarshalVT

func (m *URLInfo) MarshalVT() (dAtA []byte, err error)

func (*URLInfo) ProtoMessage

func (*URLInfo) ProtoMessage()

func (*URLInfo) ProtoReflect

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

func (*URLInfo) Reset

func (x *URLInfo) Reset()

func (*URLInfo) ResetVT

func (m *URLInfo) ResetVT()

func (*URLInfo) ReturnToVTPool

func (m *URLInfo) ReturnToVTPool()

func (*URLInfo) SizeVT

func (m *URLInfo) SizeVT() (n int)

func (*URLInfo) String

func (x *URLInfo) String() string

func (*URLInfo) UnmarshalVT

func (m *URLInfo) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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