...

Source file src/github.com/grpc-ecosystem/grpc-gateway/examples/internal/clients/unannotatedecho/model_examplepb_unannotated_simple_message.go

Documentation: github.com/grpc-ecosystem/grpc-gateway/examples/internal/clients/unannotatedecho

     1  /*
     2   * examples/internal/proto/examplepb/unannotated_echo_service.proto
     3   *
     4   * Unannotated Echo Service Similar to echo_service.proto but without annotations. See unannotated_echo_service.yaml for the equivalent of the annotations in gRPC API configuration format.  Echo Service API consists of a single service which returns a message.
     5   *
     6   * API version: version not set
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package unannotatedecho
    11  
    12  // UnannotatedSimpleMessage represents a simple message sent to the unannotated Echo service.
    13  type ExamplepbUnannotatedSimpleMessage struct {
    14  	// Id represents the message identifier.
    15  	Id string `json:"id,omitempty"`
    16  	Num string `json:"num,omitempty"`
    17  	Duration string `json:"duration,omitempty"`
    18  }
    19  

View as plain text