Documentation ¶
Index ¶
- Variables
- func DRPCRegisterAuthService(mux drpc.Mux, impl DRPCAuthServiceServer) error
- func DRPCRegisterHealth(mux drpc.Mux, impl DRPCHealthServer) error
- func DRPCRegisterUserService(mux drpc.Mux, impl DRPCUserServiceServer) error
- type AuthReq
- type AuthRes
- type CreateUserReq
- type CreateUserRes
- type DRPCAuthServiceClient
- type DRPCAuthServiceDescription
- type DRPCAuthServiceServer
- type DRPCAuthServiceUnimplementedServer
- type DRPCAuthService_SignInStream
- type DRPCAuthService_SignUpStream
- type DRPCHealthClient
- type DRPCHealthDescription
- type DRPCHealthServer
- type DRPCHealthUnimplementedServer
- type DRPCHealth_CheckStream
- type DRPCUserServiceClient
- type DRPCUserServiceDescription
- type DRPCUserServiceServer
- type DRPCUserServiceUnimplementedServer
- func (s *DRPCUserServiceUnimplementedServer) CreateUser(context.Context, *CreateUserReq) (*CreateUserRes, error)
- func (s *DRPCUserServiceUnimplementedServer) DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserRes, error)
- func (s *DRPCUserServiceUnimplementedServer) GetUser(context.Context, *GetUserReq) (*GetUserRes, error)
- func (s *DRPCUserServiceUnimplementedServer) GetUsers(context.Context, *GetUsersReq) (*GetUsersRes, error)
- func (s *DRPCUserServiceUnimplementedServer) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserRes, error)
- type DRPCUserService_CreateUserStream
- type DRPCUserService_DeleteUserStream
- type DRPCUserService_GetUserStream
- type DRPCUserService_GetUsersStream
- type DRPCUserService_UpdateUserStream
- type DeleteUserReq
- type DeleteUserRes
- type GetUserReq
- func (*GetUserReq) Descriptor() ([]byte, []int)deprecated
- func (m *GetUserReq) GetIdentifier() isGetUserReq_Identifier
- func (x *GetUserReq) GetUsername() string
- func (x *GetUserReq) GetUuid() string
- func (*GetUserReq) ProtoMessage()
- func (x *GetUserReq) ProtoReflect() protoreflect.Message
- func (x *GetUserReq) Reset()
- func (x *GetUserReq) String() string
- type GetUserReq_Username
- type GetUserReq_Uuid
- type GetUserRes
- type GetUsersReq
- type GetUsersRes
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckRequest) GetService() string
- func (*HealthCheckRequest) ProtoMessage()
- func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest) Reset()
- func (x *HealthCheckRequest) String() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type HealthCheckResponse_ServingStatus
- func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse_ServingStatus
- func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber
- func (x HealthCheckResponse_ServingStatus) String() string
- func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType
- type UpdateUserReq
- func (*UpdateUserReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserReq) GetUser() *User
- func (x *UpdateUserReq) GetUuid() string
- func (*UpdateUserReq) ProtoMessage()
- func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserReq) Reset()
- func (x *UpdateUserReq) String() string
- type UpdateUserRes
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetPassword() string
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (x *User) GetUuid() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var ( HealthCheckResponse_ServingStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVING", 2: "NOT_SERVING", } HealthCheckResponse_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, "NOT_SERVING": 2, } )
Enum value maps for HealthCheckResponse_ServingStatus.
var File_proto_auth_proto protoreflect.FileDescriptor
var File_proto_health_proto protoreflect.FileDescriptor
var File_proto_user_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterAuthService ¶
func DRPCRegisterAuthService(mux drpc.Mux, impl DRPCAuthServiceServer) error
func DRPCRegisterHealth ¶
func DRPCRegisterHealth(mux drpc.Mux, impl DRPCHealthServer) error
func DRPCRegisterUserService ¶
func DRPCRegisterUserService(mux drpc.Mux, impl DRPCUserServiceServer) error
Types ¶
type AuthReq ¶
type AuthReq 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 (*AuthReq) Descriptor
deprecated
func (*AuthReq) GetPassword ¶
func (*AuthReq) GetUsername ¶
func (*AuthReq) ProtoMessage ¶
func (*AuthReq) ProtoMessage()
func (*AuthReq) ProtoReflect ¶
func (x *AuthReq) ProtoReflect() protoreflect.Message
type AuthRes ¶
type AuthRes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Token *string `protobuf:"bytes,2,opt,name=token,proto3,oneof" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AuthRes) Descriptor
deprecated
func (*AuthRes) GetMessage ¶
func (*AuthRes) ProtoMessage ¶
func (*AuthRes) ProtoMessage()
func (*AuthRes) ProtoReflect ¶
func (x *AuthRes) ProtoReflect() protoreflect.Message
type CreateUserReq ¶
type CreateUserReq struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Create user
func (*CreateUserReq) Descriptor
deprecated
func (*CreateUserReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserReq.ProtoReflect.Descriptor instead.
func (*CreateUserReq) GetUser ¶
func (x *CreateUserReq) GetUser() *User
func (*CreateUserReq) ProtoMessage ¶
func (*CreateUserReq) ProtoMessage()
func (*CreateUserReq) ProtoReflect ¶
func (x *CreateUserReq) ProtoReflect() protoreflect.Message
func (*CreateUserReq) Reset ¶
func (x *CreateUserReq) Reset()
func (*CreateUserReq) String ¶
func (x *CreateUserReq) String() string
type CreateUserRes ¶
type CreateUserRes struct { StatusMessage string `protobuf:"bytes,1,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRes) Descriptor
deprecated
func (*CreateUserRes) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRes.ProtoReflect.Descriptor instead.
func (*CreateUserRes) GetStatusMessage ¶ added in v1.0.1
func (x *CreateUserRes) GetStatusMessage() string
func (*CreateUserRes) ProtoMessage ¶
func (*CreateUserRes) ProtoMessage()
func (*CreateUserRes) ProtoReflect ¶
func (x *CreateUserRes) ProtoReflect() protoreflect.Message
func (*CreateUserRes) Reset ¶
func (x *CreateUserRes) Reset()
func (*CreateUserRes) String ¶
func (x *CreateUserRes) String() string
type DRPCAuthServiceClient ¶
type DRPCAuthServiceClient interface { DRPCConn() drpc.Conn SignIn(ctx context.Context, in *AuthReq) (*AuthRes, error) SignUp(ctx context.Context, in *AuthReq) (*AuthRes, error) }
func NewDRPCAuthServiceClient ¶
func NewDRPCAuthServiceClient(cc drpc.Conn) DRPCAuthServiceClient
type DRPCAuthServiceDescription ¶
type DRPCAuthServiceDescription struct{}
func (DRPCAuthServiceDescription) NumMethods ¶
func (DRPCAuthServiceDescription) NumMethods() int
type DRPCAuthServiceServer ¶
type DRPCAuthServiceUnimplementedServer ¶
type DRPCAuthServiceUnimplementedServer struct{}
type DRPCHealthClient ¶
type DRPCHealthClient interface { DRPCConn() drpc.Conn Check(ctx context.Context, in *HealthCheckRequest) (*HealthCheckResponse, error) }
func NewDRPCHealthClient ¶
func NewDRPCHealthClient(cc drpc.Conn) DRPCHealthClient
type DRPCHealthDescription ¶
type DRPCHealthDescription struct{}
func (DRPCHealthDescription) NumMethods ¶
func (DRPCHealthDescription) NumMethods() int
type DRPCHealthServer ¶
type DRPCHealthServer interface {
Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}
type DRPCHealthUnimplementedServer ¶
type DRPCHealthUnimplementedServer struct{}
func (*DRPCHealthUnimplementedServer) Check ¶
func (s *DRPCHealthUnimplementedServer) Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
type DRPCHealth_CheckStream ¶
type DRPCHealth_CheckStream interface { drpc.Stream SendAndClose(*HealthCheckResponse) error }
type DRPCUserServiceClient ¶
type DRPCUserServiceClient interface { DRPCConn() drpc.Conn GetUsers(ctx context.Context, in *GetUsersReq) (*GetUsersRes, error) GetUser(ctx context.Context, in *GetUserReq) (*GetUserRes, error) CreateUser(ctx context.Context, in *CreateUserReq) (*CreateUserRes, error) DeleteUser(ctx context.Context, in *DeleteUserReq) (*DeleteUserRes, error) UpdateUser(ctx context.Context, in *UpdateUserReq) (*UpdateUserRes, error) }
func NewDRPCUserServiceClient ¶
func NewDRPCUserServiceClient(cc drpc.Conn) DRPCUserServiceClient
type DRPCUserServiceDescription ¶
type DRPCUserServiceDescription struct{}
func (DRPCUserServiceDescription) NumMethods ¶
func (DRPCUserServiceDescription) NumMethods() int
type DRPCUserServiceServer ¶
type DRPCUserServiceServer interface { GetUsers(context.Context, *GetUsersReq) (*GetUsersRes, error) GetUser(context.Context, *GetUserReq) (*GetUserRes, error) CreateUser(context.Context, *CreateUserReq) (*CreateUserRes, error) DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserRes, error) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserRes, error) }
type DRPCUserServiceUnimplementedServer ¶
type DRPCUserServiceUnimplementedServer struct{}
func (*DRPCUserServiceUnimplementedServer) CreateUser ¶
func (s *DRPCUserServiceUnimplementedServer) CreateUser(context.Context, *CreateUserReq) (*CreateUserRes, error)
func (*DRPCUserServiceUnimplementedServer) DeleteUser ¶
func (s *DRPCUserServiceUnimplementedServer) DeleteUser(context.Context, *DeleteUserReq) (*DeleteUserRes, error)
func (*DRPCUserServiceUnimplementedServer) GetUser ¶
func (s *DRPCUserServiceUnimplementedServer) GetUser(context.Context, *GetUserReq) (*GetUserRes, error)
func (*DRPCUserServiceUnimplementedServer) GetUsers ¶ added in v1.0.1
func (s *DRPCUserServiceUnimplementedServer) GetUsers(context.Context, *GetUsersReq) (*GetUsersRes, error)
func (*DRPCUserServiceUnimplementedServer) UpdateUser ¶
func (s *DRPCUserServiceUnimplementedServer) UpdateUser(context.Context, *UpdateUserReq) (*UpdateUserRes, error)
type DRPCUserService_CreateUserStream ¶
type DRPCUserService_CreateUserStream interface { drpc.Stream SendAndClose(*CreateUserRes) error }
type DRPCUserService_DeleteUserStream ¶
type DRPCUserService_DeleteUserStream interface { drpc.Stream SendAndClose(*DeleteUserRes) error }
type DRPCUserService_GetUserStream ¶
type DRPCUserService_GetUserStream interface { drpc.Stream SendAndClose(*GetUserRes) error }
type DRPCUserService_GetUsersStream ¶ added in v1.0.1
type DRPCUserService_GetUsersStream interface { drpc.Stream SendAndClose(*GetUsersRes) error }
type DRPCUserService_UpdateUserStream ¶
type DRPCUserService_UpdateUserStream interface { drpc.Stream SendAndClose(*UpdateUserRes) error }
type DeleteUserReq ¶
type DeleteUserReq struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
Delete user
func (*DeleteUserReq) Descriptor
deprecated
func (*DeleteUserReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserReq.ProtoReflect.Descriptor instead.
func (*DeleteUserReq) GetUuid ¶
func (x *DeleteUserReq) GetUuid() string
func (*DeleteUserReq) ProtoMessage ¶
func (*DeleteUserReq) ProtoMessage()
func (*DeleteUserReq) ProtoReflect ¶
func (x *DeleteUserReq) ProtoReflect() protoreflect.Message
func (*DeleteUserReq) Reset ¶
func (x *DeleteUserReq) Reset()
func (*DeleteUserReq) String ¶
func (x *DeleteUserReq) String() string
type DeleteUserRes ¶
type DeleteUserRes struct { StatusMessage string `protobuf:"bytes,1,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRes) Descriptor
deprecated
func (*DeleteUserRes) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRes.ProtoReflect.Descriptor instead.
func (*DeleteUserRes) GetStatusMessage ¶ added in v1.0.1
func (x *DeleteUserRes) GetStatusMessage() string
func (*DeleteUserRes) ProtoMessage ¶
func (*DeleteUserRes) ProtoMessage()
func (*DeleteUserRes) ProtoReflect ¶
func (x *DeleteUserRes) ProtoReflect() protoreflect.Message
func (*DeleteUserRes) Reset ¶
func (x *DeleteUserRes) Reset()
func (*DeleteUserRes) String ¶
func (x *DeleteUserRes) String() string
type GetUserReq ¶
type GetUserReq struct { // Types that are assignable to Identifier: // // *GetUserReq_Uuid // *GetUserReq_Username Identifier isGetUserReq_Identifier `protobuf_oneof:"identifier"` // contains filtered or unexported fields }
Get user
func (*GetUserReq) Descriptor
deprecated
func (*GetUserReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserReq.ProtoReflect.Descriptor instead.
func (*GetUserReq) GetIdentifier ¶
func (m *GetUserReq) GetIdentifier() isGetUserReq_Identifier
func (*GetUserReq) GetUsername ¶
func (x *GetUserReq) GetUsername() string
func (*GetUserReq) GetUuid ¶
func (x *GetUserReq) GetUuid() string
func (*GetUserReq) ProtoMessage ¶
func (*GetUserReq) ProtoMessage()
func (*GetUserReq) ProtoReflect ¶
func (x *GetUserReq) ProtoReflect() protoreflect.Message
func (*GetUserReq) Reset ¶
func (x *GetUserReq) Reset()
func (*GetUserReq) String ¶
func (x *GetUserReq) String() string
type GetUserReq_Username ¶
type GetUserReq_Username struct {
Username string `protobuf:"bytes,2,opt,name=username,proto3,oneof"`
}
type GetUserReq_Uuid ¶
type GetUserReq_Uuid struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof"`
}
type GetUserRes ¶
type GetUserRes struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserRes) Descriptor
deprecated
func (*GetUserRes) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRes.ProtoReflect.Descriptor instead.
func (*GetUserRes) GetUser ¶
func (x *GetUserRes) GetUser() *User
func (*GetUserRes) ProtoMessage ¶
func (*GetUserRes) ProtoMessage()
func (*GetUserRes) ProtoReflect ¶
func (x *GetUserRes) ProtoReflect() protoreflect.Message
func (*GetUserRes) Reset ¶
func (x *GetUserRes) Reset()
func (*GetUserRes) String ¶
func (x *GetUserRes) String() string
type GetUsersReq ¶ added in v1.0.1
type GetUsersReq struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
Get all users
func (*GetUsersReq) Descriptor
deprecated
added in
v1.0.1
func (*GetUsersReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersReq.ProtoReflect.Descriptor instead.
func (*GetUsersReq) GetLimit ¶ added in v1.0.1
func (x *GetUsersReq) GetLimit() int32
func (*GetUsersReq) ProtoMessage ¶ added in v1.0.1
func (*GetUsersReq) ProtoMessage()
func (*GetUsersReq) ProtoReflect ¶ added in v1.0.1
func (x *GetUsersReq) ProtoReflect() protoreflect.Message
func (*GetUsersReq) Reset ¶ added in v1.0.1
func (x *GetUsersReq) Reset()
func (*GetUsersReq) String ¶ added in v1.0.1
func (x *GetUsersReq) String() string
type GetUsersRes ¶ added in v1.0.1
type GetUsersRes struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*GetUsersRes) Descriptor
deprecated
added in
v1.0.1
func (*GetUsersRes) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRes.ProtoReflect.Descriptor instead.
func (*GetUsersRes) GetUsers ¶ added in v1.0.1
func (x *GetUsersRes) GetUsers() []*User
func (*GetUsersRes) ProtoMessage ¶ added in v1.0.1
func (*GetUsersRes) ProtoMessage()
func (*GetUsersRes) ProtoReflect ¶ added in v1.0.1
func (x *GetUsersRes) ProtoReflect() protoreflect.Message
func (*GetUsersRes) Reset ¶ added in v1.0.1
func (x *GetUsersRes) Reset()
func (*GetUsersRes) String ¶ added in v1.0.1
func (x *GetUsersRes) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetService ¶
func (x *HealthCheckRequest) GetService() string
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.HealthCheckResponse_ServingStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() HealthCheckResponse_ServingStatus
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type HealthCheckResponse_ServingStatus ¶
type HealthCheckResponse_ServingStatus int32
const ( HealthCheckResponse_UNKNOWN HealthCheckResponse_ServingStatus = 0 HealthCheckResponse_SERVING HealthCheckResponse_ServingStatus = 1 HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2 )
func (HealthCheckResponse_ServingStatus) Descriptor ¶
func (HealthCheckResponse_ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthCheckResponse_ServingStatus) Enum ¶
func (x HealthCheckResponse_ServingStatus) Enum() *HealthCheckResponse_ServingStatus
func (HealthCheckResponse_ServingStatus) EnumDescriptor
deprecated
func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead.
func (HealthCheckResponse_ServingStatus) Number ¶
func (x HealthCheckResponse_ServingStatus) Number() protoreflect.EnumNumber
func (HealthCheckResponse_ServingStatus) String ¶
func (x HealthCheckResponse_ServingStatus) String() string
func (HealthCheckResponse_ServingStatus) Type ¶
func (HealthCheckResponse_ServingStatus) Type() protoreflect.EnumType
type UpdateUserReq ¶
type UpdateUserReq struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Update user
func (*UpdateUserReq) Descriptor
deprecated
func (*UpdateUserReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserReq.ProtoReflect.Descriptor instead.
func (*UpdateUserReq) GetUser ¶
func (x *UpdateUserReq) GetUser() *User
func (*UpdateUserReq) GetUuid ¶
func (x *UpdateUserReq) GetUuid() string
func (*UpdateUserReq) ProtoMessage ¶
func (*UpdateUserReq) ProtoMessage()
func (*UpdateUserReq) ProtoReflect ¶
func (x *UpdateUserReq) ProtoReflect() protoreflect.Message
func (*UpdateUserReq) Reset ¶
func (x *UpdateUserReq) Reset()
func (*UpdateUserReq) String ¶
func (x *UpdateUserReq) String() string
type UpdateUserRes ¶
type UpdateUserRes struct { StatusMessage string `protobuf:"bytes,1,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRes) Descriptor
deprecated
func (*UpdateUserRes) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRes.ProtoReflect.Descriptor instead.
func (*UpdateUserRes) GetStatusMessage ¶ added in v1.0.1
func (x *UpdateUserRes) GetStatusMessage() string
func (*UpdateUserRes) ProtoMessage ¶
func (*UpdateUserRes) ProtoMessage()
func (*UpdateUserRes) ProtoReflect ¶
func (x *UpdateUserRes) ProtoReflect() protoreflect.Message
func (*UpdateUserRes) Reset ¶
func (x *UpdateUserRes) Reset()
func (*UpdateUserRes) String ¶
func (x *UpdateUserRes) String() string
type User ¶
type User struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,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"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetPassword ¶ added in v1.0.1
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message