module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 27, 2020
License: Apache-2.0
Opens a new window with license information.
README
¶
gRPC
A utility module, largely taken from the go-micro patterns (and a good amount of code too...)
with pure gRPC ecosystem modules.
Principles:
Features:
- simple configuration with options
- embeded gorm database with options (branch db)
- simple TLS configuration
- TLS auth
- client connection pool
- registry / resolver resolution
- default interceptors implementation:
- validation
- health
- context logger
- sentry
- rate-limiting
- auth claim in context
- recovery
- tracing (open-tracing)
- metrics (prometheus)
- retries
- context DB / transaction
- ...
- api gateway with middleware:
- auth
- cors
- logging
- tracing
- metrics
- broker, based on nats-streaming
Used modules:
Directories
¶
|
|
|
|
|
|
|
|
|
|
Package registry is an interface for service discovery
|
Package registry is an interface for service discovery |
|
|
|
|
|
|
|
|
utils
|
|
|
|
backoff
Package backoff provides backoff functionality
|
Package backoff provides backoff functionality |
|
|
Click to show internal directories.
Click to hide internal directories.