Documentation
¶
Index ¶
- func HighlightHeader(text string) string
- func PrintCritical(format string, args ...interface{})
- func PrintError(format string, args ...interface{})
- func PrintInfo(format string, args ...interface{})
- func PrintRequestLog(method, path string, statusCode int, contentType string)
- func PrintStartupBanner(port int, target, dataDir string)
- func PrintSuccess(format string, args ...interface{})
- func PrintWarning(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HighlightHeader ¶
HighlightHeader returns a highlighted header string suitable for section titles
func PrintCritical ¶
func PrintCritical(format string, args ...interface{})
PrintCritical prints a critical error message
func PrintError ¶
func PrintError(format string, args ...interface{})
PrintError prints an error message
func PrintInfo ¶
func PrintInfo(format string, args ...interface{})
PrintInfo prints an info message
func PrintRequestLog ¶
PrintRequestLog prints a formatted API request/response log
func PrintStartupBanner ¶
PrintStartupBanner prints a startup banner for the application
func PrintSuccess ¶
func PrintSuccess(format string, args ...interface{})
PrintSuccess prints a success message
func PrintWarning ¶
func PrintWarning(format string, args ...interface{})
PrintWarning prints a warning message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.