golang-lib

module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: AGPL-3.0

README

golang-lib

DroneCI Go Report Card Go Reference

some packages collected for easy and often used functions

  • database: Start by Config, Migrate
  • file: Read and Save - JSON, TOML
  • mailer: Send E-Mail and receive for testing
  • web: helpers for golang-gin framework e.g. websocket, metrics, status, auth
  • worker: cronjob

Directories

Path Synopsis
Package database implements common functionality for database with gorm.
Package database implements common functionality for database with gorm.
Package file provides functionality to load and save marshal files
Package file provides functionality to load and save marshal files
Package mailer implements common functionality for sending emails and for testing
Package mailer implements common functionality for sending emails and for testing
web
Package web implements common functionality for web APIs using Gin and Gorm.
Package web implements common functionality for web APIs using Gin and Gorm.
api/status
Package status implements for web the module to publish the status with version and other extras
Package status implements for web the module to publish the status with version and other extras
auth
Package auth implements for web the module for authentification
Package auth implements for web the module for authentification
file
Package file abstracts non-hierarchical file stores.
Package file abstracts non-hierarchical file stores.
file/fs
Package fs implements a non-hierarchical file store using the underlying (disk) file system.
Package fs implements a non-hierarchical file store using the underlying (disk) file system.
file/s3
Package s3 implements a non-hierarchical file store using Amazon s3.
Package s3 implements a non-hierarchical file store using Amazon s3.
metrics
Package metrics implements for web the module to publish prometheus metrics
Package metrics implements for web the module to publish prometheus metrics
webtest
Package webtest implements an easy way to write test for web modules
Package webtest implements an easy way to write test for web modules
ws
Package worker to run functions like a cronjob in background
Package worker to run functions like a cronjob in background

Jump to

Keyboard shortcuts

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