Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
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"` Category string `bson:"category,omitempty" json:"category,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 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"` 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.