package abe

import "github.com/grpc-ecosystem/grpc-gateway/examples/clients/abe"

Index

Types

type ABitOfEverythingNested

type ABitOfEverythingNested struct {
	Amount int64          `json:"amount,omitempty"`
	Name   string         `json:"name,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

*

*
*
* @param body
* @return ExamplepbABitOfEverything

func (a ABitOfEverythingServiceApi) CreateBody (body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error) {

func (ABitOfEverythingServiceApi) DeepPathEcho

*

*
*
* @param singleNestedName
* @param body
* @return ExamplepbABitOfEverything

func (a ABitOfEverythingServiceApi) DeepPathEcho (singleNestedName string, body ExamplepbABitOfEverything) (ExamplepbABitOfEverything, error) {

func (ABitOfEverythingServiceApi) Delete

*

*
*
* @param uuid
* @return ProtobufEmpty

func (a ABitOfEverythingServiceApi) Delete (uuid string) (ProtobufEmpty, error) {

func (ABitOfEverythingServiceApi) Echo

*

*
*
* @param value
* @return SubStringMessage

func (a ABitOfEverythingServiceApi) Echo (value string) (SubStringMessage, error) {

func (ABitOfEverythingServiceApi) Echo_1

*

*
*
* @return SubStringMessage

func (a ABitOfEverythingServiceApi) Echo_1 () (SubStringMessage, error) {

func (ABitOfEverythingServiceApi) Echo_2

*

*
*
* @param body
* @return SubStringMessage

func (a ABitOfEverythingServiceApi) Echo_2 (body SubStringMessage) (SubStringMessage, error) {

func (ABitOfEverythingServiceApi) Lookup

*

*
*
* @param uuid
* @return ExamplepbABitOfEverything

func (a ABitOfEverythingServiceApi) Lookup (uuid string) (ExamplepbABitOfEverything, error) {

func (ABitOfEverythingServiceApi) Timeout

*

*
*
* @return ProtobufEmpty

func (a ABitOfEverythingServiceApi) Timeout () (ProtobufEmpty, error) {

func (ABitOfEverythingServiceApi) Update

*

*
*
* @param uuid
* @param body
* @return ProtobufEmpty

func (a ABitOfEverythingServiceApi) Update (uuid string, body ExamplepbABitOfEverything) (ProtobufEmpty, error) {

type ExamplepbABitOfEverything

type ExamplepbABitOfEverything struct {
	BoolValue                bool                              `json:"bool_value,omitempty"`
	DoubleValue              float64                           `json:"double_value,omitempty"`
	EnumValue                ExamplepbNumericEnum              `json:"enum_value,omitempty"`
	Fixed32Value             int64                             `json:"fixed32_value,omitempty"`
	Fixed64Value             string                            `json:"fixed64_value,omitempty"`
	FloatValue               float32                           `json:"float_value,omitempty"`
	Int32Value               int32                             `json:"int32_value,omitempty"`
	Int64Value               string                            `json:"int64_value,omitempty"`
	MapValue                 map[string]ExamplepbNumericEnum   `json:"map_value,omitempty"`
	MappedNestedValue        map[string]ABitOfEverythingNested `json:"mapped_nested_value,omitempty"`
	MappedStringValue        map[string]string                 `json:"mapped_string_value,omitempty"`
	Nested                   []ABitOfEverythingNested          `json:"nested,omitempty"`
	NonConventionalNameValue string                            `json:"nonConventionalNameValue,omitempty"`
	OneofEmpty               ProtobufEmpty                     `json:"oneof_empty,omitempty"`
	OneofString              string                            `json:"oneof_string,omitempty"`
	RepeatedStringValue      []string                          `json:"repeated_string_value,omitempty"`
	Sfixed32Value            int32                             `json:"sfixed32_value,omitempty"`
	Sfixed64Value            string                            `json:"sfixed64_value,omitempty"`
	SingleNested             ABitOfEverythingNested            `json:"single_nested,omitempty"`
	Sint32Value              int32                             `json:"sint32_value,omitempty"`
	Sint64Value              string                            `json:"sint64_value,omitempty"`
	StringValue              string                            `json:"string_value,omitempty"`
	Uint32Value              int64                             `json:"uint32_value,omitempty"`
	Uint64Value              string                            `json:"uint64_value,omitempty"`
	Uuid                     string                            `json:"uuid,omitempty"`
}

type ExamplepbNumericEnum

type ExamplepbNumericEnum struct {
}

type NestedDeepEnum

type NestedDeepEnum struct {
}

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"`
}

Source Files

ABitOfEverythingNested.go ABitOfEverythingServiceApi.go ExamplepbABitOfEverything.go ExamplepbNumericEnum.go NestedDeepEnum.go ProtobufEmpty.go Sub2IdMessage.go SubStringMessage.go

Version
v1.0.0
Published
Jun 15, 2016
Platform
js/wasm
Imports
5 packages
Last checked
now

Tools for package owners.