package
Version:
v0.0.0-...-bc169e4
Opens a new window with list of versions in this module.
Published: Jul 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AuthResponse struct {
AccessToken string
}
type ChangePasswordRequest struct {
OldPassword string
NewPassword string
}
type Profile struct {
ID primitive.ObjectID `bson:"_id"`
CustomerID *string `bson:"customer_id"`
Name string `bson:"name"`
Email string `bson:"email"`
Password string `bson:"password"`
CreatedAt int64 `bson:"created_at"`
UpdatedAt int64 `bson:"updated_at"`
DeletedAt int64 `bson:"deleted_at"`
}
type UpdateProfile struct {
Name string `bson:"name,omitempty"`
Password string `bson:"password,omitempty"`
UpdatedAt int64 `bson:"updated_at,omitempty"`
DeletedAt int64 `bson:"deleted_at,omitempty"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.