/grpcx

golang grpc server/client tools

Primary LanguageGo

xiaorui.cc grpcpp

grpcx

grpcx golang grpc common

Desc

middleware

  • unary
  • stream

interceptor

  • logger
  • try catch
  • rate limiter
  • set custom logger

get ip info

  • get real ip
  • get peer ip

creds

  • easy new server creds
  • easy new client creds

conn state

  • check grpc connection state

status code

  • easy new status
  • check status
  • diff error