httpbulb

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 0

README

httpbulb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonError

func JsonError(w http.ResponseWriter, err string, code int)

func NewRouter

func NewRouter() *chi.Mux

Types

type MethodsResponse

type MethodsResponse struct {
	Args    map[string][]string `json:"args"`
	Data    string              `json:"data"`
	Files   map[string][]string `json:"files"`
	Form    map[string][]string `json:"form"`
	Headers map[string][]string `json:"headers"`
	JSON    interface{}         `json:"json"`
	Origin  string              `json:"origin"`
	URL     string              `json:"url"`
}

Jump to

Keyboard shortcuts

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