Go to file
Adphi 9c16750ffc tranport draft, renamed module 2021-07-17 22:40:06 +02:00
certs add cert generation, tls config, reflection 2020-08-07 10:59:27 +02:00
client tranport draft, renamed module 2021-07-17 22:40:06 +02:00
errors service and client implements last grpc server and client interfaces, improved errors, add signals handling 2020-11-27 14:00:45 +01:00
example tranport draft, renamed module 2021-07-17 22:40:06 +02:00
logger service and client implements last grpc server and client interfaces, improved errors, add signals handling 2020-11-27 14:00:45 +01:00
registry tranport draft, renamed module 2021-07-17 22:40:06 +02:00
resolver tranport draft, renamed module 2021-07-17 22:40:06 +02:00
service tranport draft, renamed module 2021-07-17 22:40:06 +02:00
transport tranport draft, renamed module 2021-07-17 22:40:06 +02:00
utils add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
.gitignore [wip] base options, command, service 2020-01-22 14:02:06 +01:00
LICENSE Add LICENSE 2020-11-06 17:32:45 +00:00
Makefile service and client implements last grpc server and client interfaces, improved errors, add signals handling 2020-11-27 14:00:45 +01:00
README.md add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
go.mod tranport draft, renamed module 2021-07-17 22:40:06 +02:00
go.sum tranport draft, renamed module 2021-07-17 22:40:06 +02:00

README.md

gRPC

A utility module, largely taken from the go-micro patterns (and a good amount of code too...) with pure gRPC ecosystem modules.

Principles:

  • Pluggable
  • No singleton

Features:

  • simple configuration with options
  • embeded gorm database with options (branch db)
  • simple TLS configuration
  • TLS auth
  • client connection pool
  • registry / resolver resolution
    • mdns
    • kubernetes
  • 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: