Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Default = New()
)
Functions ¶
This section is empty.
Types ¶
type OptionFunc ¶
type OptionFunc func(*Options)
type RequestId ¶
type RequestId struct {
// contains filtered or unexported fields
}
func New ¶
func New(optFunc ...OptionFunc) *RequestId
func (*RequestId) StreamRequestId ¶
func (reqId *RequestId) StreamRequestId() grpc.StreamServerInterceptor
func (*RequestId) UnaryRequestId ¶
func (reqId *RequestId) UnaryRequestId() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.