middlewares

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 15 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 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