mock

package
v0.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutesFromDirectory

func AddRoutesFromDirectory(dir string, router *mux.Router) error

Types

type Handler

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

func (*Handler) Add

func (h *Handler) Add(req model.Request, resp model.Response)

func (*Handler) AddDefaultResponse

func (h *Handler) AddDefaultResponse(resp model.Response)

func (*Handler) HTTPHandler

func (h *Handler) HTTPHandler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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