goLibMyCarrier
is a Go library that provides utilities for authentication, configuration management, interaction with ClickHouse and OpenTelemetry integration. It is designed to streamline the development of Go applications by providing essential components for these common tasks.
goLibMyCarrier
includes the following components:
argocdclient
: Provides a client to fetch ArgoCD application and manifest data with retry logic and error handling.auth
: Provides authentication middleware for Gin framework.clickhouse
: Provides utilities to connect and query ClickHouse database.github
: Provides utilities to authenticate and interact with Github.kafka
: Provides utilities to produce and consume messages from Kafka.logger
: Provides a pre-configured logger usinggo.uber.org/zap
.otel
: Integrates with OpenTelemetry for distributed tracing and logging.vault
: Provides utilities to interact with HashiCorp Vault.yaml
: Provides utilities to read and write yaml files.
To install goLibMyCarrier
, use the following Go command:
go get -u github.com/MyCarrier-DevOps/goLibMyCarrier/<module>@<version>
# Example
go get -u github.com/MyCarrier-DevOps/goLibMyCarrier/[email protected]