Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatHistory ¶ added in v0.0.9
type ChatResponse ¶
type ChatResponse struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
Message string `bson:"message" json:"message"`
Response string `bson:"response" json:"response"`
}
ChatResponse represents a chat response
type Credential ¶ added in v0.0.8
type ForgotPasswordRequest ¶ added in v0.1.0
type ForgotPasswordRequest struct {
PhoneNumber string `json:"phone_number" bson:"phone_number"`
}
struct ForgotPasswordRequest
type MenuService ¶ added in v0.1.3
type MenuService struct {
// contains filtered or unexported fields
}
type Pengguna ¶
type Pengguna struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
Username string `bson:"username,omitempty" json:"username,omitempty"`
Akun User `bson:"akun,omitempty" json:"akun,omitempty"`
}
struct Pengguna
type Response ¶
type Response struct {
Status bool `json:"status"`
Message string `json:"message"`
Data interface{} `json:"data"`
}
struct response
type User ¶
type User struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
Email string `bson:"email,omitempty" json:"email,omitempty"`
Password string `bson:"password,omitempty" json:"password,omitempty"`
Salt string `bson:"salt,omitempty" json:"salt,omitempty"`
Role string `bson:"role,omitempty" json:"role,omitempty"`
}
struct user
type VerificationCode ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.