logging

package
v0.0.0-...-06ea526 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAreas

func AddAreas(count int)

func AddArtists

func AddArtists(count int)

func AddLiveHouses

func AddLiveHouses(count int)

func AddLives

func AddLives(count int)

func HandleError

func HandleError(bubbledErr StatusError, r *http.Request, t time.Time)

func IncrementUsers

func IncrementUsers()

func LogRequest

func LogRequest(r *http.Request)

func LogRequestCompletion

func LogRequestCompletion(w bytes.Buffer, r *http.Request, t time.Time)

func ServeLogs

func ServeLogs()

Types

type StatusError

type StatusError struct {
	Code int
	Err  error
}

func SE

func SE(code int, err error) *StatusError

Jump to

Keyboard shortcuts

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