Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Code generated by proroc-gen-graphql, DO NOT EDIT.
Index ¶
- Variables
- func Gql__input_LoginCallbackRequest() *graphql.InputObject
- func Gql__input_LoginCallbackResponse() *graphql.InputObject
- func Gql__input_LoginResponse() *graphql.InputObject
- func Gql__input_ValidateUserLoginRequest() *graphql.InputObject
- func Gql__input_ValidateUserLoginResponse() *graphql.InputObject
- func Gql__type_LoginCallbackRequest() *graphql.Object
- func Gql__type_LoginCallbackResponse() *graphql.Object
- func Gql__type_LoginResponse() *graphql.Object
- func Gql__type_ValidateUserLoginRequest() *graphql.Object
- func Gql__type_ValidateUserLoginResponse() *graphql.Object
- func RegisterAuthenticationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAuthenticationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthenticationsClient) error
- func RegisterAuthenticationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAuthenticationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthenticationsServer) error
- func RegisterAuthenticationsServer(s *grpc.Server, srv AuthenticationsServer)
- func RegisterValidateLoginServiceServer(s *grpc.Server, srv ValidateLoginServiceServer)
- type AuthenticationsClient
- type AuthenticationsServer
- type LoginCallbackRequest
- func (*LoginCallbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginCallbackRequest) GetCode() string
- func (x *LoginCallbackRequest) GetState() string
- func (*LoginCallbackRequest) ProtoMessage()
- func (x *LoginCallbackRequest) ProtoReflect() protoreflect.Message
- func (x *LoginCallbackRequest) Reset()
- func (x *LoginCallbackRequest) String() string
- func (m *LoginCallbackRequest) Validate() error
- type LoginCallbackRequestValidationError
- func (e LoginCallbackRequestValidationError) Cause() error
- func (e LoginCallbackRequestValidationError) Error() string
- func (e LoginCallbackRequestValidationError) ErrorName() string
- func (e LoginCallbackRequestValidationError) Field() string
- func (e LoginCallbackRequestValidationError) Key() bool
- func (e LoginCallbackRequestValidationError) Reason() string
- type LoginCallbackResponse
- func (*LoginCallbackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginCallbackResponse) GetAccessToken() string
- func (x *LoginCallbackResponse) GetIdToken() string
- func (x *LoginCallbackResponse) GetUserId() string
- func (*LoginCallbackResponse) ProtoMessage()
- func (x *LoginCallbackResponse) ProtoReflect() protoreflect.Message
- func (x *LoginCallbackResponse) Reset()
- func (x *LoginCallbackResponse) String() string
- func (m *LoginCallbackResponse) Validate() error
- type LoginCallbackResponseValidationError
- func (e LoginCallbackResponseValidationError) Cause() error
- func (e LoginCallbackResponseValidationError) Error() string
- func (e LoginCallbackResponseValidationError) ErrorName() string
- func (e LoginCallbackResponseValidationError) Field() string
- func (e LoginCallbackResponseValidationError) Key() bool
- func (e LoginCallbackResponseValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetUrl() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- 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 UnimplementedAuthenticationsServer
- func (UnimplementedAuthenticationsServer) Login(context.Context, *empty.Empty) (*LoginResponse, error)
- func (UnimplementedAuthenticationsServer) LoginCallback(context.Context, *LoginCallbackRequest) (*LoginCallbackResponse, error)
- func (UnimplementedAuthenticationsServer) Logout(context.Context, *empty.Empty) (*empty.Empty, error)
- type UnimplementedValidateLoginServiceServer
- type UnsafeAuthenticationsServer
- type UnsafeValidateLoginServiceServer
- type ValidateLoginServiceClient
- type ValidateLoginServiceServer
- type ValidateUserLoginRequest
- func (*ValidateUserLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateUserLoginRequest) GetId() string
- func (x *ValidateUserLoginRequest) GetPassword() string
- func (*ValidateUserLoginRequest) ProtoMessage()
- func (x *ValidateUserLoginRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateUserLoginRequest) Reset()
- func (x *ValidateUserLoginRequest) String() string
- func (m *ValidateUserLoginRequest) Validate() error
- type ValidateUserLoginRequestValidationError
- func (e ValidateUserLoginRequestValidationError) Cause() error
- func (e ValidateUserLoginRequestValidationError) Error() string
- func (e ValidateUserLoginRequestValidationError) ErrorName() string
- func (e ValidateUserLoginRequestValidationError) Field() string
- func (e ValidateUserLoginRequestValidationError) Key() bool
- func (e ValidateUserLoginRequestValidationError) Reason() string
- type ValidateUserLoginResponse
- func (*ValidateUserLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateUserLoginResponse) GetId() string
- func (*ValidateUserLoginResponse) ProtoMessage()
- func (x *ValidateUserLoginResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateUserLoginResponse) Reset()
- func (x *ValidateUserLoginResponse) String() string
- func (m *ValidateUserLoginResponse) Validate() error
- type ValidateUserLoginResponseValidationError
- func (e ValidateUserLoginResponseValidationError) Cause() error
- func (e ValidateUserLoginResponseValidationError) Error() string
- func (e ValidateUserLoginResponseValidationError) ErrorName() string
- func (e ValidateUserLoginResponseValidationError) Field() string
- func (e ValidateUserLoginResponseValidationError) Key() bool
- func (e ValidateUserLoginResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_pb_authentication_proto protoreflect.FileDescriptor
Functions ¶
func Gql__input_LoginCallbackRequest ¶
func Gql__input_LoginCallbackRequest() *graphql.InputObject
func Gql__input_LoginCallbackResponse ¶
func Gql__input_LoginCallbackResponse() *graphql.InputObject
func Gql__input_LoginResponse ¶
func Gql__input_LoginResponse() *graphql.InputObject
func Gql__input_ValidateUserLoginRequest ¶
func Gql__input_ValidateUserLoginRequest() *graphql.InputObject
func Gql__input_ValidateUserLoginResponse ¶
func Gql__input_ValidateUserLoginResponse() *graphql.InputObject
func Gql__type_LoginResponse ¶
func RegisterAuthenticationsHandler ¶
func RegisterAuthenticationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAuthenticationsHandler registers the http handlers for service Authentications to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAuthenticationsHandlerClient ¶
func RegisterAuthenticationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthenticationsClient) error
RegisterAuthenticationsHandlerClient registers the http handlers for service Authentications to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthenticationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthenticationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthenticationsClient" to call the correct interceptors.
func RegisterAuthenticationsHandlerFromEndpoint ¶
func RegisterAuthenticationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAuthenticationsHandlerFromEndpoint is same as RegisterAuthenticationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAuthenticationsHandlerServer ¶
func RegisterAuthenticationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthenticationsServer) error
RegisterAuthenticationsHandlerServer registers the http handlers for service Authentications to "mux". UnaryRPC :call AuthenticationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthenticationsHandlerFromEndpoint instead.
func RegisterAuthenticationsServer ¶
func RegisterAuthenticationsServer(s *grpc.Server, srv AuthenticationsServer)
func RegisterValidateLoginServiceServer ¶
func RegisterValidateLoginServiceServer(s *grpc.Server, srv ValidateLoginServiceServer)
Types ¶
type AuthenticationsClient ¶
type AuthenticationsClient interface { // Login provide a url of External OAuth login endpoint (Auth0) Login(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*LoginResponse, error) // LoginCallback receives a callback from external OAuth application LoginCallback(ctx context.Context, in *LoginCallbackRequest, opts ...grpc.CallOption) (*LoginCallbackResponse, error) Logout(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
AuthenticationsClient is the client API for Authentications 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 NewAuthenticationsClient ¶
func NewAuthenticationsClient(cc grpc.ClientConnInterface) AuthenticationsClient
type AuthenticationsServer ¶
type AuthenticationsServer interface { // Login provide a url of External OAuth login endpoint (Auth0) Login(context.Context, *empty.Empty) (*LoginResponse, error) // LoginCallback receives a callback from external OAuth application LoginCallback(context.Context, *LoginCallbackRequest) (*LoginCallbackResponse, error) Logout(context.Context, *empty.Empty) (*empty.Empty, error) }
AuthenticationsServer is the server API for Authentications service. All implementations should embed UnimplementedAuthenticationsServer for forward compatibility
type LoginCallbackRequest ¶
type LoginCallbackRequest struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*LoginCallbackRequest) Descriptor
deprecated
func (*LoginCallbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginCallbackRequest.ProtoReflect.Descriptor instead.
func (*LoginCallbackRequest) GetCode ¶
func (x *LoginCallbackRequest) GetCode() string
func (*LoginCallbackRequest) GetState ¶
func (x *LoginCallbackRequest) GetState() string
func (*LoginCallbackRequest) ProtoMessage ¶
func (*LoginCallbackRequest) ProtoMessage()
func (*LoginCallbackRequest) ProtoReflect ¶
func (x *LoginCallbackRequest) ProtoReflect() protoreflect.Message
func (*LoginCallbackRequest) Reset ¶
func (x *LoginCallbackRequest) Reset()
func (*LoginCallbackRequest) String ¶
func (x *LoginCallbackRequest) String() string
func (*LoginCallbackRequest) Validate ¶
func (m *LoginCallbackRequest) Validate() error
Validate checks the field values on LoginCallbackRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginCallbackRequestValidationError ¶
type LoginCallbackRequestValidationError struct {
// contains filtered or unexported fields
}
LoginCallbackRequestValidationError is the validation error returned by LoginCallbackRequest.Validate if the designated constraints aren't met.
func (LoginCallbackRequestValidationError) Cause ¶
func (e LoginCallbackRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginCallbackRequestValidationError) Error ¶
func (e LoginCallbackRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginCallbackRequestValidationError) ErrorName ¶
func (e LoginCallbackRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginCallbackRequestValidationError) Field ¶
func (e LoginCallbackRequestValidationError) Field() string
Field function returns field value.
func (LoginCallbackRequestValidationError) Key ¶
func (e LoginCallbackRequestValidationError) Key() bool
Key function returns key value.
func (LoginCallbackRequestValidationError) Reason ¶
func (e LoginCallbackRequestValidationError) Reason() string
Reason function returns reason value.
type LoginCallbackResponse ¶
type LoginCallbackResponse struct { IdToken string `protobuf:"bytes,1,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*LoginCallbackResponse) Descriptor
deprecated
func (*LoginCallbackResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginCallbackResponse.ProtoReflect.Descriptor instead.
func (*LoginCallbackResponse) GetAccessToken ¶
func (x *LoginCallbackResponse) GetAccessToken() string
func (*LoginCallbackResponse) GetIdToken ¶
func (x *LoginCallbackResponse) GetIdToken() string
func (*LoginCallbackResponse) GetUserId ¶
func (x *LoginCallbackResponse) GetUserId() string
func (*LoginCallbackResponse) ProtoMessage ¶
func (*LoginCallbackResponse) ProtoMessage()
func (*LoginCallbackResponse) ProtoReflect ¶
func (x *LoginCallbackResponse) ProtoReflect() protoreflect.Message
func (*LoginCallbackResponse) Reset ¶
func (x *LoginCallbackResponse) Reset()
func (*LoginCallbackResponse) String ¶
func (x *LoginCallbackResponse) String() string
func (*LoginCallbackResponse) Validate ¶
func (m *LoginCallbackResponse) Validate() error
Validate checks the field values on LoginCallbackResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LoginCallbackResponseValidationError ¶
type LoginCallbackResponseValidationError struct {
// contains filtered or unexported fields
}
LoginCallbackResponseValidationError is the validation error returned by LoginCallbackResponse.Validate if the designated constraints aren't met.
func (LoginCallbackResponseValidationError) Cause ¶
func (e LoginCallbackResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginCallbackResponseValidationError) Error ¶
func (e LoginCallbackResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginCallbackResponseValidationError) ErrorName ¶
func (e LoginCallbackResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginCallbackResponseValidationError) Field ¶
func (e LoginCallbackResponseValidationError) Field() string
Field function returns field value.
func (LoginCallbackResponseValidationError) Key ¶
func (e LoginCallbackResponseValidationError) Key() bool
Key function returns key value.
func (LoginCallbackResponseValidationError) Reason ¶
func (e LoginCallbackResponseValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetUrl ¶
func (x *LoginResponse) GetUrl() 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, an error is returned.
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 UnimplementedAuthenticationsServer ¶
type UnimplementedAuthenticationsServer struct { }
UnimplementedAuthenticationsServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationsServer) Login ¶
func (UnimplementedAuthenticationsServer) Login(context.Context, *empty.Empty) (*LoginResponse, error)
func (UnimplementedAuthenticationsServer) LoginCallback ¶
func (UnimplementedAuthenticationsServer) LoginCallback(context.Context, *LoginCallbackRequest) (*LoginCallbackResponse, error)
type UnimplementedValidateLoginServiceServer ¶
type UnimplementedValidateLoginServiceServer struct { }
UnimplementedValidateLoginServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedValidateLoginServiceServer) ValidateUserLogin ¶
func (UnimplementedValidateLoginServiceServer) ValidateUserLogin(context.Context, *ValidateUserLoginRequest) (*ValidateUserLoginResponse, error)
type UnsafeAuthenticationsServer ¶
type UnsafeAuthenticationsServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationsServer will result in compilation errors.
type UnsafeValidateLoginServiceServer ¶
type UnsafeValidateLoginServiceServer interface {
// contains filtered or unexported methods
}
UnsafeValidateLoginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ValidateLoginServiceServer will result in compilation errors.
type ValidateLoginServiceClient ¶
type ValidateLoginServiceClient interface {
ValidateUserLogin(ctx context.Context, in *ValidateUserLoginRequest, opts ...grpc.CallOption) (*ValidateUserLoginResponse, error)
}
ValidateLoginServiceClient is the client API for ValidateLoginService 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 NewValidateLoginServiceClient ¶
func NewValidateLoginServiceClient(cc grpc.ClientConnInterface) ValidateLoginServiceClient
type ValidateLoginServiceServer ¶
type ValidateLoginServiceServer interface {
ValidateUserLogin(context.Context, *ValidateUserLoginRequest) (*ValidateUserLoginResponse, error)
}
ValidateLoginServiceServer is the server API for ValidateLoginService service. All implementations should embed UnimplementedValidateLoginServiceServer for forward compatibility
type ValidateUserLoginRequest ¶
type ValidateUserLoginRequest struct { //Id is the user Unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Password is the user password Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
ValidateUserLoginRequest contains user login credential.
func (*ValidateUserLoginRequest) Descriptor
deprecated
func (*ValidateUserLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateUserLoginRequest.ProtoReflect.Descriptor instead.
func (*ValidateUserLoginRequest) GetId ¶
func (x *ValidateUserLoginRequest) GetId() string
func (*ValidateUserLoginRequest) GetPassword ¶
func (x *ValidateUserLoginRequest) GetPassword() string
func (*ValidateUserLoginRequest) ProtoMessage ¶
func (*ValidateUserLoginRequest) ProtoMessage()
func (*ValidateUserLoginRequest) ProtoReflect ¶
func (x *ValidateUserLoginRequest) ProtoReflect() protoreflect.Message
func (*ValidateUserLoginRequest) Reset ¶
func (x *ValidateUserLoginRequest) Reset()
func (*ValidateUserLoginRequest) String ¶
func (x *ValidateUserLoginRequest) String() string
func (*ValidateUserLoginRequest) Validate ¶
func (m *ValidateUserLoginRequest) Validate() error
Validate checks the field values on ValidateUserLoginRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ValidateUserLoginRequestValidationError ¶
type ValidateUserLoginRequestValidationError struct {
// contains filtered or unexported fields
}
ValidateUserLoginRequestValidationError is the validation error returned by ValidateUserLoginRequest.Validate if the designated constraints aren't met.
func (ValidateUserLoginRequestValidationError) Cause ¶
func (e ValidateUserLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidateUserLoginRequestValidationError) Error ¶
func (e ValidateUserLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateUserLoginRequestValidationError) ErrorName ¶
func (e ValidateUserLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateUserLoginRequestValidationError) Field ¶
func (e ValidateUserLoginRequestValidationError) Field() string
Field function returns field value.
func (ValidateUserLoginRequestValidationError) Key ¶
func (e ValidateUserLoginRequestValidationError) Key() bool
Key function returns key value.
func (ValidateUserLoginRequestValidationError) Reason ¶
func (e ValidateUserLoginRequestValidationError) Reason() string
Reason function returns reason value.
type ValidateUserLoginResponse ¶
type ValidateUserLoginResponse struct { //Id is the user Unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ValidateUserLoginResponse) Descriptor
deprecated
func (*ValidateUserLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateUserLoginResponse.ProtoReflect.Descriptor instead.
func (*ValidateUserLoginResponse) GetId ¶
func (x *ValidateUserLoginResponse) GetId() string
func (*ValidateUserLoginResponse) ProtoMessage ¶
func (*ValidateUserLoginResponse) ProtoMessage()
func (*ValidateUserLoginResponse) ProtoReflect ¶
func (x *ValidateUserLoginResponse) ProtoReflect() protoreflect.Message
func (*ValidateUserLoginResponse) Reset ¶
func (x *ValidateUserLoginResponse) Reset()
func (*ValidateUserLoginResponse) String ¶
func (x *ValidateUserLoginResponse) String() string
func (*ValidateUserLoginResponse) Validate ¶
func (m *ValidateUserLoginResponse) Validate() error
Validate checks the field values on ValidateUserLoginResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ValidateUserLoginResponseValidationError ¶
type ValidateUserLoginResponseValidationError struct {
// contains filtered or unexported fields
}
ValidateUserLoginResponseValidationError is the validation error returned by ValidateUserLoginResponse.Validate if the designated constraints aren't met.
func (ValidateUserLoginResponseValidationError) Cause ¶
func (e ValidateUserLoginResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidateUserLoginResponseValidationError) Error ¶
func (e ValidateUserLoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateUserLoginResponseValidationError) ErrorName ¶
func (e ValidateUserLoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateUserLoginResponseValidationError) Field ¶
func (e ValidateUserLoginResponseValidationError) Field() string
Field function returns field value.
func (ValidateUserLoginResponseValidationError) Key ¶
func (e ValidateUserLoginResponseValidationError) Key() bool
Key function returns key value.
func (ValidateUserLoginResponseValidationError) Reason ¶
func (e ValidateUserLoginResponseValidationError) Reason() string
Reason function returns reason value.