Documentation ¶
Index ¶
- type ABitOfEverythingNested
- type ABitOfEverythingServiceApi
- func (a ABitOfEverythingServiceApi) Create(floatValue float32, doubleValue float64, int64Value string, uint64Value string, ...) (ExamplepbABitOfEverything, error)
- func (a ABitOfEverythingServiceApi) CreateBody(body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error)
- func (a ABitOfEverythingServiceApi) DeepPathEcho(singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error)
- func (a ABitOfEverythingServiceApi) Delete(uuid string) (ProtobufEmpty, error)
- func (a ABitOfEverythingServiceApi) Echo(value string) (SubStringMessage, error)
- func (a ABitOfEverythingServiceApi) Echo_1(value string) (SubStringMessage, error)
- func (a ABitOfEverythingServiceApi) Echo_2(body string) (SubStringMessage, error)
- func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName string, singleNestedAmount int64, ...) (ProtobufEmpty, error)
- func (a ABitOfEverythingServiceApi) Lookup(uuid string) (ExamplepbABitOfEverything, error)
- func (a ABitOfEverythingServiceApi) Timeout() (ProtobufEmpty, error)
- func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEverything) (ProtobufEmpty, error)
- type ExamplepbABitOfEverything
- type ExamplepbNumericEnum
- type NestedDeepEnum
- type ProtobufDuration
- type ProtobufEmpty
- type Sub2IdMessage
- type SubStringMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABitOfEverythingNested ¶
type ABitOfEverythingNested struct { Name string `json:"name,omitempty"` Amount int64 `json:"amount,omitempty"` Ok NestedDeepEnum `json:"ok,omitempty"` }
type ABitOfEverythingServiceApi ¶
type ABitOfEverythingServiceApi struct {
// contains filtered or unexported fields
}
func NewABitOfEverythingServiceApi ¶
func NewABitOfEverythingServiceApi() *ABitOfEverythingServiceApi
func NewABitOfEverythingServiceApiWithBasePath ¶
func NewABitOfEverythingServiceApiWithBasePath(basePath string) *ABitOfEverythingServiceApi
func (ABitOfEverythingServiceApi) Create ¶
func (a ABitOfEverythingServiceApi) Create(floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, nonConventionalNameValue string) (ExamplepbABitOfEverything, error)
*
* * * @param floatValue * @param doubleValue * @param int64Value * @param uint64Value * @param int32Value * @param fixed64Value * @param fixed32Value * @param boolValue * @param stringValue * @param uint32Value * @param sfixed32Value * @param sfixed64Value * @param sint32Value * @param sint64Value * @param nonConventionalNameValue * @return ExamplepbABitOfEverything
func (a ABitOfEverythingServiceApi) Create (floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, nonConventionalNameValue string) (ExamplepbABitOfEverything, error) {
func (ABitOfEverythingServiceApi) CreateBody ¶
func (a ABitOfEverythingServiceApi) CreateBody(body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error)
*
* * * @param body * @return ExamplepbABitOfEverything
func (a ABitOfEverythingServiceApi) CreateBody (body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error) {
func (ABitOfEverythingServiceApi) DeepPathEcho ¶
func (a ABitOfEverythingServiceApi) DeepPathEcho(singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error)
*
* * * @param singleNestedName * @param body * @return ExamplepbABitOfEverything
func (a ABitOfEverythingServiceApi) DeepPathEcho (singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error) {
func (ABitOfEverythingServiceApi) Delete ¶
func (a ABitOfEverythingServiceApi) Delete(uuid string) (ProtobufEmpty, error)
*
* * * @param uuid * @return ProtobufEmpty
func (a ABitOfEverythingServiceApi) Delete (uuid string) (ProtobufEmpty, error) {
func (ABitOfEverythingServiceApi) Echo ¶
func (a ABitOfEverythingServiceApi) Echo(value string) (SubStringMessage, error)
*
* * * @param value * @return SubStringMessage
func (a ABitOfEverythingServiceApi) Echo (value string) (SubStringMessage, error) {
func (ABitOfEverythingServiceApi) Echo_1 ¶
func (a ABitOfEverythingServiceApi) Echo_1(value string) (SubStringMessage, error)
*
* * * @param value * @return SubStringMessage
func (a ABitOfEverythingServiceApi) Echo_1 (value string) (SubStringMessage, error) {
func (ABitOfEverythingServiceApi) Echo_2 ¶
func (a ABitOfEverythingServiceApi) Echo_2(body string) (SubStringMessage, error)
*
* * * @param body * @return SubStringMessage
func (a ABitOfEverythingServiceApi) Echo_2 (body string) (SubStringMessage, error) {
func (ABitOfEverythingServiceApi) GetQuery ¶ added in v1.2.0
func (a ABitOfEverythingServiceApi) GetQuery(uuid string, singleNestedName string, singleNestedAmount int64, singleNestedOk string, floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, enumValue string, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, repeatedStringValue []string, oneofString string, nonConventionalNameValue string, timestampValue time.Time, repeatedEnumValue []string) (ProtobufEmpty, error)
*
* * * @param uuid * @param singleNestedName name is nested field. * @param singleNestedAmount * @param singleNestedOk - FALSE: FALSE is false.\n - TRUE: TRUE is true. * @param floatValue * @param doubleValue * @param int64Value * @param uint64Value * @param int32Value * @param fixed64Value * @param fixed32Value * @param boolValue * @param stringValue * @param uint32Value TODO(yugui) add bytes_value. * @param enumValue - ZERO: ZERO means 0\n - ONE: ONE means 1 * @param sfixed32Value * @param sfixed64Value * @param sint32Value * @param sint64Value * @param repeatedStringValue * @param oneofString * @param nonConventionalNameValue * @param timestampValue * @param repeatedEnumValue repeated enum value. it is comma-separated in query.\n\n - ZERO: ZERO means 0\n - ONE: ONE means 1 * @return ProtobufEmpty
func (a ABitOfEverythingServiceApi) GetQuery (uuid string, singleNestedName string, singleNestedAmount int64, singleNestedOk string, floatValue float32, doubleValue float64, int64Value string, uint64Value string, int32Value int32, fixed64Value string, fixed32Value int64, boolValue bool, stringValue string, uint32Value int64, enumValue string, sfixed32Value int32, sfixed64Value string, sint32Value int32, sint64Value string, repeatedStringValue []string, oneofString string, nonConventionalNameValue string, timestampValue time.Time, repeatedEnumValue []string) (ProtobufEmpty, error) {
func (ABitOfEverythingServiceApi) Lookup ¶
func (a ABitOfEverythingServiceApi) Lookup(uuid string) (ExamplepbABitOfEverything, error)
*
* * * @param uuid * @return ExamplepbABitOfEverything
func (a ABitOfEverythingServiceApi) Lookup (uuid string) (ExamplepbABitOfEverything, error) {
func (ABitOfEverythingServiceApi) Timeout ¶
func (a ABitOfEverythingServiceApi) Timeout() (ProtobufEmpty, error)
*
* * * @return ProtobufEmpty
func (a ABitOfEverythingServiceApi) Timeout () (ProtobufEmpty, error) {
func (ABitOfEverythingServiceApi) Update ¶
func (a ABitOfEverythingServiceApi) Update(uuid string, body ExamplepbABitOfEverything) (ProtobufEmpty, error)
*
* * * @param uuid * @param body * @return ProtobufEmpty
func (a ABitOfEverythingServiceApi) Update (uuid string, body ExamplepbABitOfEverything) (ProtobufEmpty, error) {
type ExamplepbABitOfEverything ¶
type ExamplepbABitOfEverything struct { SingleNested ABitOfEverythingNested `json:"single_nested,omitempty"` Uuid string `json:"uuid,omitempty"` Nested []ABitOfEverythingNested `json:"nested,omitempty"` FloatValue float32 `json:"float_value,omitempty"` DoubleValue float64 `json:"double_value,omitempty"` Int64Value string `json:"int64_value,omitempty"` Uint64Value string `json:"uint64_value,omitempty"` Int32Value int32 `json:"int32_value,omitempty"` Fixed64Value string `json:"fixed64_value,omitempty"` Fixed32Value int64 `json:"fixed32_value,omitempty"` BoolValue bool `json:"bool_value,omitempty"` StringValue string `json:"string_value,omitempty"` Uint32Value int64 `json:"uint32_value,omitempty"` EnumValue ExamplepbNumericEnum `json:"enum_value,omitempty"` Sfixed32Value int32 `json:"sfixed32_value,omitempty"` Sfixed64Value string `json:"sfixed64_value,omitempty"` Sint32Value int32 `json:"sint32_value,omitempty"` Sint64Value string `json:"sint64_value,omitempty"` RepeatedStringValue []string `json:"repeated_string_value,omitempty"` OneofEmpty ProtobufEmpty `json:"oneof_empty,omitempty"` OneofString string `json:"oneof_string,omitempty"` MapValue map[string]ExamplepbNumericEnum `json:"map_value,omitempty"` MappedStringValue map[string]string `json:"mapped_string_value,omitempty"` MappedNestedValue map[string]ABitOfEverythingNested `json:"mapped_nested_value,omitempty"` NonConventionalNameValue string `json:"nonConventionalNameValue,omitempty"` TimestampValue time.Time `json:"timestamp_value,omitempty"` RepeatedEnumValue []ExamplepbNumericEnum `json:"repeated_enum_value,omitempty"` }
type ExamplepbNumericEnum ¶
type ExamplepbNumericEnum struct { }
type NestedDeepEnum ¶
type NestedDeepEnum struct { }
type ProtobufDuration ¶ added in v1.2.0
type ProtobufEmpty ¶
type ProtobufEmpty struct { }
type Sub2IdMessage ¶
type Sub2IdMessage struct {
Uuid string `json:"uuid,omitempty"`
}
type SubStringMessage ¶
type SubStringMessage struct {
Value string `json:"value,omitempty"`
}