Go to file
2021-11-18 20:21:30 +01: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 reformat error funcs, improved logger 2021-11-18 20:21:30 +01:00
example add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +02:00
google/api remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
logger reformat error funcs, improved logger 2021-11-18 20:21:30 +01: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 add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +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 add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +02:00
go.sum add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +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: