package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Apr 15, 2025
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ResponseWithError sends a standardized error response
type APIError struct {
Code int `json:"code"`
Message string `json:"message"`
}
APIError represents a standardized error response
Server represents the API server
NewServer creates a new API server
Start starts the API server with graceful shutdown
Stop gracefully stops the API server
ServerConfig contains configuration options for the server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.