module
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jan 26, 2025
License: MIT
Opens a new window with license information.
README
¶
Go Infra Api
Infrastructre methods and types for make api simple
Installation
go get github.com/kubitre/goinfra
Response
- abstract type ApiResponse which can used as Tipically responses code as functions (also ready to go-swagger compilation)
- Json Style for ApiError and method for simple constructing this model
Request
- extract body to data class from all sources request with special tag and automatic response build (not best practic copy and paste deserialize code)
Metrics Prometheus
- base golden metrics for api with high level methods for sending metrics to prometheus
Pgqueue wrapper
- publisher/subscriber based on postgresql tables
Directories
¶
|
|
|
|
|
|
Package pgqueue provides a generic PostgreSQL queue implementation using the pgq library.
|
Package pgqueue provides a generic PostgreSQL queue implementation using the pgq library. |
|
|
|
Click to show internal directories.
Click to hide internal directories.