types

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XRequestIDKey = "X-Request-ID"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerConfig added in v0.0.2

type LoggerConfig struct {
	Level          slog.Level `opt:"-"`
	OptionalLogger *slog.Logger
	SkipPaths      []string
	SkipFunc       func(ctx *gin.Context) bool
}

type Response

type Response struct {
	gin.ResponseWriter
	Body *bytes.Buffer
}

func (*Response) Write

func (w *Response) Write(b []byte) (int, error)

func (*Response) WriteString

func (w *Response) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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