Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentAdd ¶
type CommentAdd struct { DocumentVersionID string `json:"-"` ID string `json:"id"` AuthorID string `json:"authorId"` Message string `json:"message"` Origin string `json:"origin"` Done *timestamp.Timestamp `json:"done"` DoneBy *nullstring.NullString `json:"doneBy"` Archived *timestamp.Timestamp `json:"archived"` ArchivedBy *nullstring.NullString `json:"archivedBy"` Timestamp *timestamp.Timestamp `json:"timestamp"` }
CommentAdd ...
type CommentDelete ¶
type CommentDelete struct { ID string `json:"id"` UserID string `json:"userId"` Timestamp timestamp.Timestamp `json:"timestamp"` }
CommentDelete ...
type CommentDeleteReply ¶
type CommentDeleteReply struct { CommentID string `json:"commentId"` ReplyID string `json:"replyId"` UserID string `json:"userId"` Timestamp timestamp.Timestamp `json:"timestamp"` }
CommentDeleteReply ...
type CommentDone ¶
type CommentDone struct { ID string `json:"id"` UserID string `json:"userId"` Timestamp timestamp.Timestamp `json:"done"` }
CommentSetDone ...
type CommentReply ¶
type CommentReply struct { ReplyID string `json:"id"` CommentID string `json:"commentId"` AuthorID string `json:"authorId"` Message string `json:"message"` Timestamp timestamp.Timestamp `json:"timestamp"` }
CommentReply ...
type Permission ¶
type Permission int
Permission indicates the users permissions on a specific document
const ( None Permission = iota Comment Edit )
initialize available permissions
func (Permission) String ¶
func (p Permission) String() string
Click to show internal directories.
Click to hide internal directories.