Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
type Customer struct { CustomerId string `json:"customerid" bson:"customerid"` Email string `json:"email" bson:"email"` FullName string `json:"fullname" bson:"fullname"` Password string `json:"password" bson:"password"` DateofBirth string `json:"dateofbirth" bson:"dateofbirth"` PhoneNumber string `json:"phonenumber" bson:"phonenumber"` HouseNo string `json:"houseno" bson:"houseno"` Street string `json:"street" bson:"street"` City string `json:"city" bson:"city"` Country string `json:"country" bson:"country"` Zip string `json:"zip" bson:"zip"` }
type CustomerResponse ¶
type CustomerResponse struct {
CustomerId string `json:"customerid" bson:"customerid"`
}
type EditTaskDetails ¶
type Task ¶
type Task struct { TaskId string `json:"taskid" bson:"taskid"` CustomerId string `json:"customerid" bson:"customerid"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` DueDate string `json:"duedate" bson:"duedate"` Priority string `json:"priority" bson:"priority"` Category string `json:"category" bson:"category"` CreatedAt string `json:"createdat" bson:"createdat"` Completed bool `json:"completed" bson:"completed"` UpdateHistory []Update `json:"updatehistory" bson:"updatehistory"` }
type Task1 ¶
type Task1 struct { Token string `json:"token" bson:"token"` TaskId string `json:"taskid" bson:"taskid"` CustomerId string `json:"customerid" bson:"customerid"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` DueDate string `json:"duedate" bson:"duedate"` Priority string `json:"priority" bson:"priority"` Category string `json:"category" bson:"category"` CreatedAt string `json:"createdat" bson:"createdat"` Completed bool `json:"completed" bson:"completed"` UpdateHistory []Update `json:"updatehistory" bson:"updatehistory"` }
it is for getting token from frontend
type Task3 ¶
type Task3 struct { TaskId string `json:"taskid" bson:"taskid"` CustomerId string `json:"customerid" bson:"customerid"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` DueDate string `json:"duedate" bson:"duedate"` Priority string `json:"priority" bson:"priority"` Category string `json:"category" bson:"category"` CreatedAt string `json:"createdat" bson:"createdat"` Completed bool `json:"completed" bson:"completed"` }
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token" bson:"token"`
}
Click to show internal directories.
Click to hide internal directories.