Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶ added in v0.3.22
type Categories struct {
Category string `bson:"category,omitempty" json:"category,omitempty"`
}
type Credential ¶
type GridFSFile ¶ added in v0.3.214
type GridFSFile struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` FileName string `bson:"filename,omitempty" json:"filename,omitempty"` FileSize int64 `bson:"size,omitempty" json:"size,omitempty"` ContentType string `bson:"contentType,omitempty" json:"contentType,omitempty"` }
type LogTodo ¶ added in v0.3.22
type LogTodo struct { TimeStamp int64 `bson:"timestamp,omitempty" json:"timestamp,omitempty"` Action string `bson:"action,omitempty" json:"action,omitempty"` TodoID string `bson:"todoid,omitempty" json:"todoid,omitempty"` UserID string `bson:"userid,omitempty" json:"userid,omitempty"` Change []map[string]interface{} `bson:"change,omitempty" json:"change,omitempty"` }
type LogTodoResponse ¶ added in v0.3.22
type LogUser ¶ added in v0.3.22
type LogUser struct { TimeStamp int64 `bson:"timestamp,omitempty" json:"timestamp,omitempty"` Action string `bson:"action,omitempty" json:"action,omitempty"` ID string `bson:"id,omitempty" json:"id,omitempty"` UserID string `bson:"userid,omitempty" json:"userid,omitempty"` Change []map[string]interface{} `bson:"change,omitempty" json:"change,omitempty"` }
type TimeStamps ¶ added in v0.3.22
type Todo ¶
type Todo struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` Title string `bson:"title,omitempty" json:"title,omitempty"` Description string `bson:"description,omitempty" json:"description,omitempty"` Deadline string `bson:"deadline,omitempty" json:"deadline,omitempty"` Time string `bson:"time,omitempty" json:"time,omitempty"` File GridFSFile `bson:"file,omitempty" json:"file,omitempty"` Tags Categories `bson:"tags,omitempty" json:"tags,omitempty"` TimeStamps TimeStamps `bson:"timestamps,omitempty" json:"timestamps,omitempty"` User User `bson:"user,omitempty" json:"user,omitempty"` }
type TodoClearResponse ¶ added in v0.3.22
type TodoResponse ¶ added in v0.2.0
type TodoResponse struct { Status bool `bson:"status" json:"status"` Message string `bson:"message,omitempty" json:"message,omitempty"` Data []Todo `bson:"data,omitempty" json:"data,omitempty"` DataTags []Categories `bson:"datatags,omitempty" json:"datatags,omitempty"` }
type User ¶
type User struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` UID string `bson:"uid,omitempty" json:"uid,omitempty"` Email string `bson:"email,omitempty" json:"email,omitempty"` Phonenumber string `bson:"phonenumber,omitempty" json:"phonenumber,omitempty"` Username string `bson:"username,omitempty" json:"username,omitempty"` Password string `bson:"password,omitempty" json:"password,omitempty"` ConfirmPassword string `bson:"confirmpassword,omitempty" json:"confirmpassword,omitempty"` Role string `bson:"role,omitempty" json:"role,omitempty"` }
Click to show internal directories.
Click to hide internal directories.