Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrent() string
- func (x *ChangePasswordRequest) GetNew() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- func (m *ChangePasswordRequest) Validate() error
- func (m *ChangePasswordRequest) ValidateAll() error
- type ChangePasswordRequestMultiError
- type ChangePasswordRequestValidationError
- func (e ChangePasswordRequestValidationError) Cause() error
- func (e ChangePasswordRequestValidationError) Error() string
- func (e ChangePasswordRequestValidationError) ErrorName() string
- func (e ChangePasswordRequestValidationError) Field() string
- func (e ChangePasswordRequestValidationError) Key() bool
- func (e ChangePasswordRequestValidationError) Reason() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetExpires() *timestamp.Timestamp
- func (x *ChangePasswordResponse) GetToken() string
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- func (m *ChangePasswordResponse) Validate() error
- func (m *ChangePasswordResponse) ValidateAll() error
- type ChangePasswordResponseMultiError
- type ChangePasswordResponseValidationError
- func (e ChangePasswordResponseValidationError) Cause() error
- func (e ChangePasswordResponseValidationError) Error() string
- func (e ChangePasswordResponseValidationError) ErrorName() string
- func (e ChangePasswordResponseValidationError) Field() string
- func (e ChangePasswordResponseValidationError) Key() bool
- func (e ChangePasswordResponseValidationError) Reason() string
- type ChooseCharacterRequest
- func (*ChooseCharacterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChooseCharacterRequest) GetCharId() int32
- func (*ChooseCharacterRequest) ProtoMessage()
- func (x *ChooseCharacterRequest) ProtoReflect() protoreflect.Message
- func (x *ChooseCharacterRequest) Reset()
- func (x *ChooseCharacterRequest) String() string
- func (m *ChooseCharacterRequest) Validate() error
- func (m *ChooseCharacterRequest) ValidateAll() error
- type ChooseCharacterRequestMultiError
- type ChooseCharacterRequestValidationError
- func (e ChooseCharacterRequestValidationError) Cause() error
- func (e ChooseCharacterRequestValidationError) Error() string
- func (e ChooseCharacterRequestValidationError) ErrorName() string
- func (e ChooseCharacterRequestValidationError) Field() string
- func (e ChooseCharacterRequestValidationError) Key() bool
- func (e ChooseCharacterRequestValidationError) Reason() string
- type ChooseCharacterResponse
- func (*ChooseCharacterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChooseCharacterResponse) GetChar() *users.User
- func (x *ChooseCharacterResponse) GetExpires() *timestamp.Timestamp
- func (x *ChooseCharacterResponse) GetJobProps() *users.JobProps
- func (x *ChooseCharacterResponse) GetPermissions() []string
- func (x *ChooseCharacterResponse) GetToken() string
- func (*ChooseCharacterResponse) ProtoMessage()
- func (x *ChooseCharacterResponse) ProtoReflect() protoreflect.Message
- func (x *ChooseCharacterResponse) Reset()
- func (x *ChooseCharacterResponse) String() string
- func (m *ChooseCharacterResponse) Validate() error
- func (m *ChooseCharacterResponse) ValidateAll() error
- type ChooseCharacterResponseMultiError
- type ChooseCharacterResponseValidationError
- func (e ChooseCharacterResponseValidationError) Cause() error
- func (e ChooseCharacterResponseValidationError) Error() string
- func (e ChooseCharacterResponseValidationError) ErrorName() string
- func (e ChooseCharacterResponseValidationError) Field() string
- func (e ChooseCharacterResponseValidationError) Key() bool
- func (e ChooseCharacterResponseValidationError) Reason() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetPassword() string
- func (x *CreateAccountRequest) GetRegToken() string
- func (x *CreateAccountRequest) GetUsername() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- func (m *CreateAccountRequest) Validate() error
- func (m *CreateAccountRequest) ValidateAll() error
- type CreateAccountRequestMultiError
- type CreateAccountRequestValidationError
- func (e CreateAccountRequestValidationError) Cause() error
- func (e CreateAccountRequestValidationError) Error() string
- func (e CreateAccountRequestValidationError) ErrorName() string
- func (e CreateAccountRequestValidationError) Field() string
- func (e CreateAccountRequestValidationError) Key() bool
- func (e CreateAccountRequestValidationError) Reason() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccountId() uint64
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- func (m *CreateAccountResponse) Validate() error
- func (m *CreateAccountResponse) ValidateAll() error
- type CreateAccountResponseMultiError
- type CreateAccountResponseValidationError
- func (e CreateAccountResponseValidationError) Cause() error
- func (e CreateAccountResponseValidationError) Error() string
- func (e CreateAccountResponseValidationError) ErrorName() string
- func (e CreateAccountResponseValidationError) Field() string
- func (e CreateAccountResponseValidationError) Key() bool
- func (e CreateAccountResponseValidationError) Reason() string
- type DeleteOAuth2ConnectionRequest
- func (*DeleteOAuth2ConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOAuth2ConnectionRequest) GetProvider() string
- func (*DeleteOAuth2ConnectionRequest) ProtoMessage()
- func (x *DeleteOAuth2ConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOAuth2ConnectionRequest) Reset()
- func (x *DeleteOAuth2ConnectionRequest) String() string
- func (m *DeleteOAuth2ConnectionRequest) Validate() error
- func (m *DeleteOAuth2ConnectionRequest) ValidateAll() error
- type DeleteOAuth2ConnectionRequestMultiError
- type DeleteOAuth2ConnectionRequestValidationError
- func (e DeleteOAuth2ConnectionRequestValidationError) Cause() error
- func (e DeleteOAuth2ConnectionRequestValidationError) Error() string
- func (e DeleteOAuth2ConnectionRequestValidationError) ErrorName() string
- func (e DeleteOAuth2ConnectionRequestValidationError) Field() string
- func (e DeleteOAuth2ConnectionRequestValidationError) Key() bool
- func (e DeleteOAuth2ConnectionRequestValidationError) Reason() string
- type DeleteOAuth2ConnectionResponse
- func (*DeleteOAuth2ConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOAuth2ConnectionResponse) GetSuccess() bool
- func (*DeleteOAuth2ConnectionResponse) ProtoMessage()
- func (x *DeleteOAuth2ConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOAuth2ConnectionResponse) Reset()
- func (x *DeleteOAuth2ConnectionResponse) String() string
- func (m *DeleteOAuth2ConnectionResponse) Validate() error
- func (m *DeleteOAuth2ConnectionResponse) ValidateAll() error
- type DeleteOAuth2ConnectionResponseMultiError
- type DeleteOAuth2ConnectionResponseValidationError
- func (e DeleteOAuth2ConnectionResponseValidationError) Cause() error
- func (e DeleteOAuth2ConnectionResponseValidationError) Error() string
- func (e DeleteOAuth2ConnectionResponseValidationError) ErrorName() string
- func (e DeleteOAuth2ConnectionResponseValidationError) Field() string
- func (e DeleteOAuth2ConnectionResponseValidationError) Key() bool
- func (e DeleteOAuth2ConnectionResponseValidationError) Reason() string
- type ForgotPasswordRequest
- func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordRequest) GetNew() string
- func (x *ForgotPasswordRequest) GetRegToken() string
- func (*ForgotPasswordRequest) ProtoMessage()
- func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordRequest) Reset()
- func (x *ForgotPasswordRequest) String() string
- func (m *ForgotPasswordRequest) Validate() error
- func (m *ForgotPasswordRequest) ValidateAll() error
- type ForgotPasswordRequestMultiError
- type ForgotPasswordRequestValidationError
- func (e ForgotPasswordRequestValidationError) Cause() error
- func (e ForgotPasswordRequestValidationError) Error() string
- func (e ForgotPasswordRequestValidationError) ErrorName() string
- func (e ForgotPasswordRequestValidationError) Field() string
- func (e ForgotPasswordRequestValidationError) Key() bool
- func (e ForgotPasswordRequestValidationError) Reason() string
- type ForgotPasswordResponse
- func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (*ForgotPasswordResponse) ProtoMessage()
- func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordResponse) Reset()
- func (x *ForgotPasswordResponse) String() string
- func (m *ForgotPasswordResponse) Validate() error
- func (m *ForgotPasswordResponse) ValidateAll() error
- type ForgotPasswordResponseMultiError
- type ForgotPasswordResponseValidationError
- func (e ForgotPasswordResponseValidationError) Cause() error
- func (e ForgotPasswordResponseValidationError) Error() string
- func (e ForgotPasswordResponseValidationError) ErrorName() string
- func (e ForgotPasswordResponseValidationError) Field() string
- func (e ForgotPasswordResponseValidationError) Key() bool
- func (e ForgotPasswordResponseValidationError) Reason() string
- type GetAccountInfoRequest
- func (*GetAccountInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAccountInfoRequest) ProtoMessage()
- func (x *GetAccountInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountInfoRequest) Reset()
- func (x *GetAccountInfoRequest) String() string
- func (m *GetAccountInfoRequest) Validate() error
- func (m *GetAccountInfoRequest) ValidateAll() error
- type GetAccountInfoRequestMultiError
- type GetAccountInfoRequestValidationError
- func (e GetAccountInfoRequestValidationError) Cause() error
- func (e GetAccountInfoRequestValidationError) Error() string
- func (e GetAccountInfoRequestValidationError) ErrorName() string
- func (e GetAccountInfoRequestValidationError) Field() string
- func (e GetAccountInfoRequestValidationError) Key() bool
- func (e GetAccountInfoRequestValidationError) Reason() string
- type GetAccountInfoResponse
- func (*GetAccountInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountInfoResponse) GetAccount() *accounts.Account
- func (x *GetAccountInfoResponse) GetOauth2Connections() []*accounts.OAuth2Account
- func (x *GetAccountInfoResponse) GetOauth2Providers() []*accounts.OAuth2Provider
- func (*GetAccountInfoResponse) ProtoMessage()
- func (x *GetAccountInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountInfoResponse) Reset()
- func (x *GetAccountInfoResponse) String() string
- func (m *GetAccountInfoResponse) Validate() error
- func (m *GetAccountInfoResponse) ValidateAll() error
- type GetAccountInfoResponseMultiError
- type GetAccountInfoResponseValidationError
- func (e GetAccountInfoResponseValidationError) Cause() error
- func (e GetAccountInfoResponseValidationError) Error() string
- func (e GetAccountInfoResponseValidationError) ErrorName() string
- func (e GetAccountInfoResponseValidationError) Field() string
- func (e GetAccountInfoResponseValidationError) Key() bool
- func (e GetAccountInfoResponseValidationError) Reason() string
- type GetCharactersRequest
- func (*GetCharactersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCharactersRequest) ProtoMessage()
- func (x *GetCharactersRequest) ProtoReflect() protoreflect.Message
- func (x *GetCharactersRequest) Reset()
- func (x *GetCharactersRequest) String() string
- func (m *GetCharactersRequest) Validate() error
- func (m *GetCharactersRequest) ValidateAll() error
- type GetCharactersRequestMultiError
- type GetCharactersRequestValidationError
- func (e GetCharactersRequestValidationError) Cause() error
- func (e GetCharactersRequestValidationError) Error() string
- func (e GetCharactersRequestValidationError) ErrorName() string
- func (e GetCharactersRequestValidationError) Field() string
- func (e GetCharactersRequestValidationError) Key() bool
- func (e GetCharactersRequestValidationError) Reason() string
- type GetCharactersResponse
- func (*GetCharactersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCharactersResponse) GetChars() []*users.User
- func (*GetCharactersResponse) ProtoMessage()
- func (x *GetCharactersResponse) ProtoReflect() protoreflect.Message
- func (x *GetCharactersResponse) Reset()
- func (x *GetCharactersResponse) String() string
- func (m *GetCharactersResponse) Validate() error
- func (m *GetCharactersResponse) ValidateAll() error
- type GetCharactersResponseMultiError
- type GetCharactersResponseValidationError
- func (e GetCharactersResponseValidationError) Cause() error
- func (e GetCharactersResponseValidationError) Error() string
- func (e GetCharactersResponseValidationError) ErrorName() string
- func (e GetCharactersResponseValidationError) Field() string
- func (e GetCharactersResponseValidationError) Key() bool
- func (e GetCharactersResponseValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccountId() uint64
- func (x *LoginResponse) GetExpires() *timestamp.Timestamp
- func (x *LoginResponse) GetToken() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- func (m *LogoutRequest) Validate() error
- func (m *LogoutRequest) ValidateAll() error
- type LogoutRequestMultiError
- type LogoutRequestValidationError
- func (e LogoutRequestValidationError) Cause() error
- func (e LogoutRequestValidationError) Error() string
- func (e LogoutRequestValidationError) ErrorName() string
- func (e LogoutRequestValidationError) Field() string
- func (e LogoutRequestValidationError) Key() bool
- func (e LogoutRequestValidationError) Reason() string
- type LogoutResponse
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutResponse) GetSuccess() bool
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- func (m *LogoutResponse) Validate() error
- func (m *LogoutResponse) ValidateAll() error
- type LogoutResponseMultiError
- type LogoutResponseValidationError
- func (e LogoutResponseValidationError) Cause() error
- func (e LogoutResponseValidationError) Error() string
- func (e LogoutResponseValidationError) ErrorName() string
- func (e LogoutResponseValidationError) Field() string
- func (e LogoutResponseValidationError) Key() bool
- func (e LogoutResponseValidationError) Reason() string
- type Server
- func (s *Server) AuthFuncOverride(ctx context.Context, fullMethod string) (context.Context, error)
- func (s *Server) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (s *Server) ChooseCharacter(ctx context.Context, req *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
- func (s *Server) CreateAccount(ctx context.Context, req *CreateAccountRequest) (*CreateAccountResponse, error)
- func (s *Server) DeleteOAuth2Connection(ctx context.Context, req *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
- func (s *Server) ForgotPassword(ctx context.Context, req *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
- func (s *Server) GetAccountInfo(ctx context.Context, req *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
- func (s *Server) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
- func (s *Server) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
- func (s *Server) Logout(ctx context.Context, req *LogoutRequest) (*LogoutResponse, error)
- func (s *Server) PermissionUnaryFuncOverride(ctx context.Context, info *grpc.UnaryServerInfo) (context.Context, error)
- func (s *Server) RegisterServer(srv *grpc.Server)
- func (s *Server) SetJob(ctx context.Context, req *SetJobRequest) (*SetJobResponse, error)
- type SetJobRequest
- func (*SetJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetJobRequest) GetCharId() int32
- func (x *SetJobRequest) GetJob() string
- func (x *SetJobRequest) GetJobGrade() int32
- func (*SetJobRequest) ProtoMessage()
- func (x *SetJobRequest) ProtoReflect() protoreflect.Message
- func (x *SetJobRequest) Reset()
- func (x *SetJobRequest) String() string
- func (m *SetJobRequest) Validate() error
- func (m *SetJobRequest) ValidateAll() error
- type SetJobRequestMultiError
- type SetJobRequestValidationError
- func (e SetJobRequestValidationError) Cause() error
- func (e SetJobRequestValidationError) Error() string
- func (e SetJobRequestValidationError) ErrorName() string
- func (e SetJobRequestValidationError) Field() string
- func (e SetJobRequestValidationError) Key() bool
- func (e SetJobRequestValidationError) Reason() string
- type SetJobResponse
- func (*SetJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetJobResponse) GetChar() *users.User
- func (x *SetJobResponse) GetExpires() *timestamp.Timestamp
- func (x *SetJobResponse) GetJobProps() *users.JobProps
- func (x *SetJobResponse) GetToken() string
- func (*SetJobResponse) ProtoMessage()
- func (x *SetJobResponse) ProtoReflect() protoreflect.Message
- func (x *SetJobResponse) Reset()
- func (x *SetJobResponse) String() string
- func (m *SetJobResponse) Validate() error
- func (m *SetJobResponse) ValidateAll() error
- type SetJobResponseMultiError
- type SetJobResponseValidationError
- func (e SetJobResponseValidationError) Cause() error
- func (e SetJobResponseValidationError) Error() string
- func (e SetJobResponseValidationError) ErrorName() string
- func (e SetJobResponseValidationError) Field() string
- func (e SetJobResponseValidationError) Key() bool
- func (e SetJobResponseValidationError) Reason() string
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedAuthServiceServer) ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
- func (UnimplementedAuthServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedAuthServiceServer) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
- func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
- func (UnimplementedAuthServiceServer) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
- func (UnimplementedAuthServiceServer) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error)
- func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedAuthServiceServer) SetJob(context.Context, *SetJobRequest) (*SetJobResponse, error)
- type UnsafeAuthServiceServer
Constants ¶
const ( AuthServicePerm perms.Category = "AuthService" AuthServiceChooseCharacterPerm perms.Name = "ChooseCharacter" )
const ( AuthService_Login_FullMethodName = "/services.auth.AuthService/Login" AuthService_Logout_FullMethodName = "/services.auth.AuthService/Logout" AuthService_CreateAccount_FullMethodName = "/services.auth.AuthService/CreateAccount" AuthService_ChangePassword_FullMethodName = "/services.auth.AuthService/ChangePassword" AuthService_ForgotPassword_FullMethodName = "/services.auth.AuthService/ForgotPassword" AuthService_GetCharacters_FullMethodName = "/services.auth.AuthService/GetCharacters" AuthService_ChooseCharacter_FullMethodName = "/services.auth.AuthService/ChooseCharacter" AuthService_GetAccountInfo_FullMethodName = "/services.auth.AuthService/GetAccountInfo" AuthService_DeleteOAuth2Connection_FullMethodName = "/services.auth.AuthService/DeleteOAuth2Connection" AuthService_SetJob_FullMethodName = "/services.auth.AuthService/SetJob" )
Variables ¶
var ( ErrAccountCreateFailed = status.Error(codes.InvalidArgument, "errors.AuthService.ErrAccountCreateFailed") ErrAccountExistsFailed = status.Error(codes.InvalidArgument, "errors.AuthService.ErrAccountExistsFailed") ErrInvalidLogin = status.Error(codes.InvalidArgument, "errors.AuthService.ErrInvalidLogin") ErrNoAccount = status.Error(codes.InvalidArgument, "errors.AuthService.ErrNoAccount") ErrNoCharFound = status.Error(codes.NotFound, "errors.AuthService.ErrNoCharFound") ErrGenericLogin = status.Error(codes.Internal, "errors.AuthService.ErrGenericLogin") ErrUnableToChooseChar = status.Error(codes.PermissionDenied, "errors.AuthService.ErrUnableToChooseChar") ErrUpdateAccount = status.Error(codes.InvalidArgument, "errors.AuthService.ErrUpdateAccount") ErrChangePassword = status.Error(codes.InvalidArgument, "errors.AuthService.ErrChangePassword") ErrForgotPassword = status.Error(codes.InvalidArgument, "errors.AuthService.ErrForgotPassword") ErrSignupDisabled = status.Error(codes.InvalidArgument, "errors.AuthService.ErrSignupDisabled") )
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.auth.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _AuthService_Login_Handler, }, { MethodName: "Logout", Handler: _AuthService_Logout_Handler, }, { MethodName: "CreateAccount", Handler: _AuthService_CreateAccount_Handler, }, { MethodName: "ChangePassword", Handler: _AuthService_ChangePassword_Handler, }, { MethodName: "ForgotPassword", Handler: _AuthService_ForgotPassword_Handler, }, { MethodName: "GetCharacters", Handler: _AuthService_GetCharacters_Handler, }, { MethodName: "ChooseCharacter", Handler: _AuthService_ChooseCharacter_Handler, }, { MethodName: "GetAccountInfo", Handler: _AuthService_GetAccountInfo_Handler, }, { MethodName: "DeleteOAuth2Connection", Handler: _AuthService_DeleteOAuth2Connection_Handler, }, { MethodName: "SetJob", Handler: _AuthService_SetJob_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/auth/auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
ErrGenericAccount = status.Error(codes.Internal, "errors.AuthService.ErrGenericAccount")
)
var File_services_auth_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error) GetCharacters(ctx context.Context, in *GetCharactersRequest, opts ...grpc.CallOption) (*GetCharactersResponse, error) // @perm ChooseCharacter(ctx context.Context, in *ChooseCharacterRequest, opts ...grpc.CallOption) (*ChooseCharacterResponse, error) GetAccountInfo(ctx context.Context, in *GetAccountInfoRequest, opts ...grpc.CallOption) (*GetAccountInfoResponse, error) DeleteOAuth2Connection(ctx context.Context, in *DeleteOAuth2ConnectionRequest, opts ...grpc.CallOption) (*DeleteOAuth2ConnectionResponse, error) SetJob(ctx context.Context, in *SetJobRequest, opts ...grpc.CallOption) (*SetJobResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
func NewTestAuthServiceClient ¶
func NewTestAuthServiceClient(srv AuthServiceServer) (AuthServiceClient, context.Context, context.CancelFunc)
type AuthServiceServer ¶
type AuthServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error) // @perm ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error) SetJob(context.Context, *SetJobRequest) (*SetJobResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetCurrent ¶
func (x *ChangePasswordRequest) GetCurrent() string
func (*ChangePasswordRequest) GetNew ¶
func (x *ChangePasswordRequest) GetNew() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
func (*ChangePasswordRequest) Validate ¶
func (m *ChangePasswordRequest) Validate() error
Validate checks the field values on ChangePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChangePasswordRequest) ValidateAll ¶
func (m *ChangePasswordRequest) ValidateAll() error
ValidateAll checks the field values on ChangePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangePasswordRequestMultiError, or nil if none found.
type ChangePasswordRequestMultiError ¶
type ChangePasswordRequestMultiError []error
ChangePasswordRequestMultiError is an error wrapping multiple validation errors returned by ChangePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordRequestMultiError) AllErrors ¶
func (m ChangePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordRequestMultiError) Error ¶
func (m ChangePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordRequestValidationError ¶
type ChangePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordRequestValidationError is the validation error returned by ChangePasswordRequest.Validate if the designated constraints aren't met.
func (ChangePasswordRequestValidationError) Cause ¶
func (e ChangePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordRequestValidationError) Error ¶
func (e ChangePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordRequestValidationError) ErrorName ¶
func (e ChangePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordRequestValidationError) Field ¶
func (e ChangePasswordRequestValidationError) Field() string
Field function returns field value.
func (ChangePasswordRequestValidationError) Key ¶
func (e ChangePasswordRequestValidationError) Key() bool
Key function returns key value.
func (ChangePasswordRequestValidationError) Reason ¶
func (e ChangePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type ChangePasswordResponse ¶
type ChangePasswordResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetExpires ¶
func (x *ChangePasswordResponse) GetExpires() *timestamp.Timestamp
func (*ChangePasswordResponse) GetToken ¶
func (x *ChangePasswordResponse) GetToken() string
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
func (*ChangePasswordResponse) Validate ¶
func (m *ChangePasswordResponse) Validate() error
Validate checks the field values on ChangePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChangePasswordResponse) ValidateAll ¶
func (m *ChangePasswordResponse) ValidateAll() error
ValidateAll checks the field values on ChangePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChangePasswordResponseMultiError, or nil if none found.
type ChangePasswordResponseMultiError ¶
type ChangePasswordResponseMultiError []error
ChangePasswordResponseMultiError is an error wrapping multiple validation errors returned by ChangePasswordResponse.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordResponseMultiError) AllErrors ¶
func (m ChangePasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordResponseMultiError) Error ¶
func (m ChangePasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordResponseValidationError ¶
type ChangePasswordResponseValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordResponseValidationError is the validation error returned by ChangePasswordResponse.Validate if the designated constraints aren't met.
func (ChangePasswordResponseValidationError) Cause ¶
func (e ChangePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordResponseValidationError) Error ¶
func (e ChangePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordResponseValidationError) ErrorName ¶
func (e ChangePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordResponseValidationError) Field ¶
func (e ChangePasswordResponseValidationError) Field() string
Field function returns field value.
func (ChangePasswordResponseValidationError) Key ¶
func (e ChangePasswordResponseValidationError) Key() bool
Key function returns key value.
func (ChangePasswordResponseValidationError) Reason ¶
func (e ChangePasswordResponseValidationError) Reason() string
Reason function returns reason value.
type ChooseCharacterRequest ¶
type ChooseCharacterRequest struct { CharId int32 `protobuf:"varint,1,opt,name=char_id,json=charId,proto3" json:"char_id,omitempty"` // contains filtered or unexported fields }
func (*ChooseCharacterRequest) Descriptor
deprecated
func (*ChooseCharacterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChooseCharacterRequest.ProtoReflect.Descriptor instead.
func (*ChooseCharacterRequest) GetCharId ¶
func (x *ChooseCharacterRequest) GetCharId() int32
func (*ChooseCharacterRequest) ProtoMessage ¶
func (*ChooseCharacterRequest) ProtoMessage()
func (*ChooseCharacterRequest) ProtoReflect ¶
func (x *ChooseCharacterRequest) ProtoReflect() protoreflect.Message
func (*ChooseCharacterRequest) Reset ¶
func (x *ChooseCharacterRequest) Reset()
func (*ChooseCharacterRequest) String ¶
func (x *ChooseCharacterRequest) String() string
func (*ChooseCharacterRequest) Validate ¶
func (m *ChooseCharacterRequest) Validate() error
Validate checks the field values on ChooseCharacterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChooseCharacterRequest) ValidateAll ¶
func (m *ChooseCharacterRequest) ValidateAll() error
ValidateAll checks the field values on ChooseCharacterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChooseCharacterRequestMultiError, or nil if none found.
type ChooseCharacterRequestMultiError ¶
type ChooseCharacterRequestMultiError []error
ChooseCharacterRequestMultiError is an error wrapping multiple validation errors returned by ChooseCharacterRequest.ValidateAll() if the designated constraints aren't met.
func (ChooseCharacterRequestMultiError) AllErrors ¶
func (m ChooseCharacterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChooseCharacterRequestMultiError) Error ¶
func (m ChooseCharacterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChooseCharacterRequestValidationError ¶
type ChooseCharacterRequestValidationError struct {
// contains filtered or unexported fields
}
ChooseCharacterRequestValidationError is the validation error returned by ChooseCharacterRequest.Validate if the designated constraints aren't met.
func (ChooseCharacterRequestValidationError) Cause ¶
func (e ChooseCharacterRequestValidationError) Cause() error
Cause function returns cause value.
func (ChooseCharacterRequestValidationError) Error ¶
func (e ChooseCharacterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChooseCharacterRequestValidationError) ErrorName ¶
func (e ChooseCharacterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChooseCharacterRequestValidationError) Field ¶
func (e ChooseCharacterRequestValidationError) Field() string
Field function returns field value.
func (ChooseCharacterRequestValidationError) Key ¶
func (e ChooseCharacterRequestValidationError) Key() bool
Key function returns key value.
func (ChooseCharacterRequestValidationError) Reason ¶
func (e ChooseCharacterRequestValidationError) Reason() string
Reason function returns reason value.
type ChooseCharacterResponse ¶
type ChooseCharacterResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` JobProps *users.JobProps `protobuf:"bytes,4,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"` Char *users.User `protobuf:"bytes,5,opt,name=char,proto3" json:"char,omitempty"` // contains filtered or unexported fields }
func (*ChooseCharacterResponse) Descriptor
deprecated
func (*ChooseCharacterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChooseCharacterResponse.ProtoReflect.Descriptor instead.
func (*ChooseCharacterResponse) GetChar ¶
func (x *ChooseCharacterResponse) GetChar() *users.User
func (*ChooseCharacterResponse) GetExpires ¶
func (x *ChooseCharacterResponse) GetExpires() *timestamp.Timestamp
func (*ChooseCharacterResponse) GetJobProps ¶
func (x *ChooseCharacterResponse) GetJobProps() *users.JobProps
func (*ChooseCharacterResponse) GetPermissions ¶
func (x *ChooseCharacterResponse) GetPermissions() []string
func (*ChooseCharacterResponse) GetToken ¶
func (x *ChooseCharacterResponse) GetToken() string
func (*ChooseCharacterResponse) ProtoMessage ¶
func (*ChooseCharacterResponse) ProtoMessage()
func (*ChooseCharacterResponse) ProtoReflect ¶
func (x *ChooseCharacterResponse) ProtoReflect() protoreflect.Message
func (*ChooseCharacterResponse) Reset ¶
func (x *ChooseCharacterResponse) Reset()
func (*ChooseCharacterResponse) String ¶
func (x *ChooseCharacterResponse) String() string
func (*ChooseCharacterResponse) Validate ¶
func (m *ChooseCharacterResponse) Validate() error
Validate checks the field values on ChooseCharacterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ChooseCharacterResponse) ValidateAll ¶
func (m *ChooseCharacterResponse) ValidateAll() error
ValidateAll checks the field values on ChooseCharacterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ChooseCharacterResponseMultiError, or nil if none found.
type ChooseCharacterResponseMultiError ¶
type ChooseCharacterResponseMultiError []error
ChooseCharacterResponseMultiError is an error wrapping multiple validation errors returned by ChooseCharacterResponse.ValidateAll() if the designated constraints aren't met.
func (ChooseCharacterResponseMultiError) AllErrors ¶
func (m ChooseCharacterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChooseCharacterResponseMultiError) Error ¶
func (m ChooseCharacterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChooseCharacterResponseValidationError ¶
type ChooseCharacterResponseValidationError struct {
// contains filtered or unexported fields
}
ChooseCharacterResponseValidationError is the validation error returned by ChooseCharacterResponse.Validate if the designated constraints aren't met.
func (ChooseCharacterResponseValidationError) Cause ¶
func (e ChooseCharacterResponseValidationError) Cause() error
Cause function returns cause value.
func (ChooseCharacterResponseValidationError) Error ¶
func (e ChooseCharacterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChooseCharacterResponseValidationError) ErrorName ¶
func (e ChooseCharacterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChooseCharacterResponseValidationError) Field ¶
func (e ChooseCharacterResponseValidationError) Field() string
Field function returns field value.
func (ChooseCharacterResponseValidationError) Key ¶
func (e ChooseCharacterResponseValidationError) Key() bool
Key function returns key value.
func (ChooseCharacterResponseValidationError) Reason ¶
func (e ChooseCharacterResponseValidationError) Reason() string
Reason function returns reason value.
type CreateAccountRequest ¶
type CreateAccountRequest struct { RegToken string `protobuf:"bytes,1,opt,name=reg_token,json=regToken,proto3" json:"reg_token,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetPassword ¶
func (x *CreateAccountRequest) GetPassword() string
func (*CreateAccountRequest) GetRegToken ¶
func (x *CreateAccountRequest) GetRegToken() string
func (*CreateAccountRequest) GetUsername ¶
func (x *CreateAccountRequest) GetUsername() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
func (*CreateAccountRequest) Validate ¶
func (m *CreateAccountRequest) Validate() error
Validate checks the field values on CreateAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateAccountRequest) ValidateAll ¶
func (m *CreateAccountRequest) ValidateAll() error
ValidateAll checks the field values on CreateAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAccountRequestMultiError, or nil if none found.
type CreateAccountRequestMultiError ¶
type CreateAccountRequestMultiError []error
CreateAccountRequestMultiError is an error wrapping multiple validation errors returned by CreateAccountRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAccountRequestMultiError) AllErrors ¶
func (m CreateAccountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAccountRequestMultiError) Error ¶
func (m CreateAccountRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAccountRequestValidationError ¶
type CreateAccountRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAccountRequestValidationError is the validation error returned by CreateAccountRequest.Validate if the designated constraints aren't met.
func (CreateAccountRequestValidationError) Cause ¶
func (e CreateAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountRequestValidationError) Error ¶
func (e CreateAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountRequestValidationError) ErrorName ¶
func (e CreateAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountRequestValidationError) Field ¶
func (e CreateAccountRequestValidationError) Field() string
Field function returns field value.
func (CreateAccountRequestValidationError) Key ¶
func (e CreateAccountRequestValidationError) Key() bool
Key function returns key value.
func (CreateAccountRequestValidationError) Reason ¶
func (e CreateAccountRequestValidationError) Reason() string
Reason function returns reason value.
type CreateAccountResponse ¶
type CreateAccountResponse struct { AccountId uint64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccountId ¶ added in v0.8.0
func (x *CreateAccountResponse) GetAccountId() uint64
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
func (*CreateAccountResponse) Validate ¶
func (m *CreateAccountResponse) Validate() error
Validate checks the field values on CreateAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateAccountResponse) ValidateAll ¶
func (m *CreateAccountResponse) ValidateAll() error
ValidateAll checks the field values on CreateAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAccountResponseMultiError, or nil if none found.
type CreateAccountResponseMultiError ¶
type CreateAccountResponseMultiError []error
CreateAccountResponseMultiError is an error wrapping multiple validation errors returned by CreateAccountResponse.ValidateAll() if the designated constraints aren't met.
func (CreateAccountResponseMultiError) AllErrors ¶
func (m CreateAccountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAccountResponseMultiError) Error ¶
func (m CreateAccountResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAccountResponseValidationError ¶
type CreateAccountResponseValidationError struct {
// contains filtered or unexported fields
}
CreateAccountResponseValidationError is the validation error returned by CreateAccountResponse.Validate if the designated constraints aren't met.
func (CreateAccountResponseValidationError) Cause ¶
func (e CreateAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountResponseValidationError) Error ¶
func (e CreateAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountResponseValidationError) ErrorName ¶
func (e CreateAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountResponseValidationError) Field ¶
func (e CreateAccountResponseValidationError) Field() string
Field function returns field value.
func (CreateAccountResponseValidationError) Key ¶
func (e CreateAccountResponseValidationError) Key() bool
Key function returns key value.
func (CreateAccountResponseValidationError) Reason ¶
func (e CreateAccountResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteOAuth2ConnectionRequest ¶
type DeleteOAuth2ConnectionRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*DeleteOAuth2ConnectionRequest) Descriptor
deprecated
func (*DeleteOAuth2ConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOAuth2ConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteOAuth2ConnectionRequest) GetProvider ¶
func (x *DeleteOAuth2ConnectionRequest) GetProvider() string
func (*DeleteOAuth2ConnectionRequest) ProtoMessage ¶
func (*DeleteOAuth2ConnectionRequest) ProtoMessage()
func (*DeleteOAuth2ConnectionRequest) ProtoReflect ¶
func (x *DeleteOAuth2ConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteOAuth2ConnectionRequest) Reset ¶
func (x *DeleteOAuth2ConnectionRequest) Reset()
func (*DeleteOAuth2ConnectionRequest) String ¶
func (x *DeleteOAuth2ConnectionRequest) String() string
func (*DeleteOAuth2ConnectionRequest) Validate ¶
func (m *DeleteOAuth2ConnectionRequest) Validate() error
Validate checks the field values on DeleteOAuth2ConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteOAuth2ConnectionRequest) ValidateAll ¶
func (m *DeleteOAuth2ConnectionRequest) ValidateAll() error
ValidateAll checks the field values on DeleteOAuth2ConnectionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOAuth2ConnectionRequestMultiError, or nil if none found.
type DeleteOAuth2ConnectionRequestMultiError ¶
type DeleteOAuth2ConnectionRequestMultiError []error
DeleteOAuth2ConnectionRequestMultiError is an error wrapping multiple validation errors returned by DeleteOAuth2ConnectionRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteOAuth2ConnectionRequestMultiError) AllErrors ¶
func (m DeleteOAuth2ConnectionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOAuth2ConnectionRequestMultiError) Error ¶
func (m DeleteOAuth2ConnectionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOAuth2ConnectionRequestValidationError ¶
type DeleteOAuth2ConnectionRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteOAuth2ConnectionRequestValidationError is the validation error returned by DeleteOAuth2ConnectionRequest.Validate if the designated constraints aren't met.
func (DeleteOAuth2ConnectionRequestValidationError) Cause ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteOAuth2ConnectionRequestValidationError) Error ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOAuth2ConnectionRequestValidationError) ErrorName ¶
func (e DeleteOAuth2ConnectionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOAuth2ConnectionRequestValidationError) Field ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Field() string
Field function returns field value.
func (DeleteOAuth2ConnectionRequestValidationError) Key ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Key() bool
Key function returns key value.
func (DeleteOAuth2ConnectionRequestValidationError) Reason ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteOAuth2ConnectionResponse ¶
type DeleteOAuth2ConnectionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteOAuth2ConnectionResponse) Descriptor
deprecated
func (*DeleteOAuth2ConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOAuth2ConnectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteOAuth2ConnectionResponse) GetSuccess ¶
func (x *DeleteOAuth2ConnectionResponse) GetSuccess() bool
func (*DeleteOAuth2ConnectionResponse) ProtoMessage ¶
func (*DeleteOAuth2ConnectionResponse) ProtoMessage()
func (*DeleteOAuth2ConnectionResponse) ProtoReflect ¶
func (x *DeleteOAuth2ConnectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteOAuth2ConnectionResponse) Reset ¶
func (x *DeleteOAuth2ConnectionResponse) Reset()
func (*DeleteOAuth2ConnectionResponse) String ¶
func (x *DeleteOAuth2ConnectionResponse) String() string
func (*DeleteOAuth2ConnectionResponse) Validate ¶
func (m *DeleteOAuth2ConnectionResponse) Validate() error
Validate checks the field values on DeleteOAuth2ConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteOAuth2ConnectionResponse) ValidateAll ¶
func (m *DeleteOAuth2ConnectionResponse) ValidateAll() error
ValidateAll checks the field values on DeleteOAuth2ConnectionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOAuth2ConnectionResponseMultiError, or nil if none found.
type DeleteOAuth2ConnectionResponseMultiError ¶
type DeleteOAuth2ConnectionResponseMultiError []error
DeleteOAuth2ConnectionResponseMultiError is an error wrapping multiple validation errors returned by DeleteOAuth2ConnectionResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteOAuth2ConnectionResponseMultiError) AllErrors ¶
func (m DeleteOAuth2ConnectionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOAuth2ConnectionResponseMultiError) Error ¶
func (m DeleteOAuth2ConnectionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOAuth2ConnectionResponseValidationError ¶
type DeleteOAuth2ConnectionResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteOAuth2ConnectionResponseValidationError is the validation error returned by DeleteOAuth2ConnectionResponse.Validate if the designated constraints aren't met.
func (DeleteOAuth2ConnectionResponseValidationError) Cause ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteOAuth2ConnectionResponseValidationError) Error ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOAuth2ConnectionResponseValidationError) ErrorName ¶
func (e DeleteOAuth2ConnectionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOAuth2ConnectionResponseValidationError) Field ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Field() string
Field function returns field value.
func (DeleteOAuth2ConnectionResponseValidationError) Key ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Key() bool
Key function returns key value.
func (DeleteOAuth2ConnectionResponseValidationError) Reason ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Reason() string
Reason function returns reason value.
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct { RegToken string `protobuf:"bytes,1,opt,name=reg_token,json=regToken,proto3" json:"reg_token,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordRequest) Descriptor
deprecated
func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgotPasswordRequest) GetNew ¶
func (x *ForgotPasswordRequest) GetNew() string
func (*ForgotPasswordRequest) GetRegToken ¶
func (x *ForgotPasswordRequest) GetRegToken() string
func (*ForgotPasswordRequest) ProtoMessage ¶
func (*ForgotPasswordRequest) ProtoMessage()
func (*ForgotPasswordRequest) ProtoReflect ¶
func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgotPasswordRequest) Reset ¶
func (x *ForgotPasswordRequest) Reset()
func (*ForgotPasswordRequest) String ¶
func (x *ForgotPasswordRequest) String() string
func (*ForgotPasswordRequest) Validate ¶
func (m *ForgotPasswordRequest) Validate() error
Validate checks the field values on ForgotPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ForgotPasswordRequest) ValidateAll ¶
func (m *ForgotPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ForgotPasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ForgotPasswordRequestMultiError, or nil if none found.
type ForgotPasswordRequestMultiError ¶
type ForgotPasswordRequestMultiError []error
ForgotPasswordRequestMultiError is an error wrapping multiple validation errors returned by ForgotPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ForgotPasswordRequestMultiError) AllErrors ¶
func (m ForgotPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgotPasswordRequestMultiError) Error ¶
func (m ForgotPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgotPasswordRequestValidationError ¶
type ForgotPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ForgotPasswordRequestValidationError is the validation error returned by ForgotPasswordRequest.Validate if the designated constraints aren't met.
func (ForgotPasswordRequestValidationError) Cause ¶
func (e ForgotPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ForgotPasswordRequestValidationError) Error ¶
func (e ForgotPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ForgotPasswordRequestValidationError) ErrorName ¶
func (e ForgotPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ForgotPasswordRequestValidationError) Field ¶
func (e ForgotPasswordRequestValidationError) Field() string
Field function returns field value.
func (ForgotPasswordRequestValidationError) Key ¶
func (e ForgotPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ForgotPasswordRequestValidationError) Reason ¶
func (e ForgotPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type ForgotPasswordResponse ¶
type ForgotPasswordResponse struct {
// contains filtered or unexported fields
}
func (*ForgotPasswordResponse) Descriptor
deprecated
func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.
func (*ForgotPasswordResponse) ProtoMessage ¶
func (*ForgotPasswordResponse) ProtoMessage()
func (*ForgotPasswordResponse) ProtoReflect ¶
func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
func (*ForgotPasswordResponse) Reset ¶
func (x *ForgotPasswordResponse) Reset()
func (*ForgotPasswordResponse) String ¶
func (x *ForgotPasswordResponse) String() string
func (*ForgotPasswordResponse) Validate ¶
func (m *ForgotPasswordResponse) Validate() error
Validate checks the field values on ForgotPasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ForgotPasswordResponse) ValidateAll ¶
func (m *ForgotPasswordResponse) ValidateAll() error
ValidateAll checks the field values on ForgotPasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ForgotPasswordResponseMultiError, or nil if none found.
type ForgotPasswordResponseMultiError ¶
type ForgotPasswordResponseMultiError []error
ForgotPasswordResponseMultiError is an error wrapping multiple validation errors returned by ForgotPasswordResponse.ValidateAll() if the designated constraints aren't met.
func (ForgotPasswordResponseMultiError) AllErrors ¶
func (m ForgotPasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgotPasswordResponseMultiError) Error ¶
func (m ForgotPasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgotPasswordResponseValidationError ¶
type ForgotPasswordResponseValidationError struct {
// contains filtered or unexported fields
}
ForgotPasswordResponseValidationError is the validation error returned by ForgotPasswordResponse.Validate if the designated constraints aren't met.
func (ForgotPasswordResponseValidationError) Cause ¶
func (e ForgotPasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (ForgotPasswordResponseValidationError) Error ¶
func (e ForgotPasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ForgotPasswordResponseValidationError) ErrorName ¶
func (e ForgotPasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ForgotPasswordResponseValidationError) Field ¶
func (e ForgotPasswordResponseValidationError) Field() string
Field function returns field value.
func (ForgotPasswordResponseValidationError) Key ¶
func (e ForgotPasswordResponseValidationError) Key() bool
Key function returns key value.
func (ForgotPasswordResponseValidationError) Reason ¶
func (e ForgotPasswordResponseValidationError) Reason() string
Reason function returns reason value.
type GetAccountInfoRequest ¶
type GetAccountInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetAccountInfoRequest) Descriptor
deprecated
func (*GetAccountInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountInfoRequest.ProtoReflect.Descriptor instead.
func (*GetAccountInfoRequest) ProtoMessage ¶
func (*GetAccountInfoRequest) ProtoMessage()
func (*GetAccountInfoRequest) ProtoReflect ¶
func (x *GetAccountInfoRequest) ProtoReflect() protoreflect.Message
func (*GetAccountInfoRequest) Reset ¶
func (x *GetAccountInfoRequest) Reset()
func (*GetAccountInfoRequest) String ¶
func (x *GetAccountInfoRequest) String() string
func (*GetAccountInfoRequest) Validate ¶
func (m *GetAccountInfoRequest) Validate() error
Validate checks the field values on GetAccountInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAccountInfoRequest) ValidateAll ¶
func (m *GetAccountInfoRequest) ValidateAll() error
ValidateAll checks the field values on GetAccountInfoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccountInfoRequestMultiError, or nil if none found.
type GetAccountInfoRequestMultiError ¶
type GetAccountInfoRequestMultiError []error
GetAccountInfoRequestMultiError is an error wrapping multiple validation errors returned by GetAccountInfoRequest.ValidateAll() if the designated constraints aren't met.
func (GetAccountInfoRequestMultiError) AllErrors ¶
func (m GetAccountInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountInfoRequestMultiError) Error ¶
func (m GetAccountInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountInfoRequestValidationError ¶
type GetAccountInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GetAccountInfoRequestValidationError is the validation error returned by GetAccountInfoRequest.Validate if the designated constraints aren't met.
func (GetAccountInfoRequestValidationError) Cause ¶
func (e GetAccountInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAccountInfoRequestValidationError) Error ¶
func (e GetAccountInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountInfoRequestValidationError) ErrorName ¶
func (e GetAccountInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountInfoRequestValidationError) Field ¶
func (e GetAccountInfoRequestValidationError) Field() string
Field function returns field value.
func (GetAccountInfoRequestValidationError) Key ¶
func (e GetAccountInfoRequestValidationError) Key() bool
Key function returns key value.
func (GetAccountInfoRequestValidationError) Reason ¶
func (e GetAccountInfoRequestValidationError) Reason() string
Reason function returns reason value.
type GetAccountInfoResponse ¶
type GetAccountInfoResponse struct { Account *accounts.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Oauth2Providers []*accounts.OAuth2Provider `protobuf:"bytes,2,rep,name=oauth2_providers,json=oauth2Providers,proto3" json:"oauth2_providers,omitempty"` Oauth2Connections []*accounts.OAuth2Account `protobuf:"bytes,3,rep,name=oauth2_connections,json=oauth2Connections,proto3" json:"oauth2_connections,omitempty"` // contains filtered or unexported fields }
func (*GetAccountInfoResponse) Descriptor
deprecated
func (*GetAccountInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAccountInfoResponse) GetAccount ¶
func (x *GetAccountInfoResponse) GetAccount() *accounts.Account
func (*GetAccountInfoResponse) GetOauth2Connections ¶
func (x *GetAccountInfoResponse) GetOauth2Connections() []*accounts.OAuth2Account
func (*GetAccountInfoResponse) GetOauth2Providers ¶
func (x *GetAccountInfoResponse) GetOauth2Providers() []*accounts.OAuth2Provider
func (*GetAccountInfoResponse) ProtoMessage ¶
func (*GetAccountInfoResponse) ProtoMessage()
func (*GetAccountInfoResponse) ProtoReflect ¶
func (x *GetAccountInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAccountInfoResponse) Reset ¶
func (x *GetAccountInfoResponse) Reset()
func (*GetAccountInfoResponse) String ¶
func (x *GetAccountInfoResponse) String() string
func (*GetAccountInfoResponse) Validate ¶
func (m *GetAccountInfoResponse) Validate() error
Validate checks the field values on GetAccountInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetAccountInfoResponse) ValidateAll ¶
func (m *GetAccountInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetAccountInfoResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAccountInfoResponseMultiError, or nil if none found.
type GetAccountInfoResponseMultiError ¶
type GetAccountInfoResponseMultiError []error
GetAccountInfoResponseMultiError is an error wrapping multiple validation errors returned by GetAccountInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetAccountInfoResponseMultiError) AllErrors ¶
func (m GetAccountInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountInfoResponseMultiError) Error ¶
func (m GetAccountInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountInfoResponseValidationError ¶
type GetAccountInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetAccountInfoResponseValidationError is the validation error returned by GetAccountInfoResponse.Validate if the designated constraints aren't met.
func (GetAccountInfoResponseValidationError) Cause ¶
func (e GetAccountInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAccountInfoResponseValidationError) Error ¶
func (e GetAccountInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountInfoResponseValidationError) ErrorName ¶
func (e GetAccountInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountInfoResponseValidationError) Field ¶
func (e GetAccountInfoResponseValidationError) Field() string
Field function returns field value.
func (GetAccountInfoResponseValidationError) Key ¶
func (e GetAccountInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetAccountInfoResponseValidationError) Reason ¶
func (e GetAccountInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GetCharactersRequest ¶
type GetCharactersRequest struct {
// contains filtered or unexported fields
}
func (*GetCharactersRequest) Descriptor
deprecated
func (*GetCharactersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCharactersRequest.ProtoReflect.Descriptor instead.
func (*GetCharactersRequest) ProtoMessage ¶
func (*GetCharactersRequest) ProtoMessage()
func (*GetCharactersRequest) ProtoReflect ¶
func (x *GetCharactersRequest) ProtoReflect() protoreflect.Message
func (*GetCharactersRequest) Reset ¶
func (x *GetCharactersRequest) Reset()
func (*GetCharactersRequest) String ¶
func (x *GetCharactersRequest) String() string
func (*GetCharactersRequest) Validate ¶
func (m *GetCharactersRequest) Validate() error
Validate checks the field values on GetCharactersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCharactersRequest) ValidateAll ¶
func (m *GetCharactersRequest) ValidateAll() error
ValidateAll checks the field values on GetCharactersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCharactersRequestMultiError, or nil if none found.
type GetCharactersRequestMultiError ¶
type GetCharactersRequestMultiError []error
GetCharactersRequestMultiError is an error wrapping multiple validation errors returned by GetCharactersRequest.ValidateAll() if the designated constraints aren't met.
func (GetCharactersRequestMultiError) AllErrors ¶
func (m GetCharactersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCharactersRequestMultiError) Error ¶
func (m GetCharactersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCharactersRequestValidationError ¶
type GetCharactersRequestValidationError struct {
// contains filtered or unexported fields
}
GetCharactersRequestValidationError is the validation error returned by GetCharactersRequest.Validate if the designated constraints aren't met.
func (GetCharactersRequestValidationError) Cause ¶
func (e GetCharactersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCharactersRequestValidationError) Error ¶
func (e GetCharactersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCharactersRequestValidationError) ErrorName ¶
func (e GetCharactersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCharactersRequestValidationError) Field ¶
func (e GetCharactersRequestValidationError) Field() string
Field function returns field value.
func (GetCharactersRequestValidationError) Key ¶
func (e GetCharactersRequestValidationError) Key() bool
Key function returns key value.
func (GetCharactersRequestValidationError) Reason ¶
func (e GetCharactersRequestValidationError) Reason() string
Reason function returns reason value.
type GetCharactersResponse ¶
type GetCharactersResponse struct { Chars []*users.User `protobuf:"bytes,1,rep,name=chars,proto3" json:"chars,omitempty"` // contains filtered or unexported fields }
func (*GetCharactersResponse) Descriptor
deprecated
func (*GetCharactersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCharactersResponse.ProtoReflect.Descriptor instead.
func (*GetCharactersResponse) GetChars ¶
func (x *GetCharactersResponse) GetChars() []*users.User
func (*GetCharactersResponse) ProtoMessage ¶
func (*GetCharactersResponse) ProtoMessage()
func (*GetCharactersResponse) ProtoReflect ¶
func (x *GetCharactersResponse) ProtoReflect() protoreflect.Message
func (*GetCharactersResponse) Reset ¶
func (x *GetCharactersResponse) Reset()
func (*GetCharactersResponse) String ¶
func (x *GetCharactersResponse) String() string
func (*GetCharactersResponse) Validate ¶
func (m *GetCharactersResponse) Validate() error
Validate checks the field values on GetCharactersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetCharactersResponse) ValidateAll ¶
func (m *GetCharactersResponse) ValidateAll() error
ValidateAll checks the field values on GetCharactersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetCharactersResponseMultiError, or nil if none found.
type GetCharactersResponseMultiError ¶
type GetCharactersResponseMultiError []error
GetCharactersResponseMultiError is an error wrapping multiple validation errors returned by GetCharactersResponse.ValidateAll() if the designated constraints aren't met.
func (GetCharactersResponseMultiError) AllErrors ¶
func (m GetCharactersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCharactersResponseMultiError) Error ¶
func (m GetCharactersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCharactersResponseValidationError ¶
type GetCharactersResponseValidationError struct {
// contains filtered or unexported fields
}
GetCharactersResponseValidationError is the validation error returned by GetCharactersResponse.Validate if the designated constraints aren't met.
func (GetCharactersResponseValidationError) Cause ¶
func (e GetCharactersResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCharactersResponseValidationError) Error ¶
func (e GetCharactersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCharactersResponseValidationError) ErrorName ¶
func (e GetCharactersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCharactersResponseValidationError) Field ¶
func (e GetCharactersResponseValidationError) Field() string
Field function returns field value.
func (GetCharactersResponseValidationError) Key ¶
func (e GetCharactersResponseValidationError) Key() bool
Key function returns key value.
func (GetCharactersResponseValidationError) Reason ¶
func (e GetCharactersResponseValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` AccountId uint64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccountId ¶ added in v0.6.5
func (x *LoginResponse) GetAccountId() uint64
func (*LoginResponse) GetExpires ¶
func (x *LoginResponse) GetExpires() *timestamp.Timestamp
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
func (*LogoutRequest) Validate ¶
func (m *LogoutRequest) Validate() error
Validate checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutRequest) ValidateAll ¶
func (m *LogoutRequest) ValidateAll() error
ValidateAll checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutRequestMultiError, or nil if none found.
type LogoutRequestMultiError ¶
type LogoutRequestMultiError []error
LogoutRequestMultiError is an error wrapping multiple validation errors returned by LogoutRequest.ValidateAll() if the designated constraints aren't met.
func (LogoutRequestMultiError) AllErrors ¶
func (m LogoutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutRequestMultiError) Error ¶
func (m LogoutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutRequestValidationError ¶
type LogoutRequestValidationError struct {
// contains filtered or unexported fields
}
LogoutRequestValidationError is the validation error returned by LogoutRequest.Validate if the designated constraints aren't met.
func (LogoutRequestValidationError) Cause ¶
func (e LogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (LogoutRequestValidationError) Error ¶
func (e LogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRequestValidationError) ErrorName ¶
func (e LogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRequestValidationError) Field ¶
func (e LogoutRequestValidationError) Field() string
Field function returns field value.
func (LogoutRequestValidationError) Key ¶
func (e LogoutRequestValidationError) Key() bool
Key function returns key value.
func (LogoutRequestValidationError) Reason ¶
func (e LogoutRequestValidationError) Reason() string
Reason function returns reason value.
type LogoutResponse ¶
type LogoutResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) GetSuccess ¶
func (x *LogoutResponse) GetSuccess() bool
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
func (*LogoutResponse) Validate ¶
func (m *LogoutResponse) Validate() error
Validate checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutResponse) ValidateAll ¶
func (m *LogoutResponse) ValidateAll() error
ValidateAll checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutResponseMultiError, or nil if none found.
type LogoutResponseMultiError ¶
type LogoutResponseMultiError []error
LogoutResponseMultiError is an error wrapping multiple validation errors returned by LogoutResponse.ValidateAll() if the designated constraints aren't met.
func (LogoutResponseMultiError) AllErrors ¶
func (m LogoutResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutResponseMultiError) Error ¶
func (m LogoutResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutResponseValidationError ¶
type LogoutResponseValidationError struct {
// contains filtered or unexported fields
}
LogoutResponseValidationError is the validation error returned by LogoutResponse.Validate if the designated constraints aren't met.
func (LogoutResponseValidationError) Cause ¶
func (e LogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (LogoutResponseValidationError) Error ¶
func (e LogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutResponseValidationError) ErrorName ¶
func (e LogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutResponseValidationError) Field ¶
func (e LogoutResponseValidationError) Field() string
Field function returns field value.
func (LogoutResponseValidationError) Key ¶
func (e LogoutResponseValidationError) Key() bool
Key function returns key value.
func (LogoutResponseValidationError) Reason ¶
func (e LogoutResponseValidationError) Reason() string
Reason function returns reason value.
type Server ¶
type Server struct { AuthServiceServer // contains filtered or unexported fields }
func (*Server) AuthFuncOverride ¶
AuthFuncOverride is called instead of exampleAuthFunc
func (*Server) ChangePassword ¶
func (s *Server) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (*Server) ChooseCharacter ¶
func (s *Server) ChooseCharacter(ctx context.Context, req *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
func (*Server) CreateAccount ¶
func (s *Server) CreateAccount(ctx context.Context, req *CreateAccountRequest) (*CreateAccountResponse, error)
func (*Server) DeleteOAuth2Connection ¶
func (s *Server) DeleteOAuth2Connection(ctx context.Context, req *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
func (*Server) ForgotPassword ¶
func (s *Server) ForgotPassword(ctx context.Context, req *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
func (*Server) GetAccountInfo ¶
func (s *Server) GetAccountInfo(ctx context.Context, req *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
func (*Server) GetCharacters ¶
func (s *Server) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
func (*Server) Login ¶
func (s *Server) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
func (*Server) Logout ¶
func (s *Server) Logout(ctx context.Context, req *LogoutRequest) (*LogoutResponse, error)
func (*Server) PermissionUnaryFuncOverride ¶
func (*Server) RegisterServer ¶ added in v0.8.0
func (*Server) SetJob ¶
func (s *Server) SetJob(ctx context.Context, req *SetJobRequest) (*SetJobResponse, error)
type SetJobRequest ¶
type SetJobRequest struct { CharId int32 `protobuf:"varint,1,opt,name=char_id,json=charId,proto3" json:"char_id,omitempty"` Job string `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` JobGrade int32 `protobuf:"varint,3,opt,name=job_grade,json=jobGrade,proto3" json:"job_grade,omitempty"` // contains filtered or unexported fields }
func (*SetJobRequest) Descriptor
deprecated
func (*SetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetJobRequest.ProtoReflect.Descriptor instead.
func (*SetJobRequest) GetCharId ¶
func (x *SetJobRequest) GetCharId() int32
func (*SetJobRequest) GetJob ¶
func (x *SetJobRequest) GetJob() string
func (*SetJobRequest) GetJobGrade ¶
func (x *SetJobRequest) GetJobGrade() int32
func (*SetJobRequest) ProtoMessage ¶
func (*SetJobRequest) ProtoMessage()
func (*SetJobRequest) ProtoReflect ¶
func (x *SetJobRequest) ProtoReflect() protoreflect.Message
func (*SetJobRequest) Reset ¶
func (x *SetJobRequest) Reset()
func (*SetJobRequest) String ¶
func (x *SetJobRequest) String() string
func (*SetJobRequest) Validate ¶
func (m *SetJobRequest) Validate() error
Validate checks the field values on SetJobRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetJobRequest) ValidateAll ¶
func (m *SetJobRequest) ValidateAll() error
ValidateAll checks the field values on SetJobRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobRequestMultiError, or nil if none found.
type SetJobRequestMultiError ¶
type SetJobRequestMultiError []error
SetJobRequestMultiError is an error wrapping multiple validation errors returned by SetJobRequest.ValidateAll() if the designated constraints aren't met.
func (SetJobRequestMultiError) AllErrors ¶
func (m SetJobRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetJobRequestMultiError) Error ¶
func (m SetJobRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetJobRequestValidationError ¶
type SetJobRequestValidationError struct {
// contains filtered or unexported fields
}
SetJobRequestValidationError is the validation error returned by SetJobRequest.Validate if the designated constraints aren't met.
func (SetJobRequestValidationError) Cause ¶
func (e SetJobRequestValidationError) Cause() error
Cause function returns cause value.
func (SetJobRequestValidationError) Error ¶
func (e SetJobRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetJobRequestValidationError) ErrorName ¶
func (e SetJobRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetJobRequestValidationError) Field ¶
func (e SetJobRequestValidationError) Field() string
Field function returns field value.
func (SetJobRequestValidationError) Key ¶
func (e SetJobRequestValidationError) Key() bool
Key function returns key value.
func (SetJobRequestValidationError) Reason ¶
func (e SetJobRequestValidationError) Reason() string
Reason function returns reason value.
type SetJobResponse ¶
type SetJobResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` JobProps *users.JobProps `protobuf:"bytes,3,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"` Char *users.User `protobuf:"bytes,4,opt,name=char,proto3" json:"char,omitempty"` // contains filtered or unexported fields }
func (*SetJobResponse) Descriptor
deprecated
func (*SetJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetJobResponse.ProtoReflect.Descriptor instead.
func (*SetJobResponse) GetChar ¶
func (x *SetJobResponse) GetChar() *users.User
func (*SetJobResponse) GetExpires ¶
func (x *SetJobResponse) GetExpires() *timestamp.Timestamp
func (*SetJobResponse) GetJobProps ¶
func (x *SetJobResponse) GetJobProps() *users.JobProps
func (*SetJobResponse) GetToken ¶
func (x *SetJobResponse) GetToken() string
func (*SetJobResponse) ProtoMessage ¶
func (*SetJobResponse) ProtoMessage()
func (*SetJobResponse) ProtoReflect ¶
func (x *SetJobResponse) ProtoReflect() protoreflect.Message
func (*SetJobResponse) Reset ¶
func (x *SetJobResponse) Reset()
func (*SetJobResponse) String ¶
func (x *SetJobResponse) String() string
func (*SetJobResponse) Validate ¶
func (m *SetJobResponse) Validate() error
Validate checks the field values on SetJobResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SetJobResponse) ValidateAll ¶
func (m *SetJobResponse) ValidateAll() error
ValidateAll checks the field values on SetJobResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobResponseMultiError, or nil if none found.
type SetJobResponseMultiError ¶
type SetJobResponseMultiError []error
SetJobResponseMultiError is an error wrapping multiple validation errors returned by SetJobResponse.ValidateAll() if the designated constraints aren't met.
func (SetJobResponseMultiError) AllErrors ¶
func (m SetJobResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetJobResponseMultiError) Error ¶
func (m SetJobResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetJobResponseValidationError ¶
type SetJobResponseValidationError struct {
// contains filtered or unexported fields
}
SetJobResponseValidationError is the validation error returned by SetJobResponse.Validate if the designated constraints aren't met.
func (SetJobResponseValidationError) Cause ¶
func (e SetJobResponseValidationError) Cause() error
Cause function returns cause value.
func (SetJobResponseValidationError) Error ¶
func (e SetJobResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetJobResponseValidationError) ErrorName ¶
func (e SetJobResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetJobResponseValidationError) Field ¶
func (e SetJobResponseValidationError) Field() string
Field function returns field value.
func (SetJobResponseValidationError) Key ¶
func (e SetJobResponseValidationError) Key() bool
Key function returns key value.
func (SetJobResponseValidationError) Reason ¶
func (e SetJobResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) ChangePassword ¶
func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedAuthServiceServer) ChooseCharacter ¶
func (UnimplementedAuthServiceServer) ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
func (UnimplementedAuthServiceServer) CreateAccount ¶
func (UnimplementedAuthServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedAuthServiceServer) DeleteOAuth2Connection ¶
func (UnimplementedAuthServiceServer) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
func (UnimplementedAuthServiceServer) ForgotPassword ¶
func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
func (UnimplementedAuthServiceServer) GetAccountInfo ¶
func (UnimplementedAuthServiceServer) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
func (UnimplementedAuthServiceServer) GetCharacters ¶
func (UnimplementedAuthServiceServer) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error)
func (UnimplementedAuthServiceServer) Login ¶
func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServiceServer) Logout ¶
func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedAuthServiceServer) SetJob ¶
func (UnimplementedAuthServiceServer) SetJob(context.Context, *SetJobRequest) (*SetJobResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.