devkit-go

module
v0.0.0-...-eb33cdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0

README

devkit-go

Go Development Kit aims to provide commonly used components in Go development. Reduce redundant tasks to setup in new project, and commonly used pattern.

Directories

Path Synopsis
data
optional
Optional is give nil value for non-nil data type, such as string, int, etc.
Optional is give nil value for non-nil data type, such as string, int, etc.
This package provide additional features to standard errors package without changing method signature and behaviour with non-intrusive way.
This package provide additional features to standard errors package without changing method signature and behaviour with non-intrusive way.
examples
globallog module
optionalsqlx module
server module
shutdown module
simplelog module
extensions
securityjwt module
log module
security module
Package server provides a preconfigured HTTP server with diagnostic hooks.
Package server provides a preconfigured HTTP server with diagnostic hooks.
driver
Package driver defines an interface for custom HTTP listeners.
Package driver defines an interface for custom HTTP listeners.
health
Package health provides health check handlers.
Package health provides health check handlers.
health/sqlhealth
Package sqlhealth provides a health check for a SQL database connection.
Package sqlhealth provides a health check for a SQL database connection.
requestlog
Package requestlog provides an http.Handler that logs information about requests.
Package requestlog provides an http.Handler that logs information about requests.
rwlog
This package provides an http middleware to automatically log error from ResponseWriter.Write.
This package provides an http middleware to automatically log error from ResponseWriter.Write.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL