internal

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response map[string]any

func (Response) GetBody

func (r Response) GetBody() any

func (Response) GetHeaders

func (r Response) GetHeaders() map[string]string

func (Response) GetStatus

func (r Response) GetStatus() int

type Sim

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

func NewSim

func NewSim() *Sim

func (*Sim) Add

func (s *Sim) Add(path string) error

func (*Sim) Handle

func (s *Sim) Handle(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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