Documentation ¶
Index ¶
- Variables
- type Scram
- func (*Scram) Descriptor() ([]byte, []int)deprecated
- func (x *Scram) GetIterationCount() int64
- func (x *Scram) GetPepperId() string
- func (x *Scram) GetSalt() string
- func (x *Scram) GetSha1() string
- func (x *Scram) GetSha256() string
- func (x *Scram) GetSha3512() string
- func (x *Scram) GetSha512() string
- func (*Scram) ProtoMessage()
- func (x *Scram) ProtoReflect() protoreflect.Message
- func (x *Scram) Reset()
- func (x *Scram) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetScram() *Scram
- func (x *User) GetUsername() string
- func (x *User) MarshalBinary() (data []byte, err error)
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (x *User) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_model_v1_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Scram ¶ added in v0.56.0
type Scram struct { Sha1 string `protobuf:"bytes,1,opt,name=sha1,proto3" json:"sha1,omitempty"` Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"` Sha512 string `protobuf:"bytes,3,opt,name=sha512,proto3" json:"sha512,omitempty"` Sha3512 string `protobuf:"bytes,4,opt,name=sha3512,proto3" json:"sha3512,omitempty"` IterationCount int64 `protobuf:"varint,5,opt,name=iteration_count,json=iterationCount,proto3" json:"iteration_count,omitempty"` Salt string `protobuf:"bytes,6,opt,name=salt,proto3" json:"salt,omitempty"` PepperId string `protobuf:"bytes,7,opt,name=pepper_id,json=pepperId,proto3" json:"pepper_id,omitempty"` // contains filtered or unexported fields }
func (*Scram) Descriptor
deprecated
added in
v0.56.0
func (*Scram) GetIterationCount ¶ added in v0.56.0
func (*Scram) GetPepperId ¶ added in v0.56.0
func (*Scram) GetSha3512 ¶ added in v0.56.0
func (*Scram) ProtoMessage ¶ added in v0.56.0
func (*Scram) ProtoMessage()
func (*Scram) ProtoReflect ¶ added in v0.56.0
func (x *Scram) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Scram *Scram `protobuf:"bytes,2,opt,name=scram,proto3" json:"scram,omitempty"` // contains filtered or unexported fields }
User represents a user entity.
func (*User) Descriptor
deprecated
added in
v0.56.0
func (*User) GetUsername ¶ added in v0.56.0
func (*User) MarshalBinary ¶ added in v0.58.0
MarshalBinary satisfies encoding.BinaryMarshaler interface.
func (*User) ProtoMessage ¶ added in v0.56.0
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.56.0
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalBinary ¶ added in v0.58.0
UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.