routes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequest

func GetRequest(c echo.Context) error

GetRequest example @Summary Add a new pet to the store @Description get string by ID @ID get-string-by-int @Accept json @Produce json @Param some_id path int true "Some ID" @Success 200 {string} string "ok" @Router /request/{some_id} [get]

func GetSwagger

func GetSwagger(c echo.Context) error

Types

type Request

type Request struct {
	Protocol      string
	Host          string
	RemoteAddress string
	Method        string
	Path          string
	Headers       http.Header
}

Jump to

Keyboard shortcuts

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