go-tools

module
v0.0.0-...-556d222 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0

README

go-tools

go-tools is a collection tools for GoLang project usage, any tool should be decoupling to any project internal requirements

[aws] provide a testable packages to integrate aws service(s), currently based on aws-sdk-go-v1 [buckets] handle Object Storage Service READ/Write service, could support integrate multiple platform (currently integrate AWS s3) [ctx]: based on GoLang context to extend its capability not only have context bypass, but also could handle log, and dump context info, provide detail trace back, and for each log, it also points out issue logged at when, in line no, of function name, and file name with folder name. We also could integrate 3rd party logger forward service, initiative forward logs to agency service. (if we needed) [dbconn]: rough version provide rdb/redis connection, need to upgrade [math]: simple math tool [memory]: memory tool, which could applied to measurement/monitor specific verb,obj memory usage [metrics]: generic metrics libs tool [qpdf]: PDF generate tool, easy to generate format report document, generated tiny PDF file size [randm]: rand disc tool, help to generate RID, and rand n length string validator:

Project Status

image

Directories

Path Synopsis
aws
ec2
ecs
eks
mq
msk
s3
ses
sns
sqs
ctx
Package ctx extends standard context to support logging.
Package ctx extends standard context to support logging.
dbconn
rdb
tz
Package metrics wraps datadog-go to faciliate metric recording Following are naming convention of metric: - Internal process time: *.time - External latency: *.latency - Error: *.err - Warning: *.warn
Package metrics wraps datadog-go to faciliate metric recording Following are naming convention of metric: - Internal process time: *.time - External latency: *.latency - Error: *.err - Warning: *.warn
*
*

Jump to

Keyboard shortcuts

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