Documentation
¶
Overview ¶
Package audithttp adapts audit HTTP requests to the audit usecase.
Index ¶
- func Register(group *echo.Group, handler *Handler)
- type Handler
- func (h *Handler) BatchDeleteLoginLogs(c *echo.Context) error
- func (h *Handler) BatchDeleteOperationLogs(c *echo.Context) error
- func (h *Handler) BatchDeleteSystemErrorLogs(c *echo.Context) error
- func (h *Handler) DeleteLoginLog(c *echo.Context) error
- func (h *Handler) DeleteOperationLog(c *echo.Context) error
- func (h *Handler) DeleteSystemErrorLog(c *echo.Context) error
- func (h *Handler) ListLoginLogs(c *echo.Context) error
- func (h *Handler) ListOperationLogs(c *echo.Context) error
- func (h *Handler) ListSystemErrorLogs(c *echo.Context) error
- func (h *Handler) ReadLoginLog(c *echo.Context) error
- func (h *Handler) ReadOperationLog(c *echo.Context) error
- func (h *Handler) ReadSystemErrorLog(c *echo.Context) error
- func (h *Handler) ReopenSystemErrorLog(c *echo.Context) error
- func (h *Handler) ResolveSystemErrorLog(c *echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler adapts audit HTTP requests to the audit usecase.
func (*Handler) BatchDeleteLoginLogs ¶
BatchDeleteLoginLogs removes multiple login logs.
func (*Handler) BatchDeleteOperationLogs ¶
BatchDeleteOperationLogs removes multiple operation logs.
func (*Handler) BatchDeleteSystemErrorLogs ¶
BatchDeleteSystemErrorLogs removes multiple system error logs.
func (*Handler) DeleteLoginLog ¶
DeleteLoginLog removes one login log.
func (*Handler) DeleteOperationLog ¶
DeleteOperationLog removes one operation log.
func (*Handler) DeleteSystemErrorLog ¶
DeleteSystemErrorLog removes one system error log.
func (*Handler) ListLoginLogs ¶
ListLoginLogs returns login logs.
func (*Handler) ListOperationLogs ¶
ListOperationLogs returns operation logs.
func (*Handler) ListSystemErrorLogs ¶
ListSystemErrorLogs returns internal API failure logs.
func (*Handler) ReadLoginLog ¶
ReadLoginLog returns one login log.
func (*Handler) ReadOperationLog ¶
ReadOperationLog returns one operation log.
func (*Handler) ReadSystemErrorLog ¶
ReadSystemErrorLog returns one system error log.
func (*Handler) ReopenSystemErrorLog ¶
ReopenSystemErrorLog clears the handled state for one system error.