Versions in this module Expand all Collapse all v3 v3.4.15 Feb 24, 2021 Changes in this version + var ErrIntOverflowAuth = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthAuth = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAuth = fmt.Errorf("proto: unexpected end of group") + var Permission_Type_name = map[int32]string + var Permission_Type_value = map[string]int32 + type Permission struct + Key []byte + PermType Permission_Type + RangeEnd []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Permission) Descriptor() ([]byte, []int) + func (*Permission) ProtoMessage() + func (m *Permission) Marshal() (dAtA []byte, err error) + func (m *Permission) MarshalTo(dAtA []byte) (int, error) + func (m *Permission) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Permission) Reset() + func (m *Permission) Size() (n int) + func (m *Permission) String() string + func (m *Permission) Unmarshal(dAtA []byte) error + func (m *Permission) XXX_DiscardUnknown() + func (m *Permission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Permission) XXX_Merge(src proto.Message) + func (m *Permission) XXX_Size() int + func (m *Permission) XXX_Unmarshal(b []byte) error + type Permission_Type int32 + const READ + const READWRITE + const WRITE + func (Permission_Type) EnumDescriptor() ([]byte, []int) + func (x Permission_Type) String() string + type Role struct + KeyPermission []*Permission + Name []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Role) Descriptor() ([]byte, []int) + func (*Role) ProtoMessage() + func (m *Role) Marshal() (dAtA []byte, err error) + func (m *Role) MarshalTo(dAtA []byte) (int, error) + func (m *Role) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Role) Reset() + func (m *Role) Size() (n int) + func (m *Role) String() string + func (m *Role) Unmarshal(dAtA []byte) error + func (m *Role) XXX_DiscardUnknown() + func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Role) XXX_Merge(src proto.Message) + func (m *Role) XXX_Size() int + func (m *Role) XXX_Unmarshal(b []byte) error + type User struct + Name []byte + Options *UserAddOptions + Password []byte + Roles []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) Marshal() (dAtA []byte, err error) + func (m *User) MarshalTo(dAtA []byte) (int, error) + func (m *User) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *User) Reset() + func (m *User) Size() (n int) + func (m *User) String() string + func (m *User) Unmarshal(dAtA []byte) error + func (m *User) XXX_DiscardUnknown() + func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *User) XXX_Merge(src proto.Message) + func (m *User) XXX_Size() int + func (m *User) XXX_Unmarshal(b []byte) error + type UserAddOptions struct + NoPassword bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UserAddOptions) Descriptor() ([]byte, []int) + func (*UserAddOptions) ProtoMessage() + func (m *UserAddOptions) Marshal() (dAtA []byte, err error) + func (m *UserAddOptions) MarshalTo(dAtA []byte) (int, error) + func (m *UserAddOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *UserAddOptions) Reset() + func (m *UserAddOptions) Size() (n int) + func (m *UserAddOptions) String() string + func (m *UserAddOptions) Unmarshal(dAtA []byte) error + func (m *UserAddOptions) XXX_DiscardUnknown() + func (m *UserAddOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UserAddOptions) XXX_Merge(src proto.Message) + func (m *UserAddOptions) XXX_Size() int + func (m *UserAddOptions) XXX_Unmarshal(b []byte) error