Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEchoServiceServer ¶
func NewEchoServiceServer() *echoServiceServer
Types ¶
type ErrorMapper ¶
type Interceptor ¶
type Interceptor interface {
Name() string
Order() int
Run() grpc.UnaryServerInterceptor
}
Interceptor: chained by Order() ascending (smaller = outer). status (error→gRPC code mapping) must order inside tracing/log so they record the mapped code, not the raw error.
type StreamInterceptor ¶
type StreamInterceptor interface {
Name() string
Order() int
Run() grpc.StreamServerInterceptor
}
Click to show internal directories.
Click to hide internal directories.