Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "0.1.0"
Functions ¶
This section is empty.
Types ¶
type App ¶
type Operation ¶
type Operation struct {
Name string `json:"name"`
Method string `json:"method"`
Path string `json:"path"`
Description string `json:"description"`
Response string `json:"response"`
Effect string `json:"effect"`
Parameters []Parameter `json:"parameters"`
Body bool `json:"body"`
Multipart string `json:"multipart,omitempty"`
Source string `json:"source"`
}
Operation is one named application command backed by an existing handler. A static query in Path selects a specific representation of a shared endpoint.
func Operations ¶
func Operations() []Operation
Operations returns the complete command catalog. Callers may sort or annotate their copy without modifying the embedded definitions used by other callers.