package
Version:
v0.0.0-...-1cd5cd2
Opens a new window with list of versions in this module.
Published: Dec 8, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetUpRestfulService(u Wsgi)
SetUpRestfulService create a restful service and start serving request
type Data struct {
Key string `json:"key" description:"key of the data"`
Value string `json:"value" description:"value of the data" default:""`
}
Data struct for input and output data
Wsgi wsgi-like struct of the restful service
Source Files
¶
Click to show internal directories.
Click to hide internal directories.