Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(request *events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error)
Handle sends an incoming request to parser and processor, and returns a http response
Types ¶
type DB ¶
type DB interface {
GetItem(*dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
PutItem(*dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
Query(*dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
}
DB implements db client methods
type Incident ¶
type Incident struct {
Comment string `json:"comments,omitempty"`
CommentID string `json:"comment_sysid,omitempty"`
Description string `json:"description,omitempty"`
ExtID string `json:"external_identifier,omitempty"`
Identifier string `json:"id,omitempty"`
IntID string `json:"internal_identifier,omitempty"`
Priority string `json:"priority,omitempty"`
Resolution string `json:"resolution_code,omitempty"`
Status string `json:"state,omitempty"`
Service string `json:"business_service,omitempty"`
Summary string `json:"title,omitempty"`
}
Incident is a type of ticket
Click to show internal directories.
Click to hide internal directories.