Go to file
2021-09-30 18:10:12 +02:00
certs remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
client remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +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 remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
google/api remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
logger remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
registry remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
resolver remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
service use default unsecured grpc web options 2021-09-30 18:10:12 +02:00
transport add missing transport folder 2021-09-30 12:00:30 +02:00
utils add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
.gitignore add missing transport folder 2021-09-30 12:00:30 +02:00
go.mod remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
go.sum remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
LICENSE Add LICENSE 2020-11-06 17:32:45 +00:00
Makefile remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
README.md add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
tools.go remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00

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: