mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 17:22:26 +00:00
interceptors: migrate to otel and add logging interceptor
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
27
example/pb/example.pb.defaults.go
Normal file
27
example/pb/example.pb.defaults.go
Normal file
@ -0,0 +1,27 @@
|
||||
// Code generated by protoc-gen-defaults. DO NOT EDIT.
|
||||
|
||||
package pb
|
||||
|
||||
import (
|
||||
"google.golang.org/protobuf/types/known/durationpb"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
"google.golang.org/protobuf/types/known/wrapperspb"
|
||||
)
|
||||
|
||||
var (
|
||||
_ *timestamppb.Timestamp
|
||||
_ *durationpb.Duration
|
||||
_ *wrapperspb.BoolValue
|
||||
)
|
||||
|
||||
func (x *HelloRequest) Default() {
|
||||
}
|
||||
|
||||
func (x *HelloReply) Default() {
|
||||
}
|
||||
|
||||
func (x *HelloStreamRequest) Default() {
|
||||
if x.Count == 0 {
|
||||
x.Count = 10
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user