audithttp

package
v0.0.0-...-1f1dc5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package audithttp adapts audit HTTP requests to the audit usecase.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(group *echo.Group, handler *Handler)

Register mounts audit routes on group.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler adapts audit HTTP requests to the audit usecase.

func New

func New(uc *usecase.Usecase) *Handler

New creates an audit HTTP handler.

func (*Handler) BatchDeleteLoginLogs

func (h *Handler) BatchDeleteLoginLogs(c *echo.Context) error

BatchDeleteLoginLogs removes multiple login logs.

func (*Handler) BatchDeleteOperationLogs

func (h *Handler) BatchDeleteOperationLogs(c *echo.Context) error

BatchDeleteOperationLogs removes multiple operation logs.

func (*Handler) BatchDeleteSystemErrorLogs

func (h *Handler) BatchDeleteSystemErrorLogs(c *echo.Context) error

BatchDeleteSystemErrorLogs removes multiple system error logs.

func (*Handler) DeleteLoginLog

func (h *Handler) DeleteLoginLog(c *echo.Context) error

DeleteLoginLog removes one login log.

func (*Handler) DeleteOperationLog

func (h *Handler) DeleteOperationLog(c *echo.Context) error

DeleteOperationLog removes one operation log.

func (*Handler) DeleteSystemErrorLog

func (h *Handler) DeleteSystemErrorLog(c *echo.Context) error

DeleteSystemErrorLog removes one system error log.

func (*Handler) ListLoginLogs

func (h *Handler) ListLoginLogs(c *echo.Context) error

ListLoginLogs returns login logs.

func (*Handler) ListOperationLogs

func (h *Handler) ListOperationLogs(c *echo.Context) error

ListOperationLogs returns operation logs.

func (*Handler) ListSystemErrorLogs

func (h *Handler) ListSystemErrorLogs(c *echo.Context) error

ListSystemErrorLogs returns internal API failure logs.

func (*Handler) ReadLoginLog

func (h *Handler) ReadLoginLog(c *echo.Context) error

ReadLoginLog returns one login log.

func (*Handler) ReadOperationLog

func (h *Handler) ReadOperationLog(c *echo.Context) error

ReadOperationLog returns one operation log.

func (*Handler) ReadSystemErrorLog

func (h *Handler) ReadSystemErrorLog(c *echo.Context) error

ReadSystemErrorLog returns one system error log.

func (*Handler) ReopenSystemErrorLog

func (h *Handler) ReopenSystemErrorLog(c *echo.Context) error

ReopenSystemErrorLog clears the handled state for one system error.

func (*Handler) ResolveSystemErrorLog

func (h *Handler) ResolveSystemErrorLog(c *echo.Context) error

ResolveSystemErrorLog marks one system error as handled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL