Documentation ¶
Index ¶
Constants ¶
const ( IterationCount = 100000 PasswordSalt = "" KeyLength = 256 )
constants for password encryption.
const ( InvalidEmailOrPassword = "Invalid email or password" TaskTrackerNameIsMustError = "no task tracker name provided in the request" TeamIDIsMustError = "no team ID provided in the request" )
constants for error messages
const CustomDateFormat = "2006-01-02"
CustomDateFormat is a date format used in the application to parse date string/object into a usable format
const EmailMIME = "MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n"
EmailMIME ...
const OTPEmailSubject = "One Time Password"
OTPEmailSubject ...
const OTPExpiryTime = 300
OTPExpiryTime is OTP expiry time in seconds...
const OTPReCreationTime = 120
OTPReCreationTime ...
Variables ¶
var ActionItemTypeMap = map[ActionItemType]string{ Retrospective: "Retrospective", RetrospectiveFeedback: "Retrospective Feedback", SprintMember: "Sprint Member", SprintMemberTask: "Sprint Member Task", Sprint: "Sprint", SprintTask: "Sprint Task", }
ActionItemTypeMap is types of ActionItem of Trail model used in adding trails.
var ActionTypeMap = map[ActionType]string{ CreatedRetrospective: "Created Retrospective", UpdatedRetrospective: "Updated Retrospective", AddedGoal: "Added a Goal", UpdatedGoal: "Updated a Goal", ResolvedGoal: "Marked a goal resolved", UnresolvedGoal: "Marked a goal unresolved", DeletedGoal: "Deleted a goal", AddedHighlight: "Added a highlight", UpdatedHighlight: "Updated a highlight", DeletedHighlight: "Deleted a highlight", AddedSprintMember: "Added member in sprint", UpdatedSprintMember: "Updated member in sprint", RemovedSprintMember: "Removed member from sprint", AddedNote: "Added a note", UpdatedNote: "Updated a note", DeletedNote: "Deleted a note", AddedSprintMemberTask: "Added a member on task in sprint", UpdatedSprintMemberTask: "Updated member on task in sprint", CreatedSprint: "Created sprint", DeletedSprint: "Deleted sprint", UpdatedSprint: "Updated sprint", ActivatedSprint: "Activated sprint", FreezeSprint: "Freeze the sprint", TriggeredSprintRefresh: "Triggered sprint refresh", UpdatedSprintTask: "Updated the task in sprint", MarkDoneSprintTask: "Marked done a task in sprint", MarkUndoneSprintTask: "Marked undone a task in sprint", DeletedSprintTask: "Deleted the task in sprint", }
ActionTypeMap is types of Action of Trail model used in adding trails.
var GenericTimeTrackersList = []string{"gsheet"}
GenericTimeTrackersList is list of generic time providers which can be used for any task provider.
Functions ¶
This section is empty.
Types ¶
type ActionItemType ¶
type ActionItemType string
ActionItemType is datatype for ActionItems's
const ( Retrospective ActionItemType = "Retrospective" RetrospectiveFeedback ActionItemType = "RetrospectiveFeedback" SprintMember ActionItemType = "SprintMember" SprintMemberTask ActionItemType = "SprintMemberTask" Sprint ActionItemType = "Sprint" SprintTask ActionItemType = "SprintTask" )
constants defined to use in ActionItemTypeMap
type ActionType ¶
type ActionType string
ActionType special data type for action
const ( CreatedRetrospective ActionType = "CreatedRetrospective" UpdatedRetrospective ActionType = "UpdatedRetrospective" AddedGoal ActionType = "AddedGoal" UpdatedGoal ActionType = "UpdatedGoal" ResolvedGoal ActionType = "ResolvedGoal" UnresolvedGoal ActionType = "UnresolvedGoal" DeletedGoal ActionType = "DeletedGoal" AddedHighlight ActionType = "AddedHighlight" UpdatedHighlight ActionType = "UpdatedHighlight" DeletedHighlight ActionType = "DeletedHighlight" AddedSprintMember ActionType = "AddedSprintMember" UpdatedSprintMember ActionType = "UpdatedSprintMember" RemovedSprintMember ActionType = "RemovedSprintMember" AddedNote ActionType = "AddedNote" UpdatedNote ActionType = "UpdatedNote" DeletedNote ActionType = "DeletedNote" AddedSprintMemberTask ActionType = "AddedSprintMemberTask" UpdatedSprintMemberTask ActionType = "UpdatedSprintMemberTask" CreatedSprint ActionType = "CreatedSprint" DeletedSprint ActionType = "DeletedSprint" UpdatedSprint ActionType = "UpdatedSprint" ActivatedSprint ActionType = "ActivatedSprint" FreezeSprint ActionType = "FreezeSprint" TriggeredSprintRefresh ActionType = "TriggeredSprintRefresh" UpdatedSprintTask ActionType = "UpdatedSprintTask" MarkDoneSprintTask ActionType = "MarkDoneSprintTask" MarkUndoneSprintTask ActionType = "MarkUndoneSprintTask" DeletedSprintTask ActionType = "DeletedSprintTask" )
constants defined to use in ActionTypeMap