Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invitation ¶
type Invitation string
Invitation ...
const ( //PendingInvitation ... PendingInvitation Invitation = "Pending" //AcceptedInvitation ... AcceptedInvitation Invitation = "Accepted" //DeclinedInvitation ... DeclinedInvitation Invitation = "Declined" )
type Member ¶
type Member struct { UserID string `bson:"user_id"` UserName string `bson:"username"` Role MemberRole `bson:"role"` Invitation Invitation `bson:"invitation"` }
Member ...
func (*Member) GetOutputMember ¶
GetOutputMember ...
type MemberRole ¶
type MemberRole string
MemberRole ...
const ( //RoleOwner ... RoleOwner MemberRole = "Owner" //RoleEditor ... RoleEditor MemberRole = "Editor" //RoleViewer ... RoleViewer MemberRole = "Viewer" )
type Project ¶
type Project struct { ID string `bson:"_id"` Name string `bson:"name"` Members []*Member `bson:"members"` State *string `bson:"state"` CreatedAt string `bson:"created_at"` UpdatedAt string `bson:"updated_at"` RemovedAt string `bson:"removed_at"` }
Project ...
func (*Project) GetOutputMembers ¶
GetOutputMembers ...
func (*Project) GetOutputProject ¶
GetOutputProject ...
type User ¶
type User struct { ID string `bson:"_id"` Username string `bson:"username"` Email *string `bson:"email"` IsEmailVerified *bool `bson:"is_email_verified"` CompanyName *string `bson:"company_name"` Name *string `bson:"name"` Role *string `bson:"role"` State *string `bson:"state"` CreatedAt string `bson:"created_at"` UpdatedAt string `bson:"updated_at"` RemovedAt string `bson:"removed_at"` }
User ...
Click to show internal directories.
Click to hide internal directories.