...

Source file src/github.com/grpc-ecosystem/go-grpc-middleware/testing/testproto/test.manual_extractfields.pb.go

Documentation: github.com/grpc-ecosystem/go-grpc-middleware/testing/testproto

     1  // Manual code for logging field extraction tests.
     2  
     3  package mwitkow_testproto
     4  
     5  // This is implementing grpc_logging.requestLogFieldsExtractor
     6  func (m *PingRequest) ExtractRequestFields(appendToMap map[string]interface{}) {
     7  	appendToMap["value"] = m.Value
     8  }
     9  

View as plain text