Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminMessage ¶
type AdminMessage struct { // DateCreated string `json:"dateCreated"` SessionID string `json:"sessionID"` IssueTitle string `json:"issueTitle"` // Users [] connectedUsers StoryPoints int `json:"storyPoints,omitempty"` // represents story point values for a giv Estimations []Estimation `json:"estimations"` SelectedIssue string `json:"SelectedIssue"` FinalPoints int `json:"FinalPoints"` IssueID string `json:"issueID"` }
type Estimation ¶
Estimation represents Estimation record
func (Estimation) OK ¶
func (s Estimation) OK() error
type Issue ¶
type Issue struct { IssueTitle string `json:"issueTitle"` IssueID string `json:"issueID"` Estimations EstimationsMap `json:"estimations"` // userID: 123 }
type Session ¶
type Session struct { AdminID string `json:"adminID,omitempty"` DateCreated string `json:"dateCreated"` ID string `json:"ID"` StoryPoints []int `json:"storyPoints"` Issues []Issue `json:"issues"` SelectedIssue string `json:"selectedIssue"` }
func (Session) Response ¶
func (s Session) Response(adminID string) SessionResponse
Session API response for admins and non-admins alike
type SessionResponse ¶
type UserMessageEstimation ¶
type UserMessageEstimation struct { Username string `json:"username"` SessionID string `json:"sessionID"` IssueID string `json:"issueID"` EstimationValue int `json:"estimationValue"` }
should
func (UserMessageEstimation) OK ¶
func (u UserMessageEstimation) OK() error
Click to show internal directories.
Click to hide internal directories.