You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Adphi 01b37a0d91
metrics interceptors: fix default server registration
4 weeks ago
certs remove transport draft, add grpc web and gateway support 1 year ago
client interceptors: add ban 2 months ago
codec codec: add codec to support both vtproto and google.golang.org/protobuf and probably gogoproto 9 months ago
config add metadata interceptors, auth client interceptors 9 months ago
errors errors: add missing canceled 5 months ago
example metrics interceptors: fix default server registration 4 weeks ago
google/api remove transport draft, add grpc web and gateway support 1 year ago
interceptors metrics interceptors: fix default server registration 4 weeks ago
logger logger: add Logger method to access *logrus.Logger 1 month ago
react react: add DevEnv utility 3 months ago
registry logger: add FromLogrus 5 months ago
resolver add client address option, fix noop resolver 1 year ago
service interceptors: add ban 2 months ago
signals add metrics, tracing, validation interceptors, add options: WithInterceptors, With{Client,Server}Interceptors 1 year ago
transport add missing transport folder 1 year ago
utils add registry base interface, mdns, noop implementations, add resolver, client 2 years ago
.gitignore interceptors: add ban 2 months ago
LICENSE Add LICENSE 2 years ago
Makefile remove transport draft, add grpc web and gateway support 1 year ago
README.md interceptors: add ban 2 months ago
go.mod interceptors: add ban 2 months ago
go.sum interceptors: add ban 2 months ago
tools.go remove transport draft, add grpc web and gateway support 1 year ago

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
  • simple TLS configuration
  • TLS auth
  • client connection pool
  • registry / resolver resolution
    • mdns
    • kubernetes
  • default interceptors implementation:
    • context request id
    • defaulter
    • validation
    • health
    • context logger
    • sentry
    • rate-limiting
    • ban
    • auth claim in context
    • recovery (server side only)
    • tracing (open-tracing)
    • metrics (prometheus)
    • retries
    • context DB / transaction
    • ...
  • grpc web / api gateway with middleware:
    • auth
    • cors
    • logging
    • tracing
    • metrics
  • broker, based on nats-streaming

Used modules: