package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Dec 10, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New creates a new HTTP server with the given configuration
Run creates and starts the HTTP server with the given configuration
type HealthResponse struct {
Status string `json:"status"`
Timestamp string `json:"timestamp"`
}
type ListResponse struct {
Success bool `json:"success"`
Files []YAMLFileInfo `json:"files"`
Error string `json:"error,omitempty"`
}
type ProcessResponse struct {
Success bool `json:"success"`
Message string `json:"message,omitempty"`
Error string `json:"error,omitempty"`
Output string `json:"output,omitempty"`
}
ServerConfig holds the configuration for the HTTP server
type YAMLFileInfo struct {
Name string `json:"name"`
Methods string `json:"methods"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.