middlewares

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HealthCheckMiddleware

func HealthCheckMiddleware(next http.Handler) http.Handler

HealthCheckHandler provides the GET /healthcheck endpoint.

func Logging added in v1.0.0

func NewAuditController

func NewAuditController() *auditController

func NewQuotaController

func NewQuotaController(db *sqlx.DB) *quotaController

Types

type AuditResource

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

AuditResource is an audittools.EventRenderer.

func (AuditResource) Render

func (a AuditResource) Render() cadf.Resource

Render implements the audittools.EventRenderer interface.

Jump to

Keyboard shortcuts

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