Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchForUser ¶
Types ¶
type FileInfo ¶
FileInfo encapsulates information about an uploaded file
func (*FileInfo) MarshalBase64 ¶
MarshalBase64 will encode the fields of this object as a base 64 encoded url key value string
func (*FileInfo) UnmarshalBase64 ¶
UnmarshalBase64 populate file info fields from a b64 encoded url key value string
type HelpDeskTicket ¶
type HelpDeskTicket struct { Summary string ReportedBy string ReportedByCustomer string ReportedByUser string CustomerContact string Urgency string Description string Attachments []*FileInfo }
HelpDeskTicket is the model for a helpdesk ticket
func HelpdeskTicketFromQuery ¶
func HelpdeskTicketFromQuery(query url.Values) *HelpDeskTicket
HelpdeskTicketFromQuery descodes a help desk ticket model from url query parameters Note, unicode normalization omitted for brevity
func (*HelpDeskTicket) RawQuery ¶
func (t *HelpDeskTicket) RawQuery() string
type SoftwareTicket ¶
type SoftwareTicket struct { Summary string Assignees []Assignee IssueType string Description string Attachments []*FileInfo }
SoftwareTicket is the model for a helpdesk ticket
func SoftwareTicketFromQuery ¶
func SoftwareTicketFromQuery(query url.Values) *SoftwareTicket
SoftwareTicketFromQuery descodes a help desk ticket model from url query parameters Note, unicode normalization omitted for brevity
func (*SoftwareTicket) RawQuery ¶
func (t *SoftwareTicket) RawQuery() string
type SystemsTicket ¶
type SystemsTicket struct { Summary string Description string Attachments []*FileInfo Components []string }
SystemsTicket is the model for a helpdesk ticket
func SystemsTicketFromQuery ¶
func SystemsTicketFromQuery(query url.Values) *SystemsTicket
SystemsTicketFromQuery descodes a help desk ticket model from url query parameters Note, unicode normalization omitted for brevity
func (*SystemsTicket) RawQuery ¶
func (t *SystemsTicket) RawQuery() string
RawQuery will encode state of systems ticket into a URL encoded query string