common

package
v1.34.0-20230526075007... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AvatarColor_name = map[int32]string{
		0: "AVATAR_COLOR_UNSPECIFIED",
		1: "AVATAR_COLOR_BLUE",
		2: "AVATAR_COLOR_GREEN",
		3: "AVATAR_COLOR_RED",
		4: "AVATAR_COLOR_ORANGE",
	}
	AvatarColor_value = map[string]int32{
		"AVATAR_COLOR_UNSPECIFIED": 0,
		"AVATAR_COLOR_BLUE":        1,
		"AVATAR_COLOR_GREEN":       2,
		"AVATAR_COLOR_RED":         3,
		"AVATAR_COLOR_ORANGE":      4,
	}
)

Enum value maps for AvatarColor.

View Source
var File_nuntio_management_model_common_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AvatarColor

type AvatarColor int32
const (
	AvatarColor_AVATAR_COLOR_UNSPECIFIED AvatarColor = 0
	AvatarColor_AVATAR_COLOR_BLUE        AvatarColor = 1
	AvatarColor_AVATAR_COLOR_GREEN       AvatarColor = 2
	AvatarColor_AVATAR_COLOR_RED         AvatarColor = 3
	AvatarColor_AVATAR_COLOR_ORANGE      AvatarColor = 4
)

func (AvatarColor) Descriptor

func (AvatarColor) Enum

func (x AvatarColor) Enum() *AvatarColor

func (AvatarColor) EnumDescriptor deprecated

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

Deprecated: Use AvatarColor.Descriptor instead.

func (AvatarColor) Number

func (x AvatarColor) Number() protoreflect.EnumNumber

func (AvatarColor) String

func (x AvatarColor) String() string

func (AvatarColor) Type

type BcryptHashingConfig

type BcryptHashingConfig struct {
	Cost int32 `protobuf:"varint,1,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

func (*BcryptHashingConfig) Descriptor deprecated

func (*BcryptHashingConfig) Descriptor() ([]byte, []int)

Deprecated: Use BcryptHashingConfig.ProtoReflect.Descriptor instead.

func (*BcryptHashingConfig) GetCost

func (x *BcryptHashingConfig) GetCost() int32

func (*BcryptHashingConfig) ProtoMessage

func (*BcryptHashingConfig) ProtoMessage()

func (*BcryptHashingConfig) ProtoReflect

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

func (*BcryptHashingConfig) Reset

func (x *BcryptHashingConfig) Reset()

func (*BcryptHashingConfig) String

func (x *BcryptHashingConfig) String() string

type BcryptHashingInstance

type BcryptHashingInstance struct {
	// contains filtered or unexported fields
}

func (*BcryptHashingInstance) Descriptor deprecated

func (*BcryptHashingInstance) Descriptor() ([]byte, []int)

Deprecated: Use BcryptHashingInstance.ProtoReflect.Descriptor instead.

func (*BcryptHashingInstance) ProtoMessage

func (*BcryptHashingInstance) ProtoMessage()

func (*BcryptHashingInstance) ProtoReflect

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

func (*BcryptHashingInstance) Reset

func (x *BcryptHashingInstance) Reset()

func (*BcryptHashingInstance) String

func (x *BcryptHashingInstance) String() string

type HashingConfig

type HashingConfig struct {

	// Types that are assignable to Method:
	//
	//	*HashingConfig_Bcrypt
	//	*HashingConfig_Scrypt
	Method isHashingConfig_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

func (*HashingConfig) Descriptor deprecated

func (*HashingConfig) Descriptor() ([]byte, []int)

Deprecated: Use HashingConfig.ProtoReflect.Descriptor instead.

func (*HashingConfig) GetBcrypt

func (x *HashingConfig) GetBcrypt() *BcryptHashingConfig

func (*HashingConfig) GetMethod

func (m *HashingConfig) GetMethod() isHashingConfig_Method

func (*HashingConfig) GetScrypt

func (x *HashingConfig) GetScrypt() *ScryptHashingConfig

func (*HashingConfig) ProtoMessage

func (*HashingConfig) ProtoMessage()

func (*HashingConfig) ProtoReflect

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

func (*HashingConfig) Reset

func (x *HashingConfig) Reset()

func (*HashingConfig) String

func (x *HashingConfig) String() string

type HashingConfig_Bcrypt

type HashingConfig_Bcrypt struct {
	Bcrypt *BcryptHashingConfig `protobuf:"bytes,1,opt,name=bcrypt,proto3,oneof"`
}

type HashingConfig_Scrypt

type HashingConfig_Scrypt struct {
	Scrypt *ScryptHashingConfig `protobuf:"bytes,2,opt,name=scrypt,proto3,oneof"`
}

type HashingInstance

type HashingInstance struct {
	Config *HashingConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Hash   []byte         `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// Types that are assignable to Instance:
	//
	//	*HashingInstance_Bcrypt
	//	*HashingInstance_Scrypt
	Instance isHashingInstance_Instance `protobuf_oneof:"instance"`
	// contains filtered or unexported fields
}

func (*HashingInstance) Descriptor deprecated

func (*HashingInstance) Descriptor() ([]byte, []int)

Deprecated: Use HashingInstance.ProtoReflect.Descriptor instead.

func (*HashingInstance) GetBcrypt

