Documentation ¶
Index ¶
- func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
- type CheckUserPasswordRequest
- func (*CheckUserPasswordRequest) Descriptor() ([]byte, []int)
- func (m *CheckUserPasswordRequest) GetPassword() *IncompletePassword
- func (m *CheckUserPasswordRequest) GetUUID() *UUID
- func (*CheckUserPasswordRequest) ProtoMessage()
- func (m *CheckUserPasswordRequest) Reset()
- func (m *CheckUserPasswordRequest) String() string
- func (m *CheckUserPasswordRequest) XXX_DiscardUnknown()
- func (m *CheckUserPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckUserPasswordRequest) XXX_Merge(src proto.Message)
- func (m *CheckUserPasswordRequest) XXX_Size() int
- func (m *CheckUserPasswordRequest) XXX_Unmarshal(b []byte) error
- type CompletePassword
- func (*CompletePassword) Descriptor() ([]byte, []int)
- func (m *CompletePassword) GetHash() []byte
- func (*CompletePassword) ProtoMessage()
- func (m *CompletePassword) Reset()
- func (m *CompletePassword) String() string
- func (m *CompletePassword) XXX_DiscardUnknown()
- func (m *CompletePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompletePassword) XXX_Merge(src proto.Message)
- func (m *CompletePassword) XXX_Size() int
- func (m *CompletePassword) XXX_Unmarshal(b []byte) error
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)
- func (m *CreateUserRequest) GetData() *Data
- func (*CreateUserRequest) ProtoMessage()
- func (m *CreateUserRequest) Reset()
- func (m *CreateUserRequest) String() string
- func (m *CreateUserRequest) XXX_DiscardUnknown()
- func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateUserRequest) XXX_Merge(src proto.Message)
- func (m *CreateUserRequest) XXX_Size() int
- func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetBanned() bool
- func (m *Data) GetEmail() string
- func (m *Data) GetGameHash() string
- func (m *Data) GetUsername() string
- func (m *Data) GetWCFUserID() uint64
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)
- func (m *DeleteUserRequest) GetUUID() *UUID
- func (*DeleteUserRequest) ProtoMessage()
- func (m *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) String() string
- func (m *DeleteUserRequest) XXX_DiscardUnknown()
- func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteUserRequest) XXX_Merge(src proto.Message)
- func (m *DeleteUserRequest) XXX_Size() int
- func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
- type GetUserByGameSerialHashRequest
- func (*GetUserByGameSerialHashRequest) Descriptor() ([]byte, []int)
- func (m *GetUserByGameSerialHashRequest) GetHash() string
- func (*GetUserByGameSerialHashRequest) ProtoMessage()
- func (m *GetUserByGameSerialHashRequest) Reset()
- func (m *GetUserByGameSerialHashRequest) String() string
- func (m *GetUserByGameSerialHashRequest) XXX_DiscardUnknown()
- func (m *GetUserByGameSerialHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByGameSerialHashRequest) XXX_Merge(src proto.Message)
- func (m *GetUserByGameSerialHashRequest) XXX_Size() int
- func (m *GetUserByGameSerialHashRequest) XXX_Unmarshal(b []byte) error
- type GetUserByWCFUserIDRequest
- func (*GetUserByWCFUserIDRequest) Descriptor() ([]byte, []int)
- func (m *GetUserByWCFUserIDRequest) GetWCFUserID() uint64
- func (*GetUserByWCFUserIDRequest) ProtoMessage()
- func (m *GetUserByWCFUserIDRequest) Reset()
- func (m *GetUserByWCFUserIDRequest) String() string
- func (m *GetUserByWCFUserIDRequest) XXX_DiscardUnknown()
- func (m *GetUserByWCFUserIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserByWCFUserIDRequest) XXX_Merge(src proto.Message)
- func (m *GetUserByWCFUserIDRequest) XXX_Size() int
- func (m *GetUserByWCFUserIDRequest) XXX_Unmarshal(b []byte) error
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)
- func (m *GetUserRequest) GetUUID() *UUID
- func (*GetUserRequest) ProtoMessage()
- func (m *GetUserRequest) Reset()
- func (m *GetUserRequest) String() string
- func (m *GetUserRequest) XXX_DiscardUnknown()
- func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUserRequest) XXX_Merge(src proto.Message)
- func (m *GetUserRequest) XXX_Size() int
- func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
- type GetWCFInfoRequest
- func (*GetWCFInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetWCFInfoRequest) GetName() string
- func (*GetWCFInfoRequest) ProtoMessage()
- func (m *GetWCFInfoRequest) Reset()
- func (m *GetWCFInfoRequest) String() string
- func (m *GetWCFInfoRequest) XXX_DiscardUnknown()
- func (m *GetWCFInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetWCFInfoRequest) XXX_Merge(src proto.Message)
- func (m *GetWCFInfoRequest) XXX_Size() int
- func (m *GetWCFInfoRequest) XXX_Unmarshal(b []byte) error
- type IncompletePassword
- func (*IncompletePassword) Descriptor() ([]byte, []int)
- func (m *IncompletePassword) GetPassword() string
- func (*IncompletePassword) ProtoMessage()
- func (m *IncompletePassword) Reset()
- func (m *IncompletePassword) String() string
- func (m *IncompletePassword) XXX_DiscardUnknown()
- func (m *IncompletePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncompletePassword) XXX_Merge(src proto.Message)
- func (m *IncompletePassword) XXX_Size() int
- func (m *IncompletePassword) XXX_Unmarshal(b []byte) error
- type ManagerClient
- type ManagerServer
- type SetUserRolesRequest
- func (*SetUserRolesRequest) Descriptor() ([]byte, []int)
- func (m *SetUserRolesRequest) GetRoles() *proto1.AccountRoles
- func (m *SetUserRolesRequest) GetUUID() *UUID
- func (*SetUserRolesRequest) ProtoMessage()
- func (m *SetUserRolesRequest) Reset()
- func (m *SetUserRolesRequest) String() string
- func (m *SetUserRolesRequest) XXX_DiscardUnknown()
- func (m *SetUserRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetUserRolesRequest) XXX_Merge(src proto.Message)
- func (m *SetUserRolesRequest) XXX_Size() int
- func (m *SetUserRolesRequest) XXX_Unmarshal(b []byte) error
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)
- func (m *UUID) GetUUID() string
- func (*UUID) ProtoMessage()
- func (m *UUID) Reset()
- func (m *UUID) String() string
- func (m *UUID) XXX_DiscardUnknown()
- func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UUID) XXX_Merge(src proto.Message)
- func (m *UUID) XXX_Size() int
- func (m *UUID) XXX_Unmarshal(b []byte) error
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)
- func (m *UpdateUserRequest) GetData() *Data
- func (m *UpdateUserRequest) GetUUID() *UUID
- func (*UpdateUserRequest) ProtoMessage()
- func (m *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) String() string
- func (m *UpdateUserRequest) XXX_DiscardUnknown()
- func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
- func (m *UpdateUserRequest) XXX_Size() int
- func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetData() *Data
- func (m *User) GetUUID() *UUID
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- 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 WCFUserInfo
- func (*WCFUserInfo) Descriptor() ([]byte, []int)
- func (m *WCFUserInfo) GetEmail() string
- func (m *WCFUserInfo) GetPassword() []byte
- func (m *WCFUserInfo) GetUserID() uint64
- func (m *WCFUserInfo) GetUsername() string
- func (*WCFUserInfo) ProtoMessage()
- func (m *WCFUserInfo) Reset()
- func (m *WCFUserInfo) String() string
- func (m *WCFUserInfo) XXX_DiscardUnknown()
- func (m *WCFUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WCFUserInfo) XXX_Merge(src proto.Message)
- func (m *WCFUserInfo) XXX_Size() int
- func (m *WCFUserInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterManagerServer ¶
func RegisterManagerServer(s *grpc.Server, srv ManagerServer)
Types ¶
type CheckUserPasswordRequest ¶
type CheckUserPasswordRequest struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Password *IncompletePassword `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CheckUserPasswordRequest) Descriptor ¶
func (*CheckUserPasswordRequest) Descriptor() ([]byte, []int)
func (*CheckUserPasswordRequest) GetPassword ¶
func (m *CheckUserPasswordRequest) GetPassword() *IncompletePassword
func (*CheckUserPasswordRequest) GetUUID ¶
func (m *CheckUserPasswordRequest) GetUUID() *UUID
func (*CheckUserPasswordRequest) ProtoMessage ¶
func (*CheckUserPasswordRequest) ProtoMessage()
func (*CheckUserPasswordRequest) Reset ¶
func (m *CheckUserPasswordRequest) Reset()
func (*CheckUserPasswordRequest) String ¶
func (m *CheckUserPasswordRequest) String() string
func (*CheckUserPasswordRequest) XXX_DiscardUnknown ¶
func (m *CheckUserPasswordRequest) XXX_DiscardUnknown()
func (*CheckUserPasswordRequest) XXX_Marshal ¶
func (m *CheckUserPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckUserPasswordRequest) XXX_Merge ¶
func (m *CheckUserPasswordRequest) XXX_Merge(src proto.Message)
func (*CheckUserPasswordRequest) XXX_Size ¶
func (m *CheckUserPasswordRequest) XXX_Size() int
func (*CheckUserPasswordRequest) XXX_Unmarshal ¶
func (m *CheckUserPasswordRequest) XXX_Unmarshal(b []byte) error
type CompletePassword ¶
type CompletePassword struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompletePassword) Descriptor ¶
func (*CompletePassword) Descriptor() ([]byte, []int)
func (*CompletePassword) GetHash ¶
func (m *CompletePassword) GetHash() []byte
func (*CompletePassword) ProtoMessage ¶
func (*CompletePassword) ProtoMessage()
func (*CompletePassword) Reset ¶
func (m *CompletePassword) Reset()
func (*CompletePassword) String ¶
func (m *CompletePassword) String() string
func (*CompletePassword) XXX_DiscardUnknown ¶
func (m *CompletePassword) XXX_DiscardUnknown()
func (*CompletePassword) XXX_Marshal ¶
func (m *CompletePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompletePassword) XXX_Merge ¶
func (m *CompletePassword) XXX_Merge(src proto.Message)
func (*CompletePassword) XXX_Size ¶
func (m *CompletePassword) XXX_Size() int
func (*CompletePassword) XXX_Unmarshal ¶
func (m *CompletePassword) XXX_Unmarshal(b []byte) error
type CreateUserRequest ¶
type CreateUserRequest struct { Data *Data `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateUserRequest) Descriptor ¶
func (*CreateUserRequest) Descriptor() ([]byte, []int)
func (*CreateUserRequest) GetData ¶
func (m *CreateUserRequest) GetData() *Data
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) Reset ¶
func (m *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (m *CreateUserRequest) String() string
func (*CreateUserRequest) XXX_DiscardUnknown ¶
func (m *CreateUserRequest) XXX_DiscardUnknown()
func (*CreateUserRequest) XXX_Marshal ¶
func (m *CreateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateUserRequest) XXX_Merge ¶
func (m *CreateUserRequest) XXX_Merge(src proto.Message)
func (*CreateUserRequest) XXX_Size ¶
func (m *CreateUserRequest) XXX_Size() int
func (*CreateUserRequest) XXX_Unmarshal ¶
func (m *CreateUserRequest) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct { WCFUserID uint64 `protobuf:"varint,1,opt,name=WCFUserID,proto3" json:"WCFUserID,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` Email string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"` GameHash string `protobuf:"bytes,4,opt,name=GameHash,proto3" json:"GameHash,omitempty"` Banned bool `protobuf:"varint,5,opt,name=Banned,proto3" json:"Banned,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) GetGameHash ¶
func (*Data) GetUsername ¶
func (*Data) GetWCFUserID ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type DeleteUserRequest ¶
type DeleteUserRequest struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteUserRequest) Descriptor ¶
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
func (*DeleteUserRequest) GetUUID ¶
func (m *DeleteUserRequest) GetUUID() *UUID
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) Reset ¶
func (m *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (m *DeleteUserRequest) String() string
func (*DeleteUserRequest) XXX_DiscardUnknown ¶
func (m *DeleteUserRequest) XXX_DiscardUnknown()
func (*DeleteUserRequest) XXX_Marshal ¶
func (m *DeleteUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteUserRequest) XXX_Merge ¶
func (m *DeleteUserRequest) XXX_Merge(src proto.Message)
func (*DeleteUserRequest) XXX_Size ¶
func (m *DeleteUserRequest) XXX_Size() int
func (*DeleteUserRequest) XXX_Unmarshal ¶
func (m *DeleteUserRequest) XXX_Unmarshal(b []byte) error
type GetUserByGameSerialHashRequest ¶
type GetUserByGameSerialHashRequest struct { Hash string `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByGameSerialHashRequest) Descriptor ¶
func (*GetUserByGameSerialHashRequest) Descriptor() ([]byte, []int)
func (*GetUserByGameSerialHashRequest) GetHash ¶
func (m *GetUserByGameSerialHashRequest) GetHash() string
func (*GetUserByGameSerialHashRequest) ProtoMessage ¶
func (*GetUserByGameSerialHashRequest) ProtoMessage()
func (*GetUserByGameSerialHashRequest) Reset ¶
func (m *GetUserByGameSerialHashRequest) Reset()
func (*GetUserByGameSerialHashRequest) String ¶
func (m *GetUserByGameSerialHashRequest) String() string
func (*GetUserByGameSerialHashRequest) XXX_DiscardUnknown ¶
func (m *GetUserByGameSerialHashRequest) XXX_DiscardUnknown()
func (*GetUserByGameSerialHashRequest) XXX_Marshal ¶
func (m *GetUserByGameSerialHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByGameSerialHashRequest) XXX_Merge ¶
func (m *GetUserByGameSerialHashRequest) XXX_Merge(src proto.Message)
func (*GetUserByGameSerialHashRequest) XXX_Size ¶
func (m *GetUserByGameSerialHashRequest) XXX_Size() int
func (*GetUserByGameSerialHashRequest) XXX_Unmarshal ¶
func (m *GetUserByGameSerialHashRequest) XXX_Unmarshal(b []byte) error
type GetUserByWCFUserIDRequest ¶
type GetUserByWCFUserIDRequest struct { WCFUserID uint64 `protobuf:"varint,1,opt,name=WCFUserID,proto3" json:"WCFUserID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserByWCFUserIDRequest) Descriptor ¶
func (*GetUserByWCFUserIDRequest) Descriptor() ([]byte, []int)
func (*GetUserByWCFUserIDRequest) GetWCFUserID ¶
func (m *GetUserByWCFUserIDRequest) GetWCFUserID() uint64
func (*GetUserByWCFUserIDRequest) ProtoMessage ¶
func (*GetUserByWCFUserIDRequest) ProtoMessage()
func (*GetUserByWCFUserIDRequest) Reset ¶
func (m *GetUserByWCFUserIDRequest) Reset()
func (*GetUserByWCFUserIDRequest) String ¶
func (m *GetUserByWCFUserIDRequest) String() string
func (*GetUserByWCFUserIDRequest) XXX_DiscardUnknown ¶
func (m *GetUserByWCFUserIDRequest) XXX_DiscardUnknown()
func (*GetUserByWCFUserIDRequest) XXX_Marshal ¶
func (m *GetUserByWCFUserIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserByWCFUserIDRequest) XXX_Merge ¶
func (m *GetUserByWCFUserIDRequest) XXX_Merge(src proto.Message)
func (*GetUserByWCFUserIDRequest) XXX_Size ¶
func (m *GetUserByWCFUserIDRequest) XXX_Size() int
func (*GetUserByWCFUserIDRequest) XXX_Unmarshal ¶
func (m *GetUserByWCFUserIDRequest) XXX_Unmarshal(b []byte) error
type GetUserRequest ¶
type GetUserRequest struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUserRequest) Descriptor ¶
func (*GetUserRequest) Descriptor() ([]byte, []int)
func (*GetUserRequest) GetUUID ¶
func (m *GetUserRequest) GetUUID() *UUID
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) Reset ¶
func (m *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (m *GetUserRequest) String() string
func (*GetUserRequest) XXX_DiscardUnknown ¶
func (m *GetUserRequest) XXX_DiscardUnknown()
func (*GetUserRequest) XXX_Marshal ¶
func (m *GetUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUserRequest) XXX_Merge ¶
func (m *GetUserRequest) XXX_Merge(src proto.Message)
func (*GetUserRequest) XXX_Size ¶
func (m *GetUserRequest) XXX_Size() int
func (*GetUserRequest) XXX_Unmarshal ¶
func (m *GetUserRequest) XXX_Unmarshal(b []byte) error
type GetWCFInfoRequest ¶
type GetWCFInfoRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetWCFInfoRequest) Descriptor ¶
func (*GetWCFInfoRequest) Descriptor() ([]byte, []int)
func (*GetWCFInfoRequest) GetName ¶
func (m *GetWCFInfoRequest) GetName() string
func (*GetWCFInfoRequest) ProtoMessage ¶
func (*GetWCFInfoRequest) ProtoMessage()
func (*GetWCFInfoRequest) Reset ¶
func (m *GetWCFInfoRequest) Reset()
func (*GetWCFInfoRequest) String ¶
func (m *GetWCFInfoRequest) String() string
func (*GetWCFInfoRequest) XXX_DiscardUnknown ¶
func (m *GetWCFInfoRequest) XXX_DiscardUnknown()
func (*GetWCFInfoRequest) XXX_Marshal ¶
func (m *GetWCFInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetWCFInfoRequest) XXX_Merge ¶
func (m *GetWCFInfoRequest) XXX_Merge(src proto.Message)
func (*GetWCFInfoRequest) XXX_Size ¶
func (m *GetWCFInfoRequest) XXX_Size() int
func (*GetWCFInfoRequest) XXX_Unmarshal ¶
func (m *GetWCFInfoRequest) XXX_Unmarshal(b []byte) error
type IncompletePassword ¶
type IncompletePassword struct { Password string `protobuf:"bytes,1,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncompletePassword) Descriptor ¶
func (*IncompletePassword) Descriptor() ([]byte, []int)
func (*IncompletePassword) GetPassword ¶
func (m *IncompletePassword) GetPassword() string
func (*IncompletePassword) ProtoMessage ¶
func (*IncompletePassword) ProtoMessage()
func (*IncompletePassword) Reset ¶
func (m *IncompletePassword) Reset()
func (*IncompletePassword) String ¶
func (m *IncompletePassword) String() string
func (*IncompletePassword) XXX_DiscardUnknown ¶
func (m *IncompletePassword) XXX_DiscardUnknown()
func (*IncompletePassword) XXX_Marshal ¶
func (m *IncompletePassword) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncompletePassword) XXX_Merge ¶
func (m *IncompletePassword) XXX_Merge(src proto.Message)
func (*IncompletePassword) XXX_Size ¶
func (m *IncompletePassword) XXX_Size() int
func (*IncompletePassword) XXX_Unmarshal ¶
func (m *IncompletePassword) XXX_Unmarshal(b []byte) error
type ManagerClient ¶
type ManagerClient interface { GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) GetUserByGameSerialHash(ctx context.Context, in *GetUserByGameSerialHashRequest, opts ...grpc.CallOption) (*User, error) GetUserByWCFUserID(ctx context.Context, in *GetUserByWCFUserIDRequest, opts ...grpc.CallOption) (*User, error) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*empty.Empty, error) CheckUserPassword(ctx context.Context, in *CheckUserPasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetWCFInfo(ctx context.Context, in *GetWCFInfoRequest, opts ...grpc.CallOption) (*WCFUserInfo, error) GetUserRoles(ctx context.Context, in *UUID, opts ...grpc.CallOption) (*proto1.AccountRoles, error) SetUserRoles(ctx context.Context, in *SetUserRolesRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
ManagerClient is the client API for Manager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewManagerClient ¶
func NewManagerClient(cc *grpc.ClientConn) ManagerClient
type ManagerServer ¶
type ManagerServer interface { GetUser(context.Context, *GetUserRequest) (*User, error) GetUserByGameSerialHash(context.Context, *GetUserByGameSerialHashRequest) (*User, error) GetUserByWCFUserID(context.Context, *GetUserByWCFUserIDRequest) (*User, error) CreateUser(context.Context, *CreateUserRequest) (*User, error) DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error) UpdateUser(context.Context, *UpdateUserRequest) (*empty.Empty, error) CheckUserPassword(context.Context, *CheckUserPasswordRequest) (*empty.Empty, error) GetWCFInfo(context.Context, *GetWCFInfoRequest) (*WCFUserInfo, error) GetUserRoles(context.Context, *UUID) (*proto1.AccountRoles, error) SetUserRoles(context.Context, *SetUserRolesRequest) (*empty.Empty, error) }
ManagerServer is the server API for Manager service.
type SetUserRolesRequest ¶
type SetUserRolesRequest struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Roles *proto1.AccountRoles `protobuf:"bytes,2,opt,name=Roles,proto3" json:"Roles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetUserRolesRequest) Descriptor ¶
func (*SetUserRolesRequest) Descriptor() ([]byte, []int)
func (*SetUserRolesRequest) GetRoles ¶
func (m *SetUserRolesRequest) GetRoles() *proto1.AccountRoles
func (*SetUserRolesRequest) GetUUID ¶
func (m *SetUserRolesRequest) GetUUID() *UUID
func (*SetUserRolesRequest) ProtoMessage ¶
func (*SetUserRolesRequest) ProtoMessage()
func (*SetUserRolesRequest) Reset ¶
func (m *SetUserRolesRequest) Reset()
func (*SetUserRolesRequest) String ¶
func (m *SetUserRolesRequest) String() string
func (*SetUserRolesRequest) XXX_DiscardUnknown ¶
func (m *SetUserRolesRequest) XXX_DiscardUnknown()
func (*SetUserRolesRequest) XXX_Marshal ¶
func (m *SetUserRolesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetUserRolesRequest) XXX_Merge ¶
func (m *SetUserRolesRequest) XXX_Merge(src proto.Message)
func (*SetUserRolesRequest) XXX_Size ¶
func (m *SetUserRolesRequest) XXX_Size() int
func (*SetUserRolesRequest) XXX_Unmarshal ¶
func (m *SetUserRolesRequest) XXX_Unmarshal(b []byte) error
type UUID ¶
type UUID struct { UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UUID) Descriptor ¶
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) XXX_DiscardUnknown ¶
func (m *UUID) XXX_DiscardUnknown()
func (*UUID) XXX_Unmarshal ¶
type UpdateUserRequest ¶
type UpdateUserRequest struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateUserRequest) Descriptor ¶
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
func (*UpdateUserRequest) GetData ¶
func (m *UpdateUserRequest) GetData() *Data
func (*UpdateUserRequest) GetUUID ¶
func (m *UpdateUserRequest) GetUUID() *UUID
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) Reset ¶
func (m *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (m *UpdateUserRequest) String() string
func (*UpdateUserRequest) XXX_DiscardUnknown ¶
func (m *UpdateUserRequest) XXX_DiscardUnknown()
func (*UpdateUserRequest) XXX_Marshal ¶
func (m *UpdateUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateUserRequest) XXX_Merge ¶
func (m *UpdateUserRequest) XXX_Merge(src proto.Message)
func (*UpdateUserRequest) XXX_Size ¶
func (m *UpdateUserRequest) XXX_Size() int
func (*UpdateUserRequest) XXX_Unmarshal ¶
func (m *UpdateUserRequest) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { UUID *UUID `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*User) Descriptor ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Unmarshal ¶
type WCFUserInfo ¶
type WCFUserInfo struct { UserID uint64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` Email string `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"` Password []byte `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WCFUserInfo) Descriptor ¶
func (*WCFUserInfo) Descriptor() ([]byte, []int)
func (*WCFUserInfo) GetEmail ¶
func (m *WCFUserInfo) GetEmail() string
func (*WCFUserInfo) GetPassword ¶
func (m *WCFUserInfo) GetPassword() []byte
func (*WCFUserInfo) GetUserID ¶
func (m *WCFUserInfo) GetUserID() uint64
func (*WCFUserInfo) GetUsername ¶
func (m *WCFUserInfo) GetUsername() string
func (*WCFUserInfo) ProtoMessage ¶
func (*WCFUserInfo) ProtoMessage()
func (*WCFUserInfo) Reset ¶
func (m *WCFUserInfo) Reset()
func (*WCFUserInfo) String ¶
func (m *WCFUserInfo) String() string
func (*WCFUserInfo) XXX_DiscardUnknown ¶
func (m *WCFUserInfo) XXX_DiscardUnknown()
func (*WCFUserInfo) XXX_Marshal ¶
func (m *WCFUserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WCFUserInfo) XXX_Merge ¶
func (m *WCFUserInfo) XXX_Merge(src proto.Message)
func (*WCFUserInfo) XXX_Size ¶
func (m *WCFUserInfo) XXX_Size() int
func (*WCFUserInfo) XXX_Unmarshal ¶
func (m *WCFUserInfo) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.