Categorygithub.com/xmidt-org/webpa-common
module
1.11.9
Repository: https://github.com/xmidt-org/webpa-common.git
Documentation: pkg.go.dev

# README

webpa-common

Build Status codecov.io Go Report Card Apache V2 License GitHub release Quality Gate Status PkgGoDev

Table of Contents

Code of Conduct

This project and everyone participating in it are governed by the XMiDT Code Of Conduct. By participating, you agree to this Code.

Environment Requirements

Testing the Library

To run the tests, git clone the repository, then from within the repo directory run:

go test ./... -race -coverprofile=coverage.txt

Contributing

Refer to CONTRIBUTING.md.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package capacitor provides a configurable delay for a series of function calls.
Package clock implements a standard clock interface that can be used in place of the time package.
Package concurrent provides common functionality for dealing with concurrency that extends or enhances the core golang packages.
Package conlimiter provides a simple connection limiter for incoming TCP connections.
No description provided by the author
No description provided by the author
No description provided by the author
Package hash provides a simple API for managing service hashes.
Package health provides a simple heartbeat strategy for WebPA/XMiDT services.
Package httppool provides a simple, configurable worker pool for dispatching HTTP transactions to servers.
Package logging provides basic configurability for the go-kit/log packages.
Package middleware provides common middleware and decorators for WebPA and XMiDT servers */.
Package resource provides common resource-handling functionality.
Package secure contains the security types common to WebPA applications Deprecated: secure is no longer planned to be used by future WebPA/XMiDT services.
Package semaphore provides a simple channel-based semaphore that optionally honors context semantics.
Package server provides the standard approach to executing servers for WebPA Deprecated: server is no longer planned to be used by future WebPA/XMiDT services.
Package service provides basic integration with go.serversets Deprecated: service is no longer planned to be used by future WebPA/XMiDT services.
Package store implements some additional atomic value storage on top of sync/atomic.
Package tracing provides very basic distributed tracing.
No description provided by the author
No description provided by the author
Package xerrors provides error unwrapping functionality.
Package xhttp provides extended functionality for net/http and go-kit's transport/http packages */.
No description provided by the author
Package xmetrics provides configurability for Prometheus-based metrics.
No description provided by the author
Package xviper provides customizations on use of viper for configuration loading.
Package xwebhook provides an event webhook registry component for XMiDT services.