...

Source file src/github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/clients/echo/model_examplepb_dynamic_message.go

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

     1  /*
     2   * Echo Service
     3   *
     4   * 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 echo
    11  
    12  // DynamicMessage represents a message which can have its structure built dynamically using Struct and Values.
    13  type ExamplepbDynamicMessage struct {
    14  	StructField *interface{} `json:"structField,omitempty"`
    15  	ValueField *interface{} `json:"valueField,omitempty"`
    16  }
    17  

View as plain text