types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docs

type Docs struct {
	Paths   map[string]json.RawMessage `json:"paths"`
	Info    spec.InfoProps             `json:"info"`
	Swagger string                     `json:"swagger"`
}

type RInfo

type RInfo struct {
	Pattern string                                   `json:"pattern"`
	Func    string                                   `json:"func"`
	Method  string                                   `json:"method"`
	Auth    string                                   `json:"auth"`
	ReqBody string                                   `json:"reqBody"`
	Info    interface{}                              `json:"Info"`
	MountAt string                                   `json:"mountAt"`
	Handler func(http.ResponseWriter, *http.Request) `json:"handler"`
}

Jump to

Keyboard shortcuts

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