Documentation ¶
Overview ¶
Package api defines CRUD actions for the Panther alerts database.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct{}
API has all of the handlers as receiver methods.
func (API) GetAlert ¶
func (API) GetAlert(input *models.GetAlertInput) (result *models.GetAlertOutput, err error)
GetAlert retrieves details for a given alert
func (API) GetEvent ¶
func (API) GetEvent(input *models.GetEventInput) (output *models.GetEventOutput, err error)
GetEvent retrieves a specific event
func (API) ListAlerts ¶
func (API) ListAlerts(input *models.ListAlertsInput) (result *models.ListAlertsOutput, err error)
ListAlerts retrieves alert and event details.
Click to show internal directories.
Click to hide internal directories.