auditlogentries

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 15 Imported by: 0

Documentation

Overview

Package auditlogentries provides a series of HTTP handlers for managing audit log entries in a compatible database.

Index

Constants

View Source
const (
	// AuditLogEntryIDURIParamKey is a standard string that we'll use to refer to audit log entry IDs with.
	AuditLogEntryIDURIParamKey = "auditLogEntryID"
)

Variables

View Source
var Providers = wire.NewSet(
	ProvideService,
)

Providers are our collection of what we provide to other services.

Functions

func ProvideService

func ProvideService(
	_ context.Context,
	logger logging.Logger,
	cfg *Config,
	auditLogEntryDataManager types.AuditLogEntryDataManager,
	encoder encoding.ServerEncoderDecoder,
	routeParamManager routing.RouteParamManager,
	tracerProvider tracing.TracerProvider,
) (types.AuditLogEntryDataService, error)

ProvideService builds a new AuditLogEntriesService.

Types

type Config

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

Config configures the service.

func (*Config) ValidateWithContext

func (cfg *Config) ValidateWithContext(ctx context.Context) error

ValidateWithContext validates a Config struct.

Jump to

Keyboard shortcuts

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