package
Version:
v0.0.0-...-0cabaaa
Opens a new window with list of versions in this module.
Published: Sep 1, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Handler struct {
Sequential bool `yaml:"sequential"`
Responses []*Response `yaml:"responses"`
}
type Recipe struct {
Routes map[string]*Route `yaml:"routes"`
Default *Handler `yaml:"default"`
}
type Response struct {
Code int `yaml:"code"`
Data string `yaml:"data"`
File string `yaml:"file"`
}
type Route struct {
Get, Post, Put, Patch, Delete, Options *Handler
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.