Documentation ¶
Index ¶
Constants ¶
View Source
const XTraceId = "x-trace-id"
Variables ¶
This section is empty.
Functions ¶
func ClientRegisterPriest ¶ added in v0.0.33
func NewRegister ¶ added in v0.0.33
func ServerPriest ¶
Types ¶
type Client ¶ added in v0.0.33
type Client interface { Address() string Stub(conn *grpc.ClientConn) }
type ClientRegister ¶ added in v0.0.33
type ClientRegister struct { gone.Goner logrus.Logger `gone:"gone-logger"` tracer.Tracer `gone:"gone-tracer"` // contains filtered or unexported fields }
func (*ClientRegister) TraceInterceptor ¶ added in v0.0.33
func (s *ClientRegister) TraceInterceptor() grpc.UnaryClientInterceptor
type Server ¶
type Server struct { gone.Goner logrus.Logger `gone:"gone-logger"` tracer.Tracer `gone:"gone-tracer"` // contains filtered or unexported fields }
func (Server) RecoveryInterceptor ¶ added in v0.0.33
func (g Server) RecoveryInterceptor() grpc.UnaryServerInterceptor
func (Server) TraceInterceptor ¶ added in v0.0.33
func (g Server) TraceInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.