handlers

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pretender

type Pretender struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewPretender

func NewPretender(logger *slog.Logger, healthCheckPath ...string) *Pretender

func (*Pretender) HandleFunc

func (hh *Pretender) HandleFunc(w http.ResponseWriter, rq *http.Request)

func (*Pretender) LoadResponsesFile

func (hh *Pretender) LoadResponsesFile(name string) (int, error)

Jump to

Keyboard shortcuts

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