func (x *HashingInstance) GetBcrypt() *BcryptHashingInstance

func (*HashingInstance) GetConfig

func (x *HashingInstance) GetConfig() *HashingConfig

func (*HashingInstance) GetHash

func (x *HashingInstance) GetHash() []byte

func (*HashingInstance) GetInstance

func (m *HashingInstance) GetInstance() isHashingInstance_Instance

func (*HashingInstance) GetScrypt

func (x *HashingInstance) GetScrypt() *ScryptHashingInstance

func (*HashingInstance) ProtoMessage

func (*HashingInstance) ProtoMessage()

func (*HashingInstance) ProtoReflect

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

func (*HashingInstance) Reset

func (x *HashingInstance) Reset()

func (*HashingInstance) String

func (x *HashingInstance) String() string

type HashingInstance_Bcrypt

type HashingInstance_Bcrypt struct {
	Bcrypt *BcryptHashingInstance `protobuf:"bytes,3,opt,name=bcrypt,proto3,oneof"`
}

type HashingInstance_Scrypt

type HashingInstance_Scrypt struct {
	Scrypt *ScryptHashingInstance `protobuf:"bytes,4,opt,name=scrypt,proto3,oneof"`
}

type Image

type Image struct {
	Url       string                 `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	Expires   bool                   `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"`
	Key       string                 `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*Image) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetExpires

func (x *Image) GetExpires() bool

func (*Image) GetExpiresAt

func (x *Image) GetExpiresAt() *timestamppb.Timestamp

func (*Image) GetKey

func (x *Image) GetKey() string

func (*Image) GetUrl

func (x *Image) GetUrl() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type Metadata

type Metadata struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetKey

func (x *Metadata) GetKey() string

func (*Metadata) GetValue

func (x *Metadata) GetValue() []byte

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Pagination

type Pagination struct {
	Offset     uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit      uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Descending bool   `protobuf:"varint,3,opt,name=descending,proto3" json:"descending,omitempty"`
	// contains filtered or unexported fields
}

func (*Pagination) Descriptor deprecated

func (*Pagination) Descriptor() ([]byte, []int)

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetDescending

func (x *Pagination) GetDescending() bool

func (*Pagination) GetLimit

func (x *Pagination) GetLimit() uint32

func (*Pagination) GetOffset

func (x *Pagination) GetOffset() uint32

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type ScryptHashingConfig

type ScryptHashingConfig struct {
	SignerKey     string `protobuf:"bytes,1,opt,name=signer_key,json=signerKey,proto3" json:"signer_key,omitempty"`
	SaltSeparator string `protobuf:"bytes,2,opt,name=salt_separator,json=saltSeparator,proto3" json:"salt_separator,omitempty"`
	Rounds        int32  `protobuf:"varint,3,opt,name=rounds,proto3" json:"rounds,omitempty"`
	MemCost       int32  `protobuf:"varint,4,opt,name=mem_cost,json=memCost,proto3" json:"mem_cost,omitempty"`
	P             int32  `protobuf:"varint,5,opt,name=p,proto3" json:"p,omitempty"`
	KeyLen        int32  `protobuf:"varint,6,opt,name=key_len,json=keyLen,proto3" json:"key_len,omitempty"`
	// contains filtered or unexported fields
}

func (*ScryptHashingConfig) Descriptor deprecated

func (*ScryptHashingConfig) Descriptor() ([]byte, []int)

Deprecated: Use ScryptHashingConfig.ProtoReflect.Descriptor instead.

func (*ScryptHashingConfig) GetKeyLen

func (x *ScryptHashingConfig) GetKeyLen() int32

func (*ScryptHashingConfig) GetMemCost

func (x *ScryptHashingConfig) GetMemCost() int32

func (*ScryptHashingConfig) GetP

func (x *ScryptHashingConfig) GetP() int32

func (*ScryptHashingConfig) GetRounds

func (x *ScryptHashingConfig) GetRounds() int32

func (*ScryptHashingConfig) GetSaltSeparator

func (x *ScryptHashingConfig) GetSaltSeparator() string

func (*ScryptHashingConfig) GetSignerKey

func (x *ScryptHashingConfig) GetSignerKey() string

func (*ScryptHashingConfig) ProtoMessage

func (*ScryptHashingConfig) ProtoMessage()

func (*ScryptHashingConfig) ProtoReflect

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

func (*ScryptHashingConfig) Reset

func (x *ScryptHashingConfig) Reset()

func (*ScryptHashingConfig) String

func (x *ScryptHashingConfig) String() string

type ScryptHashingInstance

type ScryptHashingInstance struct {
	Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*ScryptHashingInstance) Descriptor deprecated

func (*ScryptHashingInstance) Descriptor() ([]byte, []int)

Deprecated: Use ScryptHashingInstance.ProtoReflect.Descriptor instead.

func (*ScryptHashingInstance) GetSalt

func (x *ScryptHashingInstance) GetSalt() []byte

func (*ScryptHashingInstance) ProtoMessage

func (*ScryptHashingInstance) ProtoMessage()

func (*ScryptHashingInstance) ProtoReflect

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

func (*ScryptHashingInstance) Reset

func (x *ScryptHashingInstance) Reset()

func (*ScryptHashingInstance) String

func (x *ScryptHashingInstance) String() string

Jump to

Keyboard shortcuts

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