constants

package
v0.0.0-...-e75809f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IterationCount = 100000
	PasswordSalt   = ""
	KeyLength      = 256
)

constants for password encryption.

View Source
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

View Source
const CustomDateFormat = "2006-01-02"

CustomDateFormat is a date format used in the application to parse date string/object into a usable format

View Source
const EmailMIME = "MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n"

EmailMIME ...

View Source
const OTPEmailSubject = "One Time Password"

OTPEmailSubject ...

View Source
const OTPExpiryTime = 300

OTPExpiryTime is OTP expiry time in seconds...

View Source
const OTPReCreationTime = 120

OTPReCreationTime ...

Variables

View Source
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.

View Source
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.

View Source
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL