Versions in this module Expand all Collapse all v0 v0.0.1 Dec 25, 2020 Changes in this version + func BuildFindPayload(incidentsFindID string) (*incidents.FindPayload, error) + func BuildListAllPayload(incidentsListAllLimit string) (*incidents.LimitPayload, error) + func DecodeFindResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) + func DecodeListAllResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error) + func EncodeListAllRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error + func FindIncidentsPath(id uint64) string + func ListAllIncidentsPath() string + func NewFindIncidentOK(body *FindResponseBody) *incidents.Incident + func NewListAllIncidentOK(body []*IncidentResponse) []*incidents.Incident + func ValidateFindResponseBody(body *FindResponseBody) (err error) + func ValidateIncidentResponse(body *IncidentResponse) (err error) + type Client struct + FindDoer goahttp.Doer + ListAllDoer goahttp.Doer + RestoreResponseBody bool + func NewClient(scheme string, host string, doer goahttp.Doer, ...) *Client + func (c *Client) BuildFindRequest(ctx context.Context, v interface{}) (*http.Request, error) + func (c *Client) BuildListAllRequest(ctx context.Context, v interface{}) (*http.Request, error) + func (c *Client) Find() endpoint.Endpoint + func (c *Client) ListAll() endpoint.Endpoint + type FindResponseBody struct + AffectedCustomers []string + CreatedAt *string + Date *string + DateClosed *string + ID *uint64 + Permissions *string + ResponsibleParty *string + RootCause *string + Scope *string + Severity *int + SlackChannel *string + Summary *string + Title *string + UpdatedAt *string + type IncidentResponse struct + AffectedCustomers []string + CreatedAt *string + Date *string + DateClosed *string + ID *uint64 + Permissions *string + ResponsibleParty *string + RootCause *string + Scope *string + Severity *int + SlackChannel *string + Summary *string + Title *string + UpdatedAt *string + type ListAllResponseBody []*IncidentResponse