bar

package
v1.4.1-hotfix-maintenence Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bar_ArgNotStruct_Helper = struct {
	// Args accepts the parameters of argNotStruct in-order and returns
	// the arguments struct for the function.
	Args func(
		request string,
	) *Bar_ArgNotStruct_Args

	// IsException returns true if the given error can be thrown
	// by argNotStruct.
	//
	// An error can be thrown by argNotStruct only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argNotStruct
	// given the error returned by it. The provided error may
	// be nil if argNotStruct did not fail.
	//
	// This allows mapping errors returned by argNotStruct into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// argNotStruct
	//
	//   err := argNotStruct(args)
	//   result, err := Bar_ArgNotStruct_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argNotStruct: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_ArgNotStruct_Result, error)

	// UnwrapResponse takes the result struct for argNotStruct
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if argNotStruct threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_ArgNotStruct_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgNotStruct_Result) error
}{}

Bar_ArgNotStruct_Helper provides functions that aid in handling the parameters and return values of the Bar.argNotStruct function.

View Source
var Bar_ArgWithHeaders_Helper = struct {
	// Args accepts the parameters of argWithHeaders in-order and returns
	// the arguments struct for the function.
	Args func(
		name string,
		userUUID *string,
		paramsStruct *OptionalParamsStruct,
	) *Bar_ArgWithHeaders_Args

	// IsException returns true if the given error can be thrown
	// by argWithHeaders.
	//
	// An error can be thrown by argWithHeaders only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithHeaders
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithHeaders into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithHeaders
	//
	//   value, err := argWithHeaders(args)
	//   result, err := Bar_ArgWithHeaders_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithHeaders: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithHeaders_Result, error)

	// UnwrapResponse takes the result struct for argWithHeaders
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithHeaders threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithHeaders_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithHeaders_Result) (*BarResponse, error)
}{}

Bar_ArgWithHeaders_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithHeaders function.

View Source
var Bar_ArgWithManyQueryParams_Helper = struct {
	// Args accepts the parameters of argWithManyQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		aStr string,
		anOptStr *string,
		aBool bool,
		anOptBool *bool,
		aInt8 int8,
		anOptInt8 *int8,
		aInt16 int16,
		anOptInt16 *int16,
		aInt32 int32,
		anOptInt32 *int32,
		aInt64 int64,
		anOptInt64 *int64,
		aFloat64 float64,
		anOptFloat64 *float64,
		aUUID UUID,
		anOptUUID *UUID,
		aListUUID []UUID,
		anOptListUUID []UUID,
		aStringList StringList,
		anOptStringList StringList,
		aUUIDList UUIDList,
		anOptUUIDList UUIDList,
		aTs Timestamp,
		anOptTs *Timestamp,
		aReqDemo DemoType,
		anOptFruit *Fruit,
		aReqFruits []Fruit,
		anOptDemos []DemoType,
	) *Bar_ArgWithManyQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithManyQueryParams.
	//
	// An error can be thrown by argWithManyQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithManyQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithManyQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithManyQueryParams
	//
	//   value, err := argWithManyQueryParams(args)
	//   result, err := Bar_ArgWithManyQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithManyQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithManyQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithManyQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithManyQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithManyQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithManyQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithManyQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithManyQueryParams function.

View Source
var Bar_ArgWithNearDupQueryParams_Helper = struct {
	// Args accepts the parameters of argWithNearDupQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		one string,
		two *int32,
		three *string,
		four *string,
	) *Bar_ArgWithNearDupQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithNearDupQueryParams.
	//
	// An error can be thrown by argWithNearDupQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithNearDupQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithNearDupQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithNearDupQueryParams
	//
	//   value, err := argWithNearDupQueryParams(args)
	//   result, err := Bar_ArgWithNearDupQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithNearDupQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithNearDupQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithNearDupQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithNearDupQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithNearDupQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithNearDupQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithNearDupQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNearDupQueryParams function.

View Source
var Bar_ArgWithNestedQueryParams_Helper = struct {
	// Args accepts the parameters of argWithNestedQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		request *QueryParamsStruct,
		opt *QueryParamsOptsStruct,
	) *Bar_ArgWithNestedQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithNestedQueryParams.
	//
	// An error can be thrown by argWithNestedQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithNestedQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithNestedQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithNestedQueryParams
	//
	//   value, err := argWithNestedQueryParams(args)
	//   result, err := Bar_ArgWithNestedQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithNestedQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithNestedQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithNestedQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithNestedQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithNestedQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithNestedQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithNestedQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNestedQueryParams function.

View Source
var Bar_ArgWithParamsAndDuplicateFields_Helper = struct {
	// Args accepts the parameters of argWithParamsAndDuplicateFields in-order and returns
	// the arguments struct for the function.
	Args func(
		request *RequestWithDuplicateType,
		entityUUID string,
	) *Bar_ArgWithParamsAndDuplicateFields_Args

	// IsException returns true if the given error can be thrown
	// by argWithParamsAndDuplicateFields.
	//
	// An error can be thrown by argWithParamsAndDuplicateFields only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithParamsAndDuplicateFields
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithParamsAndDuplicateFields into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithParamsAndDuplicateFields
	//
	//   value, err := argWithParamsAndDuplicateFields(args)
	//   result, err := Bar_ArgWithParamsAndDuplicateFields_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithParamsAndDuplicateFields: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithParamsAndDuplicateFields_Result, error)

	// UnwrapResponse takes the result struct for argWithParamsAndDuplicateFields
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithParamsAndDuplicateFields threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithParamsAndDuplicateFields_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithParamsAndDuplicateFields_Result) (*BarResponse, error)
}{}

Bar_ArgWithParamsAndDuplicateFields_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParamsAndDuplicateFields function.

View Source
var Bar_ArgWithParams_Helper = struct {
	// Args accepts the parameters of argWithParams in-order and returns
	// the arguments struct for the function.
	Args func(
		uuid string,
		params *ParamsStruct,
	) *Bar_ArgWithParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithParams.
	//
	// An error can be thrown by argWithParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithParams
	//
	//   value, err := argWithParams(args)
	//   result, err := Bar_ArgWithParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithParams_Result, error)

	// UnwrapResponse takes the result struct for argWithParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParams function.

View Source
var Bar_ArgWithQueryHeader_Helper = struct {
	// Args accepts the parameters of argWithQueryHeader in-order and returns
	// the arguments struct for the function.
	Args func(
		userUUID *string,
	) *Bar_ArgWithQueryHeader_Args

	// IsException returns true if the given error can be thrown
	// by argWithQueryHeader.
	//
	// An error can be thrown by argWithQueryHeader only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithQueryHeader
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithQueryHeader into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithQueryHeader
	//
	//   value, err := argWithQueryHeader(args)
	//   result, err := Bar_ArgWithQueryHeader_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithQueryHeader: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryHeader_Result, error)

	// UnwrapResponse takes the result struct for argWithQueryHeader
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithQueryHeader threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithQueryHeader_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithQueryHeader_Result) (*BarResponse, error)
}{}

Bar_ArgWithQueryHeader_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryHeader function.

View Source
var Bar_ArgWithQueryParams_Helper = struct {
	// Args accepts the parameters of argWithQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		name string,
		userUUID *string,
		foo []string,
		bar []int8,
	) *Bar_ArgWithQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by argWithQueryParams.
	//
	// An error can be thrown by argWithQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for argWithQueryParams
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// argWithQueryParams into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by argWithQueryParams
	//
	//   value, err := argWithQueryParams(args)
	//   result, err := Bar_ArgWithQueryParams_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from argWithQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryParams_Result, error)

	// UnwrapResponse takes the result struct for argWithQueryParams
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if argWithQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ArgWithQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ArgWithQueryParams_Result) (*BarResponse, error)
}{}

Bar_ArgWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryParams function.

View Source
var Bar_DeleteFoo_Helper = struct {
	// Args accepts the parameters of deleteFoo in-order and returns
	// the arguments struct for the function.
	Args func(
		userUUID string,
	) *Bar_DeleteFoo_Args

	// IsException returns true if the given error can be thrown
	// by deleteFoo.
	//
	// An error can be thrown by deleteFoo only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for deleteFoo
	// given the error returned by it. The provided error may
	// be nil if deleteFoo did not fail.
	//
	// This allows mapping errors returned by deleteFoo into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// deleteFoo
	//
	//   err := deleteFoo(args)
	//   result, err := Bar_DeleteFoo_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from deleteFoo: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_DeleteFoo_Result, error)

	// UnwrapResponse takes the result struct for deleteFoo
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if deleteFoo threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_DeleteFoo_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_DeleteFoo_Result) error
}{}

Bar_DeleteFoo_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteFoo function.

View Source
var Bar_DeleteWithQueryParams_Helper = struct {
	// Args accepts the parameters of deleteWithQueryParams in-order and returns
	// the arguments struct for the function.
	Args func(
		filter string,
		count *int32,
	) *Bar_DeleteWithQueryParams_Args

	// IsException returns true if the given error can be thrown
	// by deleteWithQueryParams.
	//
	// An error can be thrown by deleteWithQueryParams only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for deleteWithQueryParams
	// given the error returned by it. The provided error may
	// be nil if deleteWithQueryParams did not fail.
	//
	// This allows mapping errors returned by deleteWithQueryParams into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// deleteWithQueryParams
	//
	//   err := deleteWithQueryParams(args)
	//   result, err := Bar_DeleteWithQueryParams_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from deleteWithQueryParams: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*Bar_DeleteWithQueryParams_Result, error)

	// UnwrapResponse takes the result struct for deleteWithQueryParams
	// and returns the erorr returned by it (if any).
	//
	// The error is non-nil only if deleteWithQueryParams threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   err := Bar_DeleteWithQueryParams_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_DeleteWithQueryParams_Result) error
}{}

Bar_DeleteWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteWithQueryParams function.

View Source
var Bar_HelloWorld_Helper = struct {
	// Args accepts the parameters of helloWorld in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_HelloWorld_Args

	// IsException returns true if the given error can be thrown
	// by helloWorld.
	//
	// An error can be thrown by helloWorld only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for helloWorld
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// helloWorld into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by helloWorld
	//
	//   value, err := helloWorld(args)
	//   result, err := Bar_HelloWorld_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from helloWorld: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Bar_HelloWorld_Result, error)

	// UnwrapResponse takes the result struct for helloWorld
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if helloWorld threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_HelloWorld_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_HelloWorld_Result) (string, error)
}{}

Bar_HelloWorld_Helper provides functions that aid in handling the parameters and return values of the Bar.helloWorld function.

View Source
var Bar_ListAndEnum_Helper = struct {
	// Args accepts the parameters of listAndEnum in-order and returns
	// the arguments struct for the function.
	Args func(
		demoIds []string,
		demoType *DemoType,
		demos []DemoType,
	) *Bar_ListAndEnum_Args

	// IsException returns true if the given error can be thrown
	// by listAndEnum.
	//
	// An error can be thrown by listAndEnum only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for listAndEnum
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// listAndEnum into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by listAndEnum
	//
	//   value, err := listAndEnum(args)
	//   result, err := Bar_ListAndEnum_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from listAndEnum: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Bar_ListAndEnum_Result, error)

	// UnwrapResponse takes the result struct for listAndEnum
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if listAndEnum threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_ListAndEnum_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_ListAndEnum_Result) (string, error)
}{}

Bar_ListAndEnum_Helper provides functions that aid in handling the parameters and return values of the Bar.listAndEnum function.

View Source
var Bar_MissingArg_Helper = struct {
	// Args accepts the parameters of missingArg in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_MissingArg_Args

	// IsException returns true if the given error can be thrown
	// by missingArg.
	//
	// An error can be thrown by missingArg only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for missingArg
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// missingArg into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by missingArg
	//
	//   value, err := missingArg(args)
	//   result, err := Bar_MissingArg_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from missingArg: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_MissingArg_Result, error)

	// UnwrapResponse takes the result struct for missingArg
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if missingArg threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_MissingArg_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_MissingArg_Result) (*BarResponse, error)
}{}

Bar_MissingArg_Helper provides functions that aid in handling the parameters and return values of the Bar.missingArg function.

View Source
var Bar_NoRequest_Helper = struct {
	// Args accepts the parameters of noRequest in-order and returns
	// the arguments struct for the function.
	Args func() *Bar_NoRequest_Args

	// IsException returns true if the given error can be thrown
	// by noRequest.
	//
	// An error can be thrown by noRequest only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for noRequest
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// noRequest into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by noRequest
	//
	//   value, err := noRequest(args)
	//   result, err := Bar_NoRequest_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from noRequest: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_NoRequest_Result, error)

	// UnwrapResponse takes the result struct for noRequest
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if noRequest threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_NoRequest_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_NoRequest_Result) (*BarResponse, error)
}{}

Bar_NoRequest_Helper provides functions that aid in handling the parameters and return values of the Bar.noRequest function.

View Source
var Bar_NormalRecur_Helper = struct {
	// Args accepts the parameters of normalRecur in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequestRecur,
	) *Bar_NormalRecur_Args

	// IsException returns true if the given error can be thrown
	// by normalRecur.
	//
	// An error can be thrown by normalRecur only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for normalRecur
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// normalRecur into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by normalRecur
	//
	//   value, err := normalRecur(args)
	//   result, err := Bar_NormalRecur_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from normalRecur: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponseRecur, error) (*Bar_NormalRecur_Result, error)

	// UnwrapResponse takes the result struct for normalRecur
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if normalRecur threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_NormalRecur_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_NormalRecur_Result) (*BarResponseRecur, error)
}{}

Bar_NormalRecur_Helper provides functions that aid in handling the parameters and return values of the Bar.normalRecur function.

View Source
var Bar_Normal_Helper = struct {
	// Args accepts the parameters of normal in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequest,
	) *Bar_Normal_Args

	// IsException returns true if the given error can be thrown
	// by normal.
	//
	// An error can be thrown by normal only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for normal
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// normal into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by normal
	//
	//   value, err := normal(args)
	//   result, err := Bar_Normal_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from normal: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_Normal_Result, error)

	// UnwrapResponse takes the result struct for normal
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if normal threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_Normal_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_Normal_Result) (*BarResponse, error)
}{}

Bar_Normal_Helper provides functions that aid in handling the parameters and return values of the Bar.normal function.

View Source
var Bar_TooManyArgs_Helper = struct {
	// Args accepts the parameters of tooManyArgs in-order and returns
	// the arguments struct for the function.
	Args func(
		request *BarRequest,
		foo *foo.FooStruct,
	) *Bar_TooManyArgs_Args

	// IsException returns true if the given error can be thrown
	// by tooManyArgs.
	//
	// An error can be thrown by tooManyArgs only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for tooManyArgs
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// tooManyArgs into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by tooManyArgs
	//
	//   value, err := tooManyArgs(args)
	//   result, err := Bar_TooManyArgs_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from tooManyArgs: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BarResponse, error) (*Bar_TooManyArgs_Result, error)

	// UnwrapResponse takes the result struct for tooManyArgs
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if tooManyArgs threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Bar_TooManyArgs_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Bar_TooManyArgs_Result) (*BarResponse, error)
}{}

Bar_TooManyArgs_Helper provides functions that aid in handling the parameters and return values of the Bar.tooManyArgs function.

View Source
var Echo_EchoBinary_Helper = struct {
	// Args accepts the parameters of echoBinary in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []byte,
	) *Echo_EchoBinary_Args

	// IsException returns true if the given error can be thrown
	// by echoBinary.
	//
	// An error can be thrown by echoBinary only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoBinary
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoBinary into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoBinary
	//
	//   value, err := echoBinary(args)
	//   result, err := Echo_EchoBinary_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoBinary: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]byte, error) (*Echo_EchoBinary_Result, error)

	// UnwrapResponse takes the result struct for echoBinary
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoBinary threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoBinary_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoBinary_Result) ([]byte, error)
}{}

Echo_EchoBinary_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBinary function.

View Source
var Echo_EchoBool_Helper = struct {
	// Args accepts the parameters of echoBool in-order and returns
	// the arguments struct for the function.
	Args func(
		arg bool,
	) *Echo_EchoBool_Args

	// IsException returns true if the given error can be thrown
	// by echoBool.
	//
	// An error can be thrown by echoBool only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoBool
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoBool into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoBool
	//
	//   value, err := echoBool(args)
	//   result, err := Echo_EchoBool_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoBool: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(bool, error) (*Echo_EchoBool_Result, error)

	// UnwrapResponse takes the result struct for echoBool
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoBool threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoBool_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoBool_Result) (bool, error)
}{}

Echo_EchoBool_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBool function.

View Source
var Echo_EchoDouble_Helper = struct {
	// Args accepts the parameters of echoDouble in-order and returns
	// the arguments struct for the function.
	Args func(
		arg float64,
	) *Echo_EchoDouble_Args

	// IsException returns true if the given error can be thrown
	// by echoDouble.
	//
	// An error can be thrown by echoDouble only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoDouble
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoDouble into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoDouble
	//
	//   value, err := echoDouble(args)
	//   result, err := Echo_EchoDouble_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoDouble: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(float64, error) (*Echo_EchoDouble_Result, error)

	// UnwrapResponse takes the result struct for echoDouble
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoDouble threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoDouble_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoDouble_Result) (float64, error)
}{}

Echo_EchoDouble_Helper provides functions that aid in handling the parameters and return values of the Echo.echoDouble function.

View Source
var Echo_EchoEnum_Helper = struct {
	// Args accepts the parameters of echoEnum in-order and returns
	// the arguments struct for the function.
	Args func(
		arg *Fruit,
	) *Echo_EchoEnum_Args

	// IsException returns true if the given error can be thrown
	// by echoEnum.
	//
	// An error can be thrown by echoEnum only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoEnum
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoEnum into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoEnum
	//
	//   value, err := echoEnum(args)
	//   result, err := Echo_EchoEnum_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoEnum: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(Fruit, error) (*Echo_EchoEnum_Result, error)

	// UnwrapResponse takes the result struct for echoEnum
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoEnum threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoEnum_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoEnum_Result) (Fruit, error)
}{}

Echo_EchoEnum_Helper provides functions that aid in handling the parameters and return values of the Echo.echoEnum function.

View Source
var Echo_EchoI16_Helper = struct {
	// Args accepts the parameters of echoI16 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int16,
	) *Echo_EchoI16_Args

	// IsException returns true if the given error can be thrown
	// by echoI16.
	//
	// An error can be thrown by echoI16 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI16
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI16 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI16
	//
	//   value, err := echoI16(args)
	//   result, err := Echo_EchoI16_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI16: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int16, error) (*Echo_EchoI16_Result, error)

	// UnwrapResponse takes the result struct for echoI16
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI16 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI16_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI16_Result) (int16, error)
}{}

Echo_EchoI16_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI16 function.

View Source
var Echo_EchoI32Map_Helper = struct {
	// Args accepts the parameters of echoI32Map in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[int32]*BarResponse,
	) *Echo_EchoI32Map_Args

	// IsException returns true if the given error can be thrown
	// by echoI32Map.
	//
	// An error can be thrown by echoI32Map only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI32Map
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI32Map into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI32Map
	//
	//   value, err := echoI32Map(args)
	//   result, err := Echo_EchoI32Map_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI32Map: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[int32]*BarResponse, error) (*Echo_EchoI32Map_Result, error)

	// UnwrapResponse takes the result struct for echoI32Map
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI32Map threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI32Map_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI32Map_Result) (map[int32]*BarResponse, error)
}{}

Echo_EchoI32Map_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32Map function.

View Source
var Echo_EchoI32_Helper = struct {
	// Args accepts the parameters of echoI32 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int32,
	) *Echo_EchoI32_Args

	// IsException returns true if the given error can be thrown
	// by echoI32.
	//
	// An error can be thrown by echoI32 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI32
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI32 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI32
	//
	//   value, err := echoI32(args)
	//   result, err := Echo_EchoI32_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI32: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int32, error) (*Echo_EchoI32_Result, error)

	// UnwrapResponse takes the result struct for echoI32
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI32 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI32_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI32_Result) (int32, error)
}{}

Echo_EchoI32_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32 function.

View Source
var Echo_EchoI64_Helper = struct {
	// Args accepts the parameters of echoI64 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int64,
	) *Echo_EchoI64_Args

	// IsException returns true if the given error can be thrown
	// by echoI64.
	//
	// An error can be thrown by echoI64 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI64
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI64 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI64
	//
	//   value, err := echoI64(args)
	//   result, err := Echo_EchoI64_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI64: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int64, error) (*Echo_EchoI64_Result, error)

	// UnwrapResponse takes the result struct for echoI64
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI64 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI64_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI64_Result) (int64, error)
}{}

Echo_EchoI64_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI64 function.

View Source
var Echo_EchoI8_Helper = struct {
	// Args accepts the parameters of echoI8 in-order and returns
	// the arguments struct for the function.
	Args func(
		arg int8,
	) *Echo_EchoI8_Args

	// IsException returns true if the given error can be thrown
	// by echoI8.
	//
	// An error can be thrown by echoI8 only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoI8
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoI8 into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoI8
	//
	//   value, err := echoI8(args)
	//   result, err := Echo_EchoI8_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoI8: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(int8, error) (*Echo_EchoI8_Result, error)

	// UnwrapResponse takes the result struct for echoI8
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoI8 threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoI8_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoI8_Result) (int8, error)
}{}

Echo_EchoI8_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI8 function.

View Source
var Echo_EchoStringList_Helper = struct {
	// Args accepts the parameters of echoStringList in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []string,
	) *Echo_EchoStringList_Args

	// IsException returns true if the given error can be thrown
	// by echoStringList.
	//
	// An error can be thrown by echoStringList only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringList
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringList into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringList
	//
	//   value, err := echoStringList(args)
	//   result, err := Echo_EchoStringList_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringList: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]string, error) (*Echo_EchoStringList_Result, error)

	// UnwrapResponse takes the result struct for echoStringList
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringList threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringList_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringList_Result) ([]string, error)
}{}

Echo_EchoStringList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringList function.

View Source
var Echo_EchoStringMap_Helper = struct {
	// Args accepts the parameters of echoStringMap in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[string]*BarResponse,
	) *Echo_EchoStringMap_Args

	// IsException returns true if the given error can be thrown
	// by echoStringMap.
	//
	// An error can be thrown by echoStringMap only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringMap
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringMap into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringMap
	//
	//   value, err := echoStringMap(args)
	//   result, err := Echo_EchoStringMap_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringMap: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[string]*BarResponse, error) (*Echo_EchoStringMap_Result, error)

	// UnwrapResponse takes the result struct for echoStringMap
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringMap threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringMap_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringMap_Result) (map[string]*BarResponse, error)
}{}

Echo_EchoStringMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringMap function.

View Source
var Echo_EchoStringSet_Helper = struct {
	// Args accepts the parameters of echoStringSet in-order and returns
	// the arguments struct for the function.
	Args func(
		arg map[string]struct{},
	) *Echo_EchoStringSet_Args

	// IsException returns true if the given error can be thrown
	// by echoStringSet.
	//
	// An error can be thrown by echoStringSet only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStringSet
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStringSet into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStringSet
	//
	//   value, err := echoStringSet(args)
	//   result, err := Echo_EchoStringSet_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStringSet: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(map[string]struct{}, error) (*Echo_EchoStringSet_Result, error)

	// UnwrapResponse takes the result struct for echoStringSet
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStringSet threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStringSet_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStringSet_Result) (map[string]struct{}, error)
}{}

Echo_EchoStringSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringSet function.

View Source
var Echo_EchoString_Helper = struct {
	// Args accepts the parameters of echoString in-order and returns
	// the arguments struct for the function.
	Args func(
		arg string,
	) *Echo_EchoString_Args

	// IsException returns true if the given error can be thrown
	// by echoString.
	//
	// An error can be thrown by echoString only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoString
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoString into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoString
	//
	//   value, err := echoString(args)
	//   result, err := Echo_EchoString_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoString: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(string, error) (*Echo_EchoString_Result, error)

	// UnwrapResponse takes the result struct for echoString
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoString threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoString_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoString_Result) (string, error)
}{}

Echo_EchoString_Helper provides functions that aid in handling the parameters and return values of the Echo.echoString function.

View Source
var Echo_EchoStructList_Helper = struct {
	// Args accepts the parameters of echoStructList in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []*BarResponse,
	) *Echo_EchoStructList_Args

	// IsException returns true if the given error can be thrown
	// by echoStructList.
	//
	// An error can be thrown by echoStructList only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructList
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructList into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructList
	//
	//   value, err := echoStructList(args)
	//   result, err := Echo_EchoStructList_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructList: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]*BarResponse, error) (*Echo_EchoStructList_Result, error)

	// UnwrapResponse takes the result struct for echoStructList
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructList threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructList_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructList_Result) ([]*BarResponse, error)
}{}

Echo_EchoStructList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructList function.

View Source
var Echo_EchoStructMap_Helper = struct {
	// Args accepts the parameters of echoStructMap in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []struct {
			Key   *BarResponse
			Value string
		},
	) *Echo_EchoStructMap_Args

	// IsException returns true if the given error can be thrown
	// by echoStructMap.
	//
	// An error can be thrown by echoStructMap only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructMap
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructMap into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructMap
	//
	//   value, err := echoStructMap(args)
	//   result, err := Echo_EchoStructMap_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructMap: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]struct {
		Key   *BarResponse
		Value string
	}, error) (*Echo_EchoStructMap_Result, error)

	// UnwrapResponse takes the result struct for echoStructMap
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructMap threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructMap_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructMap_Result) ([]struct {
		Key   *BarResponse
		Value string
	}, error)
}{}

Echo_EchoStructMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructMap function.

View Source
var Echo_EchoStructSet_Helper = struct {
	// Args accepts the parameters of echoStructSet in-order and returns
	// the arguments struct for the function.
	Args func(
		arg []*BarResponse,
	) *Echo_EchoStructSet_Args

	// IsException returns true if the given error can be thrown
	// by echoStructSet.
	//
	// An error can be thrown by echoStructSet only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoStructSet
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoStructSet into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoStructSet
	//
	//   value, err := echoStructSet(args)
	//   result, err := Echo_EchoStructSet_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoStructSet: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func([]*BarResponse, error) (*Echo_EchoStructSet_Result, error)

	// UnwrapResponse takes the result struct for echoStructSet
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoStructSet threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoStructSet_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoStructSet_Result) ([]*BarResponse, error)
}{}

Echo_EchoStructSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructSet function.

View Source
var Echo_EchoTypedef_Helper = struct {
	// Args accepts the parameters of echoTypedef in-order and returns
	// the arguments struct for the function.
	Args func(
		arg UUID,
	) *Echo_EchoTypedef_Args

	// IsException returns true if the given error can be thrown
	// by echoTypedef.
	//
	// An error can be thrown by echoTypedef only if the
	// corresponding exception type was mentioned in the 'throws'
	// section for it in the Thrift file.
	IsException func(error) bool

	// WrapResponse returns the result struct for echoTypedef
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// echoTypedef into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by echoTypedef
	//
	//   value, err := echoTypedef(args)
	//   result, err := Echo_EchoTypedef_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from echoTypedef: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(UUID, error) (*Echo_EchoTypedef_Result, error)

	// UnwrapResponse takes the result struct for echoTypedef
	// and returns the value or error returned by it.
	//
	// The error is non-nil only if echoTypedef threw an
	// exception.
	//
	//   result := deserialize(bytes)
	//   value, err := Echo_EchoTypedef_Helper.UnwrapResponse(result)
	UnwrapResponse func(*Echo_EchoTypedef_Result) (UUID, error)
}{}

Echo_EchoTypedef_Helper provides functions that aid in handling the parameters and return values of the Echo.echoTypedef function.

Functions

This section is empty.

Types

type BarException

type BarException struct {
	StringField string `json:"stringField,required"`
}

func (*BarException) Equals

func (v *BarException) Equals(rhs *BarException) bool

Equals returns true if all the fields of this BarException match the provided BarException.

This function performs a deep comparison.

func (*BarException) Error

func (v *BarException) Error() string

func (*BarException) ErrorName

func (*BarException) ErrorName() string

ErrorName is the name of this type as defined in the Thrift file.

func (*BarException) FromWire

func (v *BarException) FromWire(w wire.Value) error

FromWire deserializes a BarException struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarException struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarException
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarException) GetStringField

func (v *BarException) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (BarException) MarshalEasyJSON

func (v BarException) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarException) MarshalJSON

func (v BarException) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarException) MarshalLogObject

func (v *BarException) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarException.

func (*BarException) String

func (v *BarException) String() string

String returns a readable string representation of a BarException struct.

func (*BarException) ToWire

func (v *BarException) ToWire() (wire.Value, error)

ToWire translates a BarException struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarException) UnmarshalEasyJSON

func (v *BarException) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarException) UnmarshalJSON

func (v *BarException) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarRequest

type BarRequest struct {
	StringField string    `json:"stringField,required"`
	BoolField   bool      `json:"boolField,required"`
	BinaryField []byte    `json:"binaryField,required"`
	Timestamp   Timestamp `json:"timestamp,required"`
	EnumField   Fruit     `json:"enumField,required"`
	LongField   Long      `json:"longField,required"`
}

func (*BarRequest) Equals

func (v *BarRequest) Equals(rhs *BarRequest) bool

Equals returns true if all the fields of this BarRequest match the provided BarRequest.

This function performs a deep comparison.

func (*BarRequest) FromWire

func (v *BarRequest) FromWire(w wire.Value) error

FromWire deserializes a BarRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarRequest struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarRequest
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarRequest) GetBinaryField

func (v *BarRequest) GetBinaryField() (o []byte)

GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.

func (*BarRequest) GetBoolField

func (v *BarRequest) GetBoolField() (o bool)

GetBoolField returns the value of BoolField if it is set or its zero value if it is unset.

func (*BarRequest) GetEnumField

func (v *BarRequest) GetEnumField() (o Fruit)

GetEnumField returns the value of EnumField if it is set or its zero value if it is unset.

func (*BarRequest) GetLongField

func (v *BarRequest) GetLongField() (o Long)

GetLongField returns the value of LongField if it is set or its zero value if it is unset.

func (*BarRequest) GetStringField

func (v *BarRequest) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (*BarRequest) GetTimestamp

func (v *BarRequest) GetTimestamp() (o Timestamp)

GetTimestamp returns the value of Timestamp if it is set or its zero value if it is unset.

func (*BarRequest) IsSetBinaryField

func (v *BarRequest) IsSetBinaryField() bool

IsSetBinaryField returns true if BinaryField is not nil.

func (BarRequest) MarshalEasyJSON

func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarRequest) MarshalJSON

func (v BarRequest) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarRequest) MarshalLogObject

func (v *BarRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarRequest.

func (*BarRequest) String

func (v *BarRequest) String() string

String returns a readable string representation of a BarRequest struct.

func (*BarRequest) ToWire

func (v *BarRequest) ToWire() (wire.Value, error)

ToWire translates a BarRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarRequest) UnmarshalEasyJSON

func (v *BarRequest) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarRequest) UnmarshalJSON

func (v *BarRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarRequestRecur

type BarRequestRecur struct {
	Name  string           `json:"name,required"`
	Recur *BarRequestRecur `json:"recur,omitempty"`
}

func (*BarRequestRecur) Equals

func (v *BarRequestRecur) Equals(rhs *BarRequestRecur) bool

Equals returns true if all the fields of this BarRequestRecur match the provided BarRequestRecur.

This function performs a deep comparison.

func (*BarRequestRecur) FromWire

func (v *BarRequestRecur) FromWire(w wire.Value) error

FromWire deserializes a BarRequestRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarRequestRecur struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarRequestRecur
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarRequestRecur) GetName

func (v *BarRequestRecur) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*BarRequestRecur) GetRecur

func (v *BarRequestRecur) GetRecur() (o *BarRequestRecur)

GetRecur returns the value of Recur if it is set or its zero value if it is unset.

func (*BarRequestRecur) IsSetRecur

func (v *BarRequestRecur) IsSetRecur() bool

IsSetRecur returns true if Recur is not nil.

func (BarRequestRecur) MarshalEasyJSON

func (v BarRequestRecur) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarRequestRecur) MarshalJSON

func (v BarRequestRecur) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarRequestRecur) MarshalLogObject

func (v *BarRequestRecur) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarRequestRecur.

func (*BarRequestRecur) String

func (v *BarRequestRecur) String() string

String returns a readable string representation of a BarRequestRecur struct.

func (*BarRequestRecur) ToWire

func (v *BarRequestRecur) ToWire() (wire.Value, error)

ToWire translates a BarRequestRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarRequestRecur) UnmarshalEasyJSON

func (v *BarRequestRecur) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarRequestRecur) UnmarshalJSON

func (v *BarRequestRecur) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarResponse

type BarResponse struct {
	StringField        string           `json:"stringField,required"`
	IntWithRange       int32            `json:"intWithRange,required"`
	IntWithoutRange    int32            `json:"intWithoutRange,required"`
	MapIntWithRange    map[UUID]int32   `json:"mapIntWithRange,required"`
	MapIntWithoutRange map[string]int32 `json:"mapIntWithoutRange,required"`
	BinaryField        []byte           `json:"binaryField,required"`
	NextResponse       *BarResponse     `json:"nextResponse,omitempty"`
}

func (*BarResponse) Equals

func (v *BarResponse) Equals(rhs *BarResponse) bool

Equals returns true if all the fields of this BarResponse match the provided BarResponse.

This function performs a deep comparison.

func (*BarResponse) FromWire

func (v *BarResponse) FromWire(w wire.Value) error

FromWire deserializes a BarResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarResponse struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarResponse
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarResponse) GetBinaryField

func (v *BarResponse) GetBinaryField() (o []byte)

GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.

func (*BarResponse) GetIntWithRange

func (v *BarResponse) GetIntWithRange() (o int32)

GetIntWithRange returns the value of IntWithRange if it is set or its zero value if it is unset.

func (*BarResponse) GetIntWithoutRange

func (v *BarResponse) GetIntWithoutRange() (o int32)

GetIntWithoutRange returns the value of IntWithoutRange if it is set or its zero value if it is unset.

func (*BarResponse) GetMapIntWithRange

func (v *BarResponse) GetMapIntWithRange() (o map[UUID]int32)

GetMapIntWithRange returns the value of MapIntWithRange if it is set or its zero value if it is unset.

func (*BarResponse) GetMapIntWithoutRange

func (v *BarResponse) GetMapIntWithoutRange() (o map[string]int32)

GetMapIntWithoutRange returns the value of MapIntWithoutRange if it is set or its zero value if it is unset.

func (*BarResponse) GetNextResponse

func (v *BarResponse) GetNextResponse() (o *BarResponse)

GetNextResponse returns the value of NextResponse if it is set or its zero value if it is unset.

func (*BarResponse) GetStringField

func (v *BarResponse) GetStringField() (o string)

GetStringField returns the value of StringField if it is set or its zero value if it is unset.

func (*BarResponse) IsSetBinaryField

func (v *BarResponse) IsSetBinaryField() bool

IsSetBinaryField returns true if BinaryField is not nil.

func (*BarResponse) IsSetMapIntWithRange

func (v *BarResponse) IsSetMapIntWithRange() bool

IsSetMapIntWithRange returns true if MapIntWithRange is not nil.

func (*BarResponse) IsSetMapIntWithoutRange

func (v *BarResponse) IsSetMapIntWithoutRange() bool

IsSetMapIntWithoutRange returns true if MapIntWithoutRange is not nil.

func (*BarResponse) IsSetNextResponse

func (v *BarResponse) IsSetNextResponse() bool

IsSetNextResponse returns true if NextResponse is not nil.

func (BarResponse) MarshalEasyJSON

func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarResponse) MarshalJSON

func (v BarResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarResponse) MarshalLogObject

func (v *BarResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarResponse.

func (*BarResponse) String

func (v *BarResponse) String() string

String returns a readable string representation of a BarResponse struct.

func (*BarResponse) ToWire

func (v *BarResponse) ToWire() (wire.Value, error)

ToWire translates a BarResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarResponse) UnmarshalEasyJSON

func (v *BarResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarResponse) UnmarshalJSON

func (v *BarResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BarResponseRecur

type BarResponseRecur struct {
	Nodes  []string `json:"nodes,required"`
	Height int32    `json:"height,required"`
}

func (*BarResponseRecur) Equals

func (v *BarResponseRecur) Equals(rhs *BarResponseRecur) bool

Equals returns true if all the fields of this BarResponseRecur match the provided BarResponseRecur.

This function performs a deep comparison.

func (*BarResponseRecur) FromWire

func (v *BarResponseRecur) FromWire(w wire.Value) error

FromWire deserializes a BarResponseRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a BarResponseRecur struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v BarResponseRecur
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*BarResponseRecur) GetHeight

func (v *BarResponseRecur) GetHeight() (o int32)

GetHeight returns the value of Height if it is set or its zero value if it is unset.

func (*BarResponseRecur) GetNodes

func (v *BarResponseRecur) GetNodes() (o []string)

GetNodes returns the value of Nodes if it is set or its zero value if it is unset.

func (*BarResponseRecur) IsSetNodes

func (v *BarResponseRecur) IsSetNodes() bool

IsSetNodes returns true if Nodes is not nil.

func (BarResponseRecur) MarshalEasyJSON

func (v BarResponseRecur) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BarResponseRecur) MarshalJSON

func (v BarResponseRecur) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BarResponseRecur) MarshalLogObject

func (v *BarResponseRecur) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarResponseRecur.

func (*BarResponseRecur) String

func (v *BarResponseRecur) String() string

String returns a readable string representation of a BarResponseRecur struct.

func (*BarResponseRecur) ToWire

func (v *BarResponseRecur) ToWire() (wire.Value, error)

ToWire translates a BarResponseRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*BarResponseRecur) UnmarshalEasyJSON

func (v *BarResponseRecur) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BarResponseRecur) UnmarshalJSON

func (v *BarResponseRecur) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgNotStruct_Args

type Bar_ArgNotStruct_Args struct {
	Request string `json:"request,required"`
}

Bar_ArgNotStruct_Args represents the arguments for the Bar.argNotStruct function.

The arguments for argNotStruct are sent and received over the wire as this struct.

func (*Bar_ArgNotStruct_Args) EnvelopeType

func (v *Bar_ArgNotStruct_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgNotStruct_Args) Equals

Equals returns true if all the fields of this Bar_ArgNotStruct_Args match the provided Bar_ArgNotStruct_Args.

This function performs a deep comparison.

func (*Bar_ArgNotStruct_Args) FromWire

func (v *Bar_ArgNotStruct_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgNotStruct_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgNotStruct_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgNotStruct_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgNotStruct_Args) GetRequest

func (v *Bar_ArgNotStruct_Args) GetRequest() (o string)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (Bar_ArgNotStruct_Args) MarshalEasyJSON

func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgNotStruct_Args) MarshalJSON

func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgNotStruct_Args) MarshalLogObject

func (v *Bar_ArgNotStruct_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Args.

func (*Bar_ArgNotStruct_Args) MethodName

func (v *Bar_ArgNotStruct_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argNotStruct" for this struct.

func (*Bar_ArgNotStruct_Args) String

func (v *Bar_ArgNotStruct_Args) String() string

String returns a readable string representation of a Bar_ArgNotStruct_Args struct.

func (*Bar_ArgNotStruct_Args) ToWire

func (v *Bar_ArgNotStruct_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgNotStruct_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgNotStruct_Args) UnmarshalEasyJSON

func (v *Bar_ArgNotStruct_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgNotStruct_Args) UnmarshalJSON

func (v *Bar_ArgNotStruct_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgNotStruct_Result

type Bar_ArgNotStruct_Result struct {
	BarException *BarException `json:"barException,omitempty"`
}

Bar_ArgNotStruct_Result represents the result of a Bar.argNotStruct function call.

The result of a argNotStruct execution is sent and received over the wire as this struct.

func (*Bar_ArgNotStruct_Result) EnvelopeType

func (v *Bar_ArgNotStruct_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgNotStruct_Result) Equals

Equals returns true if all the fields of this Bar_ArgNotStruct_Result match the provided Bar_ArgNotStruct_Result.

This function performs a deep comparison.

func (*Bar_ArgNotStruct_Result) FromWire

func (v *Bar_ArgNotStruct_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgNotStruct_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgNotStruct_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgNotStruct_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgNotStruct_Result) GetBarException

func (v *Bar_ArgNotStruct_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_ArgNotStruct_Result) IsSetBarException

func (v *Bar_ArgNotStruct_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (Bar_ArgNotStruct_Result) MarshalEasyJSON

func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgNotStruct_Result) MarshalJSON

func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgNotStruct_Result) MarshalLogObject

func (v *Bar_ArgNotStruct_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Result.

func (*Bar_ArgNotStruct_Result) MethodName

func (v *Bar_ArgNotStruct_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argNotStruct" for this struct.

func (*Bar_ArgNotStruct_Result) String

func (v *Bar_ArgNotStruct_Result) String() string

String returns a readable string representation of a Bar_ArgNotStruct_Result struct.

func (*Bar_ArgNotStruct_Result) ToWire

func (v *Bar_ArgNotStruct_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgNotStruct_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgNotStruct_Result) UnmarshalEasyJSON

func (v *Bar_ArgNotStruct_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgNotStruct_Result) UnmarshalJSON

func (v *Bar_ArgNotStruct_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithHeaders_Args

type Bar_ArgWithHeaders_Args struct {
	Name         string                `json:"-"`
	UserUUID     *string               `json:"-"`
	ParamsStruct *OptionalParamsStruct `json:"paramsStruct,omitempty"`
}

Bar_ArgWithHeaders_Args represents the arguments for the Bar.argWithHeaders function.

The arguments for argWithHeaders are sent and received over the wire as this struct.

func (*Bar_ArgWithHeaders_Args) EnvelopeType

func (v *Bar_ArgWithHeaders_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithHeaders_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithHeaders_Args match the provided Bar_ArgWithHeaders_Args.

This function performs a deep comparison.

func (*Bar_ArgWithHeaders_Args) FromWire

func (v *Bar_ArgWithHeaders_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithHeaders_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithHeaders_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithHeaders_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithHeaders_Args) GetName

func (v *Bar_ArgWithHeaders_Args) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Args) GetParamsStruct

func (v *Bar_ArgWithHeaders_Args) GetParamsStruct() (o *OptionalParamsStruct)

GetParamsStruct returns the value of ParamsStruct if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Args) GetUserUUID

func (v *Bar_ArgWithHeaders_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Args) IsSetParamsStruct

func (v *Bar_ArgWithHeaders_Args) IsSetParamsStruct() bool

IsSetParamsStruct returns true if ParamsStruct is not nil.

func (*Bar_ArgWithHeaders_Args) IsSetUserUUID

func (v *Bar_ArgWithHeaders_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithHeaders_Args) MarshalEasyJSON

func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithHeaders_Args) MarshalJSON

func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithHeaders_Args) MarshalLogObject

func (v *Bar_ArgWithHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Args.

func (*Bar_ArgWithHeaders_Args) MethodName

func (v *Bar_ArgWithHeaders_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithHeaders" for this struct.

func (*Bar_ArgWithHeaders_Args) String

func (v *Bar_ArgWithHeaders_Args) String() string

String returns a readable string representation of a Bar_ArgWithHeaders_Args struct.

func (*Bar_ArgWithHeaders_Args) ToWire

func (v *Bar_ArgWithHeaders_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithHeaders_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithHeaders_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithHeaders_Args) UnmarshalJSON

func (v *Bar_ArgWithHeaders_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithHeaders_Result

type Bar_ArgWithHeaders_Result struct {
	// Value returned by argWithHeaders after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithHeaders_Result represents the result of a Bar.argWithHeaders function call.

The result of a argWithHeaders execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithHeaders_Result) EnvelopeType

func (v *Bar_ArgWithHeaders_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithHeaders_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithHeaders_Result match the provided Bar_ArgWithHeaders_Result.

This function performs a deep comparison.

func (*Bar_ArgWithHeaders_Result) FromWire

func (v *Bar_ArgWithHeaders_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithHeaders_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithHeaders_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithHeaders_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithHeaders_Result) GetSuccess

func (v *Bar_ArgWithHeaders_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithHeaders_Result) IsSetSuccess

func (v *Bar_ArgWithHeaders_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithHeaders_Result) MarshalEasyJSON

func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithHeaders_Result) MarshalJSON

func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithHeaders_Result) MarshalLogObject

func (v *Bar_ArgWithHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Result.

func (*Bar_ArgWithHeaders_Result) MethodName

func (v *Bar_ArgWithHeaders_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithHeaders" for this struct.

func (*Bar_ArgWithHeaders_Result) String

func (v *Bar_ArgWithHeaders_Result) String() string

String returns a readable string representation of a Bar_ArgWithHeaders_Result struct.

func (*Bar_ArgWithHeaders_Result) ToWire

func (v *Bar_ArgWithHeaders_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithHeaders_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithHeaders_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithHeaders_Result) UnmarshalJSON

func (v *Bar_ArgWithHeaders_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithManyQueryParams_Args

type Bar_ArgWithManyQueryParams_Args struct {
	AStr            string     `json:"aStr,required"`
	AnOptStr        *string    `json:"anOptStr,omitempty"`
	ABool           bool       `json:"aBool,required"`
	AnOptBool       *bool      `json:"anOptBool,omitempty"`
	AInt8           int8       `json:"aInt8,required"`
	AnOptInt8       *int8      `json:"anOptInt8,omitempty"`
	AInt16          int16      `json:"aInt16,required"`
	AnOptInt16      *int16     `json:"anOptInt16,omitempty"`
	AInt32          int32      `json:"aInt32,required"`
	AnOptInt32      *int32     `json:"anOptInt32,omitempty"`
	AInt64          int64      `json:"aInt64,required"`
	AnOptInt64      *int64     `json:"anOptInt64,omitempty"`
	AFloat64        float64    `json:"aFloat64,required"`
	AnOptFloat64    *float64   `json:"anOptFloat64,omitempty"`
	AUUID           UUID       `json:"aUUID,required"`
	AnOptUUID       *UUID      `json:"anOptUUID,omitempty"`
	AListUUID       []UUID     `json:"aListUUID,required"`
	AnOptListUUID   []UUID     `json:"anOptListUUID,omitempty"`
	AStringList     StringList `json:"aStringList,required"`
	AnOptStringList StringList `json:"anOptStringList,omitempty"`
	AUUIDList       UUIDList   `json:"aUUIDList,required"`
	AnOptUUIDList   UUIDList   `json:"anOptUUIDList,omitempty"`
	ATs             Timestamp  `json:"aTs,required"`
	AnOptTs         *Timestamp `json:"anOptTs,omitempty"`
	AReqDemo        DemoType   `json:"aReqDemo,required"`
	AnOptFruit      *Fruit     `json:"anOptFruit,omitempty"`
	AReqFruits      []Fruit    `json:"aReqFruits,required"`
	AnOptDemos      []DemoType `json:"anOptDemos,omitempty"`
}

Bar_ArgWithManyQueryParams_Args represents the arguments for the Bar.argWithManyQueryParams function.

The arguments for argWithManyQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithManyQueryParams_Args) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithManyQueryParams_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Args match the provided Bar_ArgWithManyQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithManyQueryParams_Args) FromWire

FromWire deserializes a Bar_ArgWithManyQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithManyQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithManyQueryParams_Args) GetABool

func (v *Bar_ArgWithManyQueryParams_Args) GetABool() (o bool)

GetABool returns the value of ABool if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAFloat64

func (v *Bar_ArgWithManyQueryParams_Args) GetAFloat64() (o float64)

GetAFloat64 returns the value of AFloat64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt16

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt16() (o int16)

GetAInt16 returns the value of AInt16 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt32

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt32() (o int32)

GetAInt32 returns the value of AInt32 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt64

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt64() (o int64)

GetAInt64 returns the value of AInt64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAInt8

func (v *Bar_ArgWithManyQueryParams_Args) GetAInt8() (o int8)

GetAInt8 returns the value of AInt8 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAListUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAListUUID() (o []UUID)

GetAListUUID returns the value of AListUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAReqDemo

func (v *Bar_ArgWithManyQueryParams_Args) GetAReqDemo() (o DemoType)

GetAReqDemo returns the value of AReqDemo if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAReqFruits

func (v *Bar_ArgWithManyQueryParams_Args) GetAReqFruits() (o []Fruit)

GetAReqFruits returns the value of AReqFruits if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAStr

func (v *Bar_ArgWithManyQueryParams_Args) GetAStr() (o string)

GetAStr returns the value of AStr if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAStringList

func (v *Bar_ArgWithManyQueryParams_Args) GetAStringList() (o StringList)

GetAStringList returns the value of AStringList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetATs

GetATs returns the value of ATs if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAUUID() (o UUID)

GetAUUID returns the value of AUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) GetAUUIDList() (o UUIDList)

GetAUUIDList returns the value of AUUIDList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptBool

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)

GetAnOptBool returns the value of AnOptBool if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptDemos

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptDemos() (o []DemoType)

GetAnOptDemos returns the value of AnOptDemos if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)

GetAnOptFloat64 returns the value of AnOptFloat64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFruit

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFruit() (o Fruit)

GetAnOptFruit returns the value of AnOptFruit if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt16

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt16() (o int16)

GetAnOptInt16 returns the value of AnOptInt16 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt32

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt32() (o int32)

GetAnOptInt32 returns the value of AnOptInt32 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt64

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt64() (o int64)

GetAnOptInt64 returns the value of AnOptInt64 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt8

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt8() (o int8)

GetAnOptInt8 returns the value of AnOptInt8 if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID() (o []UUID)

GetAnOptListUUID returns the value of AnOptListUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStr

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)

GetAnOptStr returns the value of AnOptStr if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStringList

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStringList() (o StringList)

GetAnOptStringList returns the value of AnOptStringList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptTs

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)

GetAnOptTs returns the value of AnOptTs if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUID

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)

GetAnOptUUID returns the value of AnOptUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList() (o UUIDList)

GetAnOptUUIDList returns the value of AnOptUUIDList if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAListUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAListUUID() bool

IsSetAListUUID returns true if AListUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits() bool

IsSetAReqFruits returns true if AReqFruits is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAStringList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAStringList() bool

IsSetAStringList returns true if AStringList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList() bool

IsSetAUUIDList returns true if AUUIDList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool() bool

IsSetAnOptBool returns true if AnOptBool is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos() bool

IsSetAnOptDemos returns true if AnOptDemos is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64() bool

IsSetAnOptFloat64 returns true if AnOptFloat64 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit() bool

IsSetAnOptFruit returns true if AnOptFruit is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16() bool

IsSetAnOptInt16 returns true if AnOptInt16 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32() bool

IsSetAnOptInt32 returns true if AnOptInt32 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64() bool

IsSetAnOptInt64 returns true if AnOptInt64 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8() bool

IsSetAnOptInt8 returns true if AnOptInt8 is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID() bool

IsSetAnOptListUUID returns true if AnOptListUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr() bool

IsSetAnOptStr returns true if AnOptStr is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList() bool

IsSetAnOptStringList returns true if AnOptStringList is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs() bool

IsSetAnOptTs returns true if AnOptTs is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID() bool

IsSetAnOptUUID returns true if AnOptUUID is not nil.

func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList

func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList() bool

IsSetAnOptUUIDList returns true if AnOptUUIDList is not nil.

func (Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithManyQueryParams_Args) MarshalJSON

func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithManyQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithManyQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Args.

func (*Bar_ArgWithManyQueryParams_Args) MethodName

func (v *Bar_ArgWithManyQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithManyQueryParams" for this struct.

func (*Bar_ArgWithManyQueryParams_Args) String

String returns a readable string representation of a Bar_ArgWithManyQueryParams_Args struct.

func (*Bar_ArgWithManyQueryParams_Args) ToWire

ToWire translates a Bar_ArgWithManyQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithManyQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithManyQueryParams_Result

type Bar_ArgWithManyQueryParams_Result struct {
	// Value returned by argWithManyQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithManyQueryParams_Result represents the result of a Bar.argWithManyQueryParams function call.

The result of a argWithManyQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithManyQueryParams_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithManyQueryParams_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Result match the provided Bar_ArgWithManyQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithManyQueryParams_Result) FromWire

FromWire deserializes a Bar_ArgWithManyQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithManyQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithManyQueryParams_Result) GetSuccess

func (v *Bar_ArgWithManyQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithManyQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithManyQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithManyQueryParams_Result) MarshalJSON

func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithManyQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithManyQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Result.

func (*Bar_ArgWithManyQueryParams_Result) MethodName

func (v *Bar_ArgWithManyQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithManyQueryParams" for this struct.

func (*Bar_ArgWithManyQueryParams_Result) String

String returns a readable string representation of a Bar_ArgWithManyQueryParams_Result struct.

func (*Bar_ArgWithManyQueryParams_Result) ToWire

ToWire translates a Bar_ArgWithManyQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithManyQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNearDupQueryParams_Args

type Bar_ArgWithNearDupQueryParams_Args struct {
	One   string  `json:"one,required"`
	Two   *int32  `json:"two,omitempty"`
	Three *string `json:"three,omitempty"`
	Four  *string `json:"four,omitempty"`
}

Bar_ArgWithNearDupQueryParams_Args represents the arguments for the Bar.argWithNearDupQueryParams function.

The arguments for argWithNearDupQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Args match the provided Bar_ArgWithNearDupQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithNearDupQueryParams_Args) FromWire

FromWire deserializes a Bar_ArgWithNearDupQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNearDupQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNearDupQueryParams_Args) GetFour

func (v *Bar_ArgWithNearDupQueryParams_Args) GetFour() (o string)

GetFour returns the value of Four if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetOne

GetOne returns the value of One if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetThree

func (v *Bar_ArgWithNearDupQueryParams_Args) GetThree() (o string)

GetThree returns the value of Three if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) GetTwo

func (v *Bar_ArgWithNearDupQueryParams_Args) GetTwo() (o int32)

GetTwo returns the value of Two if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetFour

IsSetFour returns true if Four is not nil.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetThree

func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetThree() bool

IsSetThree returns true if Three is not nil.

func (*Bar_ArgWithNearDupQueryParams_Args) IsSetTwo

IsSetTwo returns true if Two is not nil.

func (Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNearDupQueryParams_Args) MarshalJSON

func (v Bar_ArgWithNearDupQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Args.

func (*Bar_ArgWithNearDupQueryParams_Args) MethodName

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithNearDupQueryParams" for this struct.

func (*Bar_ArgWithNearDupQueryParams_Args) String

String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Args struct.

func (*Bar_ArgWithNearDupQueryParams_Args) ToWire

ToWire translates a Bar_ArgWithNearDupQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNearDupQueryParams_Result

type Bar_ArgWithNearDupQueryParams_Result struct {
	// Value returned by argWithNearDupQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithNearDupQueryParams_Result represents the result of a Bar.argWithNearDupQueryParams function call.

The result of a argWithNearDupQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithNearDupQueryParams_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithNearDupQueryParams_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Result match the provided Bar_ArgWithNearDupQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithNearDupQueryParams_Result) FromWire

FromWire deserializes a Bar_ArgWithNearDupQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNearDupQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNearDupQueryParams_Result) GetSuccess

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNearDupQueryParams_Result) MarshalJSON

func (v Bar_ArgWithNearDupQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Result.

func (*Bar_ArgWithNearDupQueryParams_Result) MethodName

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithNearDupQueryParams" for this struct.

func (*Bar_ArgWithNearDupQueryParams_Result) String

String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Result struct.

func (*Bar_ArgWithNearDupQueryParams_Result) ToWire

ToWire translates a Bar_ArgWithNearDupQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNestedQueryParams_Args

type Bar_ArgWithNestedQueryParams_Args struct {
	Request *QueryParamsStruct     `json:"request,required"`
	Opt     *QueryParamsOptsStruct `json:"opt,omitempty"`
}

Bar_ArgWithNestedQueryParams_Args represents the arguments for the Bar.argWithNestedQueryParams function.

The arguments for argWithNestedQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithNestedQueryParams_Args) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithNestedQueryParams_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Args match the provided Bar_ArgWithNestedQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithNestedQueryParams_Args) FromWire

FromWire deserializes a Bar_ArgWithNestedQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNestedQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNestedQueryParams_Args) GetOpt

GetOpt returns the value of Opt if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Args) GetRequest

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Args) IsSetOpt

IsSetOpt returns true if Opt is not nil.

func (*Bar_ArgWithNestedQueryParams_Args) IsSetRequest

func (v *Bar_ArgWithNestedQueryParams_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNestedQueryParams_Args) MarshalJSON

func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNestedQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithNestedQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Args.

func (*Bar_ArgWithNestedQueryParams_Args) MethodName

func (v *Bar_ArgWithNestedQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithNestedQueryParams" for this struct.

func (*Bar_ArgWithNestedQueryParams_Args) String

String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Args struct.

func (*Bar_ArgWithNestedQueryParams_Args) ToWire

ToWire translates a Bar_ArgWithNestedQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithNestedQueryParams_Result

type Bar_ArgWithNestedQueryParams_Result struct {
	// Value returned by argWithNestedQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithNestedQueryParams_Result represents the result of a Bar.argWithNestedQueryParams function call.

The result of a argWithNestedQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithNestedQueryParams_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithNestedQueryParams_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Result match the provided Bar_ArgWithNestedQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithNestedQueryParams_Result) FromWire

FromWire deserializes a Bar_ArgWithNestedQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithNestedQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithNestedQueryParams_Result) GetSuccess

func (v *Bar_ArgWithNestedQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithNestedQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithNestedQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithNestedQueryParams_Result) MarshalJSON

func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithNestedQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithNestedQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Result.

func (*Bar_ArgWithNestedQueryParams_Result) MethodName

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithNestedQueryParams" for this struct.

func (*Bar_ArgWithNestedQueryParams_Result) String

String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Result struct.

func (*Bar_ArgWithNestedQueryParams_Result) ToWire

ToWire translates a Bar_ArgWithNestedQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParamsAndDuplicateFields_Args

type Bar_ArgWithParamsAndDuplicateFields_Args struct {
	Request    *RequestWithDuplicateType `json:"request,required"`
	EntityUUID string                    `json:"entityUUID,required"`
}

Bar_ArgWithParamsAndDuplicateFields_Args represents the arguments for the Bar.argWithParamsAndDuplicateFields function.

The arguments for argWithParamsAndDuplicateFields are sent and received over the wire as this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Args match the provided Bar_ArgWithParamsAndDuplicateFields_Args.

This function performs a deep comparison.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) FromWire

FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParamsAndDuplicateFields_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID() (o string)

GetEntityUUID returns the value of EntityUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest

IsSetRequest returns true if Request is not nil.

func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Args.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) MethodName

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithParamsAndDuplicateFields" for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) String

String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Args struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Args) ToWire

ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParamsAndDuplicateFields_Result

type Bar_ArgWithParamsAndDuplicateFields_Result struct {
	// Value returned by argWithParamsAndDuplicateFields after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithParamsAndDuplicateFields_Result represents the result of a Bar.argWithParamsAndDuplicateFields function call.

The result of a argWithParamsAndDuplicateFields execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Result match the provided Bar_ArgWithParamsAndDuplicateFields_Result.

This function performs a deep comparison.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) FromWire

FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParamsAndDuplicateFields_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Result.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) MethodName

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithParamsAndDuplicateFields" for this struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) String

String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Result struct.

func (*Bar_ArgWithParamsAndDuplicateFields_Result) ToWire

ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON

func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParams_Args

type Bar_ArgWithParams_Args struct {
	UUID   string        `json:"uuid,required"`
	Params *ParamsStruct `json:"params,omitempty"`
}

Bar_ArgWithParams_Args represents the arguments for the Bar.argWithParams function.

The arguments for argWithParams are sent and received over the wire as this struct.

func (*Bar_ArgWithParams_Args) EnvelopeType

func (v *Bar_ArgWithParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithParams_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithParams_Args match the provided Bar_ArgWithParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithParams_Args) FromWire

func (v *Bar_ArgWithParams_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParams_Args) GetParams

func (v *Bar_ArgWithParams_Args) GetParams() (o *ParamsStruct)

GetParams returns the value of Params if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Args) GetUUID

func (v *Bar_ArgWithParams_Args) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Args) IsSetParams

func (v *Bar_ArgWithParams_Args) IsSetParams() bool

IsSetParams returns true if Params is not nil.

func (Bar_ArgWithParams_Args) MarshalEasyJSON

func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParams_Args) MarshalJSON

func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParams_Args) MarshalLogObject

func (v *Bar_ArgWithParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Args.

func (*Bar_ArgWithParams_Args) MethodName

func (v *Bar_ArgWithParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithParams" for this struct.

func (*Bar_ArgWithParams_Args) String

func (v *Bar_ArgWithParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithParams_Args struct.

func (*Bar_ArgWithParams_Args) ToWire

func (v *Bar_ArgWithParams_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParams_Args) UnmarshalJSON

func (v *Bar_ArgWithParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithParams_Result

type Bar_ArgWithParams_Result struct {
	// Value returned by argWithParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithParams_Result represents the result of a Bar.argWithParams function call.

The result of a argWithParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithParams_Result) EnvelopeType

func (v *Bar_ArgWithParams_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithParams_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithParams_Result match the provided Bar_ArgWithParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithParams_Result) FromWire

func (v *Bar_ArgWithParams_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ArgWithParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithParams_Result) GetSuccess

func (v *Bar_ArgWithParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithParams_Result) IsSetSuccess

func (v *Bar_ArgWithParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithParams_Result) MarshalEasyJSON

func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithParams_Result) MarshalJSON

func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithParams_Result) MarshalLogObject

func (v *Bar_ArgWithParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Result.

func (*Bar_ArgWithParams_Result) MethodName

func (v *Bar_ArgWithParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithParams" for this struct.

func (*Bar_ArgWithParams_Result) String

func (v *Bar_ArgWithParams_Result) String() string

String returns a readable string representation of a Bar_ArgWithParams_Result struct.

func (*Bar_ArgWithParams_Result) ToWire

func (v *Bar_ArgWithParams_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ArgWithParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithParams_Result) UnmarshalJSON

func (v *Bar_ArgWithParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryHeader_Args

type Bar_ArgWithQueryHeader_Args struct {
	UserUUID *string `json:"userUUID,omitempty"`
}

Bar_ArgWithQueryHeader_Args represents the arguments for the Bar.argWithQueryHeader function.

The arguments for argWithQueryHeader are sent and received over the wire as this struct.

func (*Bar_ArgWithQueryHeader_Args) EnvelopeType

func (v *Bar_ArgWithQueryHeader_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithQueryHeader_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Args match the provided Bar_ArgWithQueryHeader_Args.

This function performs a deep comparison.

func (*Bar_ArgWithQueryHeader_Args) FromWire

FromWire deserializes a Bar_ArgWithQueryHeader_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryHeader_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryHeader_Args) GetUserUUID

func (v *Bar_ArgWithQueryHeader_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryHeader_Args) IsSetUserUUID

func (v *Bar_ArgWithQueryHeader_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithQueryHeader_Args) MarshalEasyJSON

func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryHeader_Args) MarshalJSON

func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryHeader_Args) MarshalLogObject

func (v *Bar_ArgWithQueryHeader_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Args.

func (*Bar_ArgWithQueryHeader_Args) MethodName

func (v *Bar_ArgWithQueryHeader_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithQueryHeader" for this struct.

func (*Bar_ArgWithQueryHeader_Args) String

func (v *Bar_ArgWithQueryHeader_Args) String() string

String returns a readable string representation of a Bar_ArgWithQueryHeader_Args struct.

func (*Bar_ArgWithQueryHeader_Args) ToWire

ToWire translates a Bar_ArgWithQueryHeader_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryHeader_Args) UnmarshalJSON

func (v *Bar_ArgWithQueryHeader_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryHeader_Result

type Bar_ArgWithQueryHeader_Result struct {
	// Value returned by argWithQueryHeader after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithQueryHeader_Result represents the result of a Bar.argWithQueryHeader function call.

The result of a argWithQueryHeader execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithQueryHeader_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithQueryHeader_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Result match the provided Bar_ArgWithQueryHeader_Result.

This function performs a deep comparison.

func (*Bar_ArgWithQueryHeader_Result) FromWire

FromWire deserializes a Bar_ArgWithQueryHeader_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryHeader_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryHeader_Result) GetSuccess

func (v *Bar_ArgWithQueryHeader_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryHeader_Result) IsSetSuccess

func (v *Bar_ArgWithQueryHeader_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithQueryHeader_Result) MarshalEasyJSON

func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryHeader_Result) MarshalJSON

func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryHeader_Result) MarshalLogObject

func (v *Bar_ArgWithQueryHeader_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Result.

func (*Bar_ArgWithQueryHeader_Result) MethodName

func (v *Bar_ArgWithQueryHeader_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithQueryHeader" for this struct.

func (*Bar_ArgWithQueryHeader_Result) String

String returns a readable string representation of a Bar_ArgWithQueryHeader_Result struct.

func (*Bar_ArgWithQueryHeader_Result) ToWire

ToWire translates a Bar_ArgWithQueryHeader_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryHeader_Result) UnmarshalJSON

func (v *Bar_ArgWithQueryHeader_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryParams_Args

type Bar_ArgWithQueryParams_Args struct {
	Name     string   `json:"name,required"`
	UserUUID *string  `json:"userUUID,omitempty"`
	Foo      []string `json:"foo,omitempty"`
	Bar      []int8   `json:"bar,required"`
}

Bar_ArgWithQueryParams_Args represents the arguments for the Bar.argWithQueryParams function.

The arguments for argWithQueryParams are sent and received over the wire as this struct.

func (*Bar_ArgWithQueryParams_Args) EnvelopeType

func (v *Bar_ArgWithQueryParams_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ArgWithQueryParams_Args) Equals

Equals returns true if all the fields of this Bar_ArgWithQueryParams_Args match the provided Bar_ArgWithQueryParams_Args.

This function performs a deep comparison.

func (*Bar_ArgWithQueryParams_Args) FromWire

FromWire deserializes a Bar_ArgWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryParams_Args) GetBar

func (v *Bar_ArgWithQueryParams_Args) GetBar() (o []int8)

GetBar returns the value of Bar if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetFoo

func (v *Bar_ArgWithQueryParams_Args) GetFoo() (o []string)

GetFoo returns the value of Foo if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetName

func (v *Bar_ArgWithQueryParams_Args) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) GetUserUUID

func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Args) IsSetBar

func (v *Bar_ArgWithQueryParams_Args) IsSetBar() bool

IsSetBar returns true if Bar is not nil.

func (*Bar_ArgWithQueryParams_Args) IsSetFoo

func (v *Bar_ArgWithQueryParams_Args) IsSetFoo() bool

IsSetFoo returns true if Foo is not nil.

func (*Bar_ArgWithQueryParams_Args) IsSetUserUUID

func (v *Bar_ArgWithQueryParams_Args) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (Bar_ArgWithQueryParams_Args) MarshalEasyJSON

func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryParams_Args) MarshalJSON

func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryParams_Args) MarshalLogObject

func (v *Bar_ArgWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Args.

func (*Bar_ArgWithQueryParams_Args) MethodName

func (v *Bar_ArgWithQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "argWithQueryParams" for this struct.

func (*Bar_ArgWithQueryParams_Args) String

func (v *Bar_ArgWithQueryParams_Args) String() string

String returns a readable string representation of a Bar_ArgWithQueryParams_Args struct.

func (*Bar_ArgWithQueryParams_Args) ToWire

ToWire translates a Bar_ArgWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryParams_Args) UnmarshalJSON

func (v *Bar_ArgWithQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ArgWithQueryParams_Result

type Bar_ArgWithQueryParams_Result struct {
	// Value returned by argWithQueryParams after a successful execution.
	Success *BarResponse `json:"success,omitempty"`
}

Bar_ArgWithQueryParams_Result represents the result of a Bar.argWithQueryParams function call.

The result of a argWithQueryParams execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ArgWithQueryParams_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ArgWithQueryParams_Result) Equals

Equals returns true if all the fields of this Bar_ArgWithQueryParams_Result match the provided Bar_ArgWithQueryParams_Result.

This function performs a deep comparison.

func (*Bar_ArgWithQueryParams_Result) FromWire

FromWire deserializes a Bar_ArgWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ArgWithQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ArgWithQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ArgWithQueryParams_Result) GetSuccess

func (v *Bar_ArgWithQueryParams_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ArgWithQueryParams_Result) IsSetSuccess

func (v *Bar_ArgWithQueryParams_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ArgWithQueryParams_Result) MarshalEasyJSON

func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ArgWithQueryParams_Result) MarshalJSON

func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ArgWithQueryParams_Result) MarshalLogObject

func (v *Bar_ArgWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Result.

func (*Bar_ArgWithQueryParams_Result) MethodName

func (v *Bar_ArgWithQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "argWithQueryParams" for this struct.

func (*Bar_ArgWithQueryParams_Result) String

String returns a readable string representation of a Bar_ArgWithQueryParams_Result struct.

func (*Bar_ArgWithQueryParams_Result) ToWire

ToWire translates a Bar_ArgWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ArgWithQueryParams_Result) UnmarshalJSON

func (v *Bar_ArgWithQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteFoo_Args

type Bar_DeleteFoo_Args struct {
	UserUUID string `json:"userUUID,required"`
}

Bar_DeleteFoo_Args represents the arguments for the Bar.deleteFoo function.

The arguments for deleteFoo are sent and received over the wire as this struct.

func (*Bar_DeleteFoo_Args) EnvelopeType

func (v *Bar_DeleteFoo_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_DeleteFoo_Args) Equals

func (v *Bar_DeleteFoo_Args) Equals(rhs *Bar_DeleteFoo_Args) bool

Equals returns true if all the fields of this Bar_DeleteFoo_Args match the provided Bar_DeleteFoo_Args.

This function performs a deep comparison.

func (*Bar_DeleteFoo_Args) FromWire

func (v *Bar_DeleteFoo_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteFoo_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteFoo_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteFoo_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_DeleteFoo_Args) GetUserUUID

func (v *Bar_DeleteFoo_Args) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (Bar_DeleteFoo_Args) MarshalEasyJSON

func (v Bar_DeleteFoo_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteFoo_Args) MarshalJSON

func (v Bar_DeleteFoo_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteFoo_Args) MarshalLogObject

func (v *Bar_DeleteFoo_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteFoo_Args.

func (*Bar_DeleteFoo_Args) MethodName

func (v *Bar_DeleteFoo_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "deleteFoo" for this struct.

func (*Bar_DeleteFoo_Args) String

func (v *Bar_DeleteFoo_Args) String() string

String returns a readable string representation of a Bar_DeleteFoo_Args struct.

func (*Bar_DeleteFoo_Args) ToWire

func (v *Bar_DeleteFoo_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteFoo_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteFoo_Args) UnmarshalEasyJSON

func (v *Bar_DeleteFoo_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteFoo_Args) UnmarshalJSON

func (v *Bar_DeleteFoo_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteFoo_Result

type Bar_DeleteFoo_Result struct {
}

Bar_DeleteFoo_Result represents the result of a Bar.deleteFoo function call.

The result of a deleteFoo execution is sent and received over the wire as this struct.

func (*Bar_DeleteFoo_Result) EnvelopeType

func (v *Bar_DeleteFoo_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_DeleteFoo_Result) Equals

Equals returns true if all the fields of this Bar_DeleteFoo_Result match the provided Bar_DeleteFoo_Result.

This function performs a deep comparison.

func (*Bar_DeleteFoo_Result) FromWire

func (v *Bar_DeleteFoo_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_DeleteFoo_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteFoo_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteFoo_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_DeleteFoo_Result) MarshalEasyJSON

func (v Bar_DeleteFoo_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteFoo_Result) MarshalJSON

func (v Bar_DeleteFoo_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteFoo_Result) MarshalLogObject

func (v *Bar_DeleteFoo_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteFoo_Result.

func (*Bar_DeleteFoo_Result) MethodName

func (v *Bar_DeleteFoo_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "deleteFoo" for this struct.

func (*Bar_DeleteFoo_Result) String

func (v *Bar_DeleteFoo_Result) String() string

String returns a readable string representation of a Bar_DeleteFoo_Result struct.

func (*Bar_DeleteFoo_Result) ToWire

func (v *Bar_DeleteFoo_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_DeleteFoo_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteFoo_Result) UnmarshalEasyJSON

func (v *Bar_DeleteFoo_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteFoo_Result) UnmarshalJSON

func (v *Bar_DeleteFoo_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteWithQueryParams_Args

type Bar_DeleteWithQueryParams_Args struct {
	Filter string `json:"filter,required"`
	Count  *int32 `json:"count,omitempty"`
}

Bar_DeleteWithQueryParams_Args represents the arguments for the Bar.deleteWithQueryParams function.

The arguments for deleteWithQueryParams are sent and received over the wire as this struct.

func (*Bar_DeleteWithQueryParams_Args) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_DeleteWithQueryParams_Args) Equals

Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Args match the provided Bar_DeleteWithQueryParams_Args.

This function performs a deep comparison.

func (*Bar_DeleteWithQueryParams_Args) FromWire

FromWire deserializes a Bar_DeleteWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteWithQueryParams_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_DeleteWithQueryParams_Args) GetCount

func (v *Bar_DeleteWithQueryParams_Args) GetCount() (o int32)

GetCount returns the value of Count if it is set or its zero value if it is unset.

func (*Bar_DeleteWithQueryParams_Args) GetFilter

func (v *Bar_DeleteWithQueryParams_Args) GetFilter() (o string)

GetFilter returns the value of Filter if it is set or its zero value if it is unset.

func (*Bar_DeleteWithQueryParams_Args) IsSetCount

func (v *Bar_DeleteWithQueryParams_Args) IsSetCount() bool

IsSetCount returns true if Count is not nil.

func (Bar_DeleteWithQueryParams_Args) MarshalEasyJSON

func (v Bar_DeleteWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteWithQueryParams_Args) MarshalJSON

func (v Bar_DeleteWithQueryParams_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteWithQueryParams_Args) MarshalLogObject

func (v *Bar_DeleteWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Args.

func (*Bar_DeleteWithQueryParams_Args) MethodName

func (v *Bar_DeleteWithQueryParams_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "deleteWithQueryParams" for this struct.

func (*Bar_DeleteWithQueryParams_Args) String

String returns a readable string representation of a Bar_DeleteWithQueryParams_Args struct.

func (*Bar_DeleteWithQueryParams_Args) ToWire

ToWire translates a Bar_DeleteWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON

func (v *Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteWithQueryParams_Args) UnmarshalJSON

func (v *Bar_DeleteWithQueryParams_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_DeleteWithQueryParams_Result

type Bar_DeleteWithQueryParams_Result struct {
}

Bar_DeleteWithQueryParams_Result represents the result of a Bar.deleteWithQueryParams function call.

The result of a deleteWithQueryParams execution is sent and received over the wire as this struct.

func (*Bar_DeleteWithQueryParams_Result) EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_DeleteWithQueryParams_Result) Equals

Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Result match the provided Bar_DeleteWithQueryParams_Result.

This function performs a deep comparison.

func (*Bar_DeleteWithQueryParams_Result) FromWire

FromWire deserializes a Bar_DeleteWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_DeleteWithQueryParams_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_DeleteWithQueryParams_Result) MarshalEasyJSON

func (v Bar_DeleteWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_DeleteWithQueryParams_Result) MarshalJSON

func (v Bar_DeleteWithQueryParams_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_DeleteWithQueryParams_Result) MarshalLogObject

func (v *Bar_DeleteWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Result.

func (*Bar_DeleteWithQueryParams_Result) MethodName

func (v *Bar_DeleteWithQueryParams_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "deleteWithQueryParams" for this struct.

func (*Bar_DeleteWithQueryParams_Result) String

String returns a readable string representation of a Bar_DeleteWithQueryParams_Result struct.

func (*Bar_DeleteWithQueryParams_Result) ToWire

ToWire translates a Bar_DeleteWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON

func (v *Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_DeleteWithQueryParams_Result) UnmarshalJSON

func (v *Bar_DeleteWithQueryParams_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_HelloWorld_Args

type Bar_HelloWorld_Args struct {
}

Bar_HelloWorld_Args represents the arguments for the Bar.helloWorld function.

The arguments for helloWorld are sent and received over the wire as this struct.

func (*Bar_HelloWorld_Args) EnvelopeType

func (v *Bar_HelloWorld_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_HelloWorld_Args) Equals

Equals returns true if all the fields of this Bar_HelloWorld_Args match the provided Bar_HelloWorld_Args.

This function performs a deep comparison.

func (*Bar_HelloWorld_Args) FromWire

func (v *Bar_HelloWorld_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_HelloWorld_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_HelloWorld_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_HelloWorld_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_HelloWorld_Args) MarshalEasyJSON

func (v Bar_HelloWorld_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_HelloWorld_Args) MarshalJSON

func (v Bar_HelloWorld_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_HelloWorld_Args) MarshalLogObject

func (v *Bar_HelloWorld_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Args.

func (*Bar_HelloWorld_Args) MethodName

func (v *Bar_HelloWorld_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "helloWorld" for this struct.

func (*Bar_HelloWorld_Args) String

func (v *Bar_HelloWorld_Args) String() string

String returns a readable string representation of a Bar_HelloWorld_Args struct.

func (*Bar_HelloWorld_Args) ToWire

func (v *Bar_HelloWorld_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_HelloWorld_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_HelloWorld_Args) UnmarshalEasyJSON

func (v *Bar_HelloWorld_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_HelloWorld_Args) UnmarshalJSON

func (v *Bar_HelloWorld_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_HelloWorld_Result

type Bar_HelloWorld_Result struct {
	// Value returned by helloWorld after a successful execution.
	Success      *string       `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_HelloWorld_Result represents the result of a Bar.helloWorld function call.

The result of a helloWorld execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_HelloWorld_Result) EnvelopeType

func (v *Bar_HelloWorld_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_HelloWorld_Result) Equals

Equals returns true if all the fields of this Bar_HelloWorld_Result match the provided Bar_HelloWorld_Result.

This function performs a deep comparison.

func (*Bar_HelloWorld_Result) FromWire

func (v *Bar_HelloWorld_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_HelloWorld_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_HelloWorld_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_HelloWorld_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_HelloWorld_Result) GetBarException

func (v *Bar_HelloWorld_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_HelloWorld_Result) GetSuccess

func (v *Bar_HelloWorld_Result) GetSuccess() (o string)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_HelloWorld_Result) IsSetBarException

func (v *Bar_HelloWorld_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_HelloWorld_Result) IsSetSuccess

func (v *Bar_HelloWorld_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_HelloWorld_Result) MarshalEasyJSON

func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_HelloWorld_Result) MarshalJSON

func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_HelloWorld_Result) MarshalLogObject

func (v *Bar_HelloWorld_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Result.

func (*Bar_HelloWorld_Result) MethodName

func (v *Bar_HelloWorld_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "helloWorld" for this struct.

func (*Bar_HelloWorld_Result) String

func (v *Bar_HelloWorld_Result) String() string

String returns a readable string representation of a Bar_HelloWorld_Result struct.

func (*Bar_HelloWorld_Result) ToWire

func (v *Bar_HelloWorld_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_HelloWorld_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_HelloWorld_Result) UnmarshalEasyJSON

func (v *Bar_HelloWorld_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_HelloWorld_Result) UnmarshalJSON

func (v *Bar_HelloWorld_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ListAndEnum_Args

type Bar_ListAndEnum_Args struct {
	DemoIds  []string   `json:"demoIds,required"`
	DemoType *DemoType  `json:"demoType,omitempty"`
	Demos    []DemoType `json:"demos,omitempty"`
}

Bar_ListAndEnum_Args represents the arguments for the Bar.listAndEnum function.

The arguments for listAndEnum are sent and received over the wire as this struct.

func (*Bar_ListAndEnum_Args) EnvelopeType

func (v *Bar_ListAndEnum_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_ListAndEnum_Args) Equals

Equals returns true if all the fields of this Bar_ListAndEnum_Args match the provided Bar_ListAndEnum_Args.

This function performs a deep comparison.

func (*Bar_ListAndEnum_Args) FromWire

func (v *Bar_ListAndEnum_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_ListAndEnum_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ListAndEnum_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ListAndEnum_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ListAndEnum_Args) GetDemoIds

func (v *Bar_ListAndEnum_Args) GetDemoIds() (o []string)

GetDemoIds returns the value of DemoIds if it is set or its zero value if it is unset.

func (*Bar_ListAndEnum_Args) GetDemoType

func (v *Bar_ListAndEnum_Args) GetDemoType() (o DemoType)

GetDemoType returns the value of DemoType if it is set or its zero value if it is unset.

func (*Bar_ListAndEnum_Args) GetDemos

func (v *Bar_ListAndEnum_Args) GetDemos() (o []DemoType)

GetDemos returns the value of Demos if it is set or its zero value if it is unset.

func (*Bar_ListAndEnum_Args) IsSetDemoIds

func (v *Bar_ListAndEnum_Args) IsSetDemoIds() bool

IsSetDemoIds returns true if DemoIds is not nil.

func (*Bar_ListAndEnum_Args) IsSetDemoType

func (v *Bar_ListAndEnum_Args) IsSetDemoType() bool

IsSetDemoType returns true if DemoType is not nil.

func (*Bar_ListAndEnum_Args) IsSetDemos

func (v *Bar_ListAndEnum_Args) IsSetDemos() bool

IsSetDemos returns true if Demos is not nil.

func (Bar_ListAndEnum_Args) MarshalEasyJSON

func (v Bar_ListAndEnum_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ListAndEnum_Args) MarshalJSON

func (v Bar_ListAndEnum_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ListAndEnum_Args) MarshalLogObject

func (v *Bar_ListAndEnum_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ListAndEnum_Args.

func (*Bar_ListAndEnum_Args) MethodName

func (v *Bar_ListAndEnum_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "listAndEnum" for this struct.

func (*Bar_ListAndEnum_Args) String

func (v *Bar_ListAndEnum_Args) String() string

String returns a readable string representation of a Bar_ListAndEnum_Args struct.

func (*Bar_ListAndEnum_Args) ToWire

func (v *Bar_ListAndEnum_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_ListAndEnum_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ListAndEnum_Args) UnmarshalEasyJSON

func (v *Bar_ListAndEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ListAndEnum_Args) UnmarshalJSON

func (v *Bar_ListAndEnum_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_ListAndEnum_Result

type Bar_ListAndEnum_Result struct {
	// Value returned by listAndEnum after a successful execution.
	Success      *string       `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_ListAndEnum_Result represents the result of a Bar.listAndEnum function call.

The result of a listAndEnum execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_ListAndEnum_Result) EnvelopeType

func (v *Bar_ListAndEnum_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_ListAndEnum_Result) Equals

Equals returns true if all the fields of this Bar_ListAndEnum_Result match the provided Bar_ListAndEnum_Result.

This function performs a deep comparison.

func (*Bar_ListAndEnum_Result) FromWire

func (v *Bar_ListAndEnum_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_ListAndEnum_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_ListAndEnum_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_ListAndEnum_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_ListAndEnum_Result) GetBarException

func (v *Bar_ListAndEnum_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_ListAndEnum_Result) GetSuccess

func (v *Bar_ListAndEnum_Result) GetSuccess() (o string)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_ListAndEnum_Result) IsSetBarException

func (v *Bar_ListAndEnum_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_ListAndEnum_Result) IsSetSuccess

func (v *Bar_ListAndEnum_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_ListAndEnum_Result) MarshalEasyJSON

func (v Bar_ListAndEnum_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_ListAndEnum_Result) MarshalJSON

func (v Bar_ListAndEnum_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_ListAndEnum_Result) MarshalLogObject

func (v *Bar_ListAndEnum_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ListAndEnum_Result.

func (*Bar_ListAndEnum_Result) MethodName

func (v *Bar_ListAndEnum_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "listAndEnum" for this struct.

func (*Bar_ListAndEnum_Result) String

func (v *Bar_ListAndEnum_Result) String() string

String returns a readable string representation of a Bar_ListAndEnum_Result struct.

func (*Bar_ListAndEnum_Result) ToWire

func (v *Bar_ListAndEnum_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_ListAndEnum_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_ListAndEnum_Result) UnmarshalEasyJSON

func (v *Bar_ListAndEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_ListAndEnum_Result) UnmarshalJSON

func (v *Bar_ListAndEnum_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_MissingArg_Args

type Bar_MissingArg_Args struct {
}

Bar_MissingArg_Args represents the arguments for the Bar.missingArg function.

The arguments for missingArg are sent and received over the wire as this struct.

func (*Bar_MissingArg_Args) EnvelopeType

func (v *Bar_MissingArg_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_MissingArg_Args) Equals

Equals returns true if all the fields of this Bar_MissingArg_Args match the provided Bar_MissingArg_Args.

This function performs a deep comparison.

func (*Bar_MissingArg_Args) FromWire

func (v *Bar_MissingArg_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_MissingArg_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_MissingArg_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_MissingArg_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_MissingArg_Args) MarshalEasyJSON

func (v Bar_MissingArg_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_MissingArg_Args) MarshalJSON

func (v Bar_MissingArg_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_MissingArg_Args) MarshalLogObject

func (v *Bar_MissingArg_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_MissingArg_Args.

func (*Bar_MissingArg_Args) MethodName

func (v *Bar_MissingArg_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "missingArg" for this struct.

func (*Bar_MissingArg_Args) String

func (v *Bar_MissingArg_Args) String() string

String returns a readable string representation of a Bar_MissingArg_Args struct.

func (*Bar_MissingArg_Args) ToWire

func (v *Bar_MissingArg_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_MissingArg_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_MissingArg_Args) UnmarshalEasyJSON

func (v *Bar_MissingArg_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_MissingArg_Args) UnmarshalJSON

func (v *Bar_MissingArg_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_MissingArg_Result

type Bar_MissingArg_Result struct {
	// Value returned by missingArg after a successful execution.
	Success      *BarResponse  `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_MissingArg_Result represents the result of a Bar.missingArg function call.

The result of a missingArg execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_MissingArg_Result) EnvelopeType

func (v *Bar_MissingArg_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_MissingArg_Result) Equals

Equals returns true if all the fields of this Bar_MissingArg_Result match the provided Bar_MissingArg_Result.

This function performs a deep comparison.

func (*Bar_MissingArg_Result) FromWire

func (v *Bar_MissingArg_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_MissingArg_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_MissingArg_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_MissingArg_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_MissingArg_Result) GetBarException

func (v *Bar_MissingArg_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_MissingArg_Result) GetSuccess

func (v *Bar_MissingArg_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_MissingArg_Result) IsSetBarException

func (v *Bar_MissingArg_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_MissingArg_Result) IsSetSuccess

func (v *Bar_MissingArg_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_MissingArg_Result) MarshalEasyJSON

func (v Bar_MissingArg_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_MissingArg_Result) MarshalJSON

func (v Bar_MissingArg_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_MissingArg_Result) MarshalLogObject

func (v *Bar_MissingArg_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_MissingArg_Result.

func (*Bar_MissingArg_Result) MethodName

func (v *Bar_MissingArg_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "missingArg" for this struct.

func (*Bar_MissingArg_Result) String

func (v *Bar_MissingArg_Result) String() string

String returns a readable string representation of a Bar_MissingArg_Result struct.

func (*Bar_MissingArg_Result) ToWire

func (v *Bar_MissingArg_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_MissingArg_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_MissingArg_Result) UnmarshalEasyJSON

func (v *Bar_MissingArg_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_MissingArg_Result) UnmarshalJSON

func (v *Bar_MissingArg_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_NoRequest_Args

type Bar_NoRequest_Args struct {
}

Bar_NoRequest_Args represents the arguments for the Bar.noRequest function.

The arguments for noRequest are sent and received over the wire as this struct.

func (*Bar_NoRequest_Args) EnvelopeType

func (v *Bar_NoRequest_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_NoRequest_Args) Equals

func (v *Bar_NoRequest_Args) Equals(rhs *Bar_NoRequest_Args) bool

Equals returns true if all the fields of this Bar_NoRequest_Args match the provided Bar_NoRequest_Args.

This function performs a deep comparison.

func (*Bar_NoRequest_Args) FromWire

func (v *Bar_NoRequest_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_NoRequest_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_NoRequest_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_NoRequest_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (Bar_NoRequest_Args) MarshalEasyJSON

func (v Bar_NoRequest_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_NoRequest_Args) MarshalJSON

func (v Bar_NoRequest_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_NoRequest_Args) MarshalLogObject

func (v *Bar_NoRequest_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NoRequest_Args.

func (*Bar_NoRequest_Args) MethodName

func (v *Bar_NoRequest_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "noRequest" for this struct.

func (*Bar_NoRequest_Args) String

func (v *Bar_NoRequest_Args) String() string

String returns a readable string representation of a Bar_NoRequest_Args struct.

func (*Bar_NoRequest_Args) ToWire

func (v *Bar_NoRequest_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_NoRequest_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_NoRequest_Args) UnmarshalEasyJSON

func (v *Bar_NoRequest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_NoRequest_Args) UnmarshalJSON

func (v *Bar_NoRequest_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_NoRequest_Result

type Bar_NoRequest_Result struct {
	// Value returned by noRequest after a successful execution.
	Success      *BarResponse  `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_NoRequest_Result represents the result of a Bar.noRequest function call.

The result of a noRequest execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_NoRequest_Result) EnvelopeType

func (v *Bar_NoRequest_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_NoRequest_Result) Equals

Equals returns true if all the fields of this Bar_NoRequest_Result match the provided Bar_NoRequest_Result.

This function performs a deep comparison.

func (*Bar_NoRequest_Result) FromWire

func (v *Bar_NoRequest_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_NoRequest_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_NoRequest_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_NoRequest_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_NoRequest_Result) GetBarException

func (v *Bar_NoRequest_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_NoRequest_Result) GetSuccess

func (v *Bar_NoRequest_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_NoRequest_Result) IsSetBarException

func (v *Bar_NoRequest_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_NoRequest_Result) IsSetSuccess

func (v *Bar_NoRequest_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_NoRequest_Result) MarshalEasyJSON

func (v Bar_NoRequest_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_NoRequest_Result) MarshalJSON

func (v Bar_NoRequest_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_NoRequest_Result) MarshalLogObject

func (v *Bar_NoRequest_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NoRequest_Result.

func (*Bar_NoRequest_Result) MethodName

func (v *Bar_NoRequest_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "noRequest" for this struct.

func (*Bar_NoRequest_Result) String

func (v *Bar_NoRequest_Result) String() string

String returns a readable string representation of a Bar_NoRequest_Result struct.

func (*Bar_NoRequest_Result) ToWire

func (v *Bar_NoRequest_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_NoRequest_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_NoRequest_Result) UnmarshalEasyJSON

func (v *Bar_NoRequest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_NoRequest_Result) UnmarshalJSON

func (v *Bar_NoRequest_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_NormalRecur_Args

type Bar_NormalRecur_Args struct {
	Request *BarRequestRecur `json:"request,required"`
}

Bar_NormalRecur_Args represents the arguments for the Bar.normalRecur function.

The arguments for normalRecur are sent and received over the wire as this struct.

func (*Bar_NormalRecur_Args) EnvelopeType

func (v *Bar_NormalRecur_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_NormalRecur_Args) Equals

Equals returns true if all the fields of this Bar_NormalRecur_Args match the provided Bar_NormalRecur_Args.

This function performs a deep comparison.

func (*Bar_NormalRecur_Args) FromWire

func (v *Bar_NormalRecur_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_NormalRecur_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_NormalRecur_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_NormalRecur_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_NormalRecur_Args) GetRequest

func (v *Bar_NormalRecur_Args) GetRequest() (o *BarRequestRecur)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_NormalRecur_Args) IsSetRequest

func (v *Bar_NormalRecur_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_NormalRecur_Args) MarshalEasyJSON

func (v Bar_NormalRecur_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_NormalRecur_Args) MarshalJSON

func (v Bar_NormalRecur_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_NormalRecur_Args) MarshalLogObject

func (v *Bar_NormalRecur_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NormalRecur_Args.

func (*Bar_NormalRecur_Args) MethodName

func (v *Bar_NormalRecur_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "normalRecur" for this struct.

func (*Bar_NormalRecur_Args) String

func (v *Bar_NormalRecur_Args) String() string

String returns a readable string representation of a Bar_NormalRecur_Args struct.

func (*Bar_NormalRecur_Args) ToWire

func (v *Bar_NormalRecur_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_NormalRecur_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_NormalRecur_Args) UnmarshalEasyJSON

func (v *Bar_NormalRecur_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_NormalRecur_Args) UnmarshalJSON

func (v *Bar_NormalRecur_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_NormalRecur_Result

type Bar_NormalRecur_Result struct {
	// Value returned by normalRecur after a successful execution.
	Success      *BarResponseRecur `json:"success,omitempty"`
	BarException *BarException     `json:"barException,omitempty"`
}

Bar_NormalRecur_Result represents the result of a Bar.normalRecur function call.

The result of a normalRecur execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_NormalRecur_Result) EnvelopeType

func (v *Bar_NormalRecur_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_NormalRecur_Result) Equals

Equals returns true if all the fields of this Bar_NormalRecur_Result match the provided Bar_NormalRecur_Result.

This function performs a deep comparison.

func (*Bar_NormalRecur_Result) FromWire

func (v *Bar_NormalRecur_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_NormalRecur_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_NormalRecur_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_NormalRecur_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_NormalRecur_Result) GetBarException

func (v *Bar_NormalRecur_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_NormalRecur_Result) GetSuccess

func (v *Bar_NormalRecur_Result) GetSuccess() (o *BarResponseRecur)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_NormalRecur_Result) IsSetBarException

func (v *Bar_NormalRecur_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_NormalRecur_Result) IsSetSuccess

func (v *Bar_NormalRecur_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_NormalRecur_Result) MarshalEasyJSON

func (v Bar_NormalRecur_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_NormalRecur_Result) MarshalJSON

func (v Bar_NormalRecur_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_NormalRecur_Result) MarshalLogObject

func (v *Bar_NormalRecur_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NormalRecur_Result.

func (*Bar_NormalRecur_Result) MethodName

func (v *Bar_NormalRecur_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "normalRecur" for this struct.

func (*Bar_NormalRecur_Result) String

func (v *Bar_NormalRecur_Result) String() string

String returns a readable string representation of a Bar_NormalRecur_Result struct.

func (*Bar_NormalRecur_Result) ToWire

func (v *Bar_NormalRecur_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_NormalRecur_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_NormalRecur_Result) UnmarshalEasyJSON

func (v *Bar_NormalRecur_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_NormalRecur_Result) UnmarshalJSON

func (v *Bar_NormalRecur_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_Normal_Args

type Bar_Normal_Args struct {
	Request *BarRequest `json:"request,required"`
}

Bar_Normal_Args represents the arguments for the Bar.normal function.

The arguments for normal are sent and received over the wire as this struct.

func (*Bar_Normal_Args) EnvelopeType

func (v *Bar_Normal_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_Normal_Args) Equals

func (v *Bar_Normal_Args) Equals(rhs *Bar_Normal_Args) bool

Equals returns true if all the fields of this Bar_Normal_Args match the provided Bar_Normal_Args.

This function performs a deep comparison.

func (*Bar_Normal_Args) FromWire

func (v *Bar_Normal_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_Normal_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_Normal_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_Normal_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_Normal_Args) GetRequest

func (v *Bar_Normal_Args) GetRequest() (o *BarRequest)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_Normal_Args) IsSetRequest

func (v *Bar_Normal_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_Normal_Args) MarshalEasyJSON

func (v Bar_Normal_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_Normal_Args) MarshalJSON

func (v Bar_Normal_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_Normal_Args) MarshalLogObject

func (v *Bar_Normal_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_Normal_Args.

func (*Bar_Normal_Args) MethodName

func (v *Bar_Normal_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "normal" for this struct.

func (*Bar_Normal_Args) String

func (v *Bar_Normal_Args) String() string

String returns a readable string representation of a Bar_Normal_Args struct.

func (*Bar_Normal_Args) ToWire

func (v *Bar_Normal_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_Normal_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_Normal_Args) UnmarshalEasyJSON

func (v *Bar_Normal_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_Normal_Args) UnmarshalJSON

func (v *Bar_Normal_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_Normal_Result

type Bar_Normal_Result struct {
	// Value returned by normal after a successful execution.
	Success      *BarResponse  `json:"success,omitempty"`
	BarException *BarException `json:"barException,omitempty"`
}

Bar_Normal_Result represents the result of a Bar.normal function call.

The result of a normal execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_Normal_Result) EnvelopeType

func (v *Bar_Normal_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_Normal_Result) Equals

func (v *Bar_Normal_Result) Equals(rhs *Bar_Normal_Result) bool

Equals returns true if all the fields of this Bar_Normal_Result match the provided Bar_Normal_Result.

This function performs a deep comparison.

func (*Bar_Normal_Result) FromWire

func (v *Bar_Normal_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_Normal_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_Normal_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_Normal_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_Normal_Result) GetBarException

func (v *Bar_Normal_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_Normal_Result) GetSuccess

func (v *Bar_Normal_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_Normal_Result) IsSetBarException

func (v *Bar_Normal_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_Normal_Result) IsSetSuccess

func (v *Bar_Normal_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_Normal_Result) MarshalEasyJSON

func (v Bar_Normal_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_Normal_Result) MarshalJSON

func (v Bar_Normal_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_Normal_Result) MarshalLogObject

func (v *Bar_Normal_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_Normal_Result.

func (*Bar_Normal_Result) MethodName

func (v *Bar_Normal_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "normal" for this struct.

func (*Bar_Normal_Result) String

func (v *Bar_Normal_Result) String() string

String returns a readable string representation of a Bar_Normal_Result struct.

func (*Bar_Normal_Result) ToWire

func (v *Bar_Normal_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_Normal_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_Normal_Result) UnmarshalEasyJSON

func (v *Bar_Normal_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_Normal_Result) UnmarshalJSON

func (v *Bar_Normal_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_TooManyArgs_Args

type Bar_TooManyArgs_Args struct {
	Request *BarRequest    `json:"request,required"`
	Foo     *foo.FooStruct `json:"foo,omitempty"`
}

Bar_TooManyArgs_Args represents the arguments for the Bar.tooManyArgs function.

The arguments for tooManyArgs are sent and received over the wire as this struct.

func (*Bar_TooManyArgs_Args) EnvelopeType

func (v *Bar_TooManyArgs_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Bar_TooManyArgs_Args) Equals

Equals returns true if all the fields of this Bar_TooManyArgs_Args match the provided Bar_TooManyArgs_Args.

This function performs a deep comparison.

func (*Bar_TooManyArgs_Args) FromWire

func (v *Bar_TooManyArgs_Args) FromWire(w wire.Value) error

FromWire deserializes a Bar_TooManyArgs_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_TooManyArgs_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_TooManyArgs_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_TooManyArgs_Args) GetFoo

func (v *Bar_TooManyArgs_Args) GetFoo() (o *foo.FooStruct)

GetFoo returns the value of Foo if it is set or its zero value if it is unset.

func (*Bar_TooManyArgs_Args) GetRequest

func (v *Bar_TooManyArgs_Args) GetRequest() (o *BarRequest)

GetRequest returns the value of Request if it is set or its zero value if it is unset.

func (*Bar_TooManyArgs_Args) IsSetFoo

func (v *Bar_TooManyArgs_Args) IsSetFoo() bool

IsSetFoo returns true if Foo is not nil.

func (*Bar_TooManyArgs_Args) IsSetRequest

func (v *Bar_TooManyArgs_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (Bar_TooManyArgs_Args) MarshalEasyJSON

func (v Bar_TooManyArgs_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_TooManyArgs_Args) MarshalJSON

func (v Bar_TooManyArgs_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_TooManyArgs_Args) MarshalLogObject

func (v *Bar_TooManyArgs_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_TooManyArgs_Args.

func (*Bar_TooManyArgs_Args) MethodName

func (v *Bar_TooManyArgs_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "tooManyArgs" for this struct.

func (*Bar_TooManyArgs_Args) String

func (v *Bar_TooManyArgs_Args) String() string

String returns a readable string representation of a Bar_TooManyArgs_Args struct.

func (*Bar_TooManyArgs_Args) ToWire

func (v *Bar_TooManyArgs_Args) ToWire() (wire.Value, error)

ToWire translates a Bar_TooManyArgs_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_TooManyArgs_Args) UnmarshalEasyJSON

func (v *Bar_TooManyArgs_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_TooManyArgs_Args) UnmarshalJSON

func (v *Bar_TooManyArgs_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Bar_TooManyArgs_Result

type Bar_TooManyArgs_Result struct {
	// Value returned by tooManyArgs after a successful execution.
	Success      *BarResponse      `json:"success,omitempty"`
	BarException *BarException     `json:"barException,omitempty"`
	FooException *foo.FooException `json:"fooException,omitempty"`
}

Bar_TooManyArgs_Result represents the result of a Bar.tooManyArgs function call.

The result of a tooManyArgs execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Bar_TooManyArgs_Result) EnvelopeType

func (v *Bar_TooManyArgs_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Bar_TooManyArgs_Result) Equals

Equals returns true if all the fields of this Bar_TooManyArgs_Result match the provided Bar_TooManyArgs_Result.

This function performs a deep comparison.

func (*Bar_TooManyArgs_Result) FromWire

func (v *Bar_TooManyArgs_Result) FromWire(w wire.Value) error

FromWire deserializes a Bar_TooManyArgs_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Bar_TooManyArgs_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Bar_TooManyArgs_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Bar_TooManyArgs_Result) GetBarException

func (v *Bar_TooManyArgs_Result) GetBarException() (o *BarException)

GetBarException returns the value of BarException if it is set or its zero value if it is unset.

func (*Bar_TooManyArgs_Result) GetFooException

func (v *Bar_TooManyArgs_Result) GetFooException() (o *foo.FooException)

GetFooException returns the value of FooException if it is set or its zero value if it is unset.

func (*Bar_TooManyArgs_Result) GetSuccess

func (v *Bar_TooManyArgs_Result) GetSuccess() (o *BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Bar_TooManyArgs_Result) IsSetBarException

func (v *Bar_TooManyArgs_Result) IsSetBarException() bool

IsSetBarException returns true if BarException is not nil.

func (*Bar_TooManyArgs_Result) IsSetFooException

func (v *Bar_TooManyArgs_Result) IsSetFooException() bool

IsSetFooException returns true if FooException is not nil.

func (*Bar_TooManyArgs_Result) IsSetSuccess

func (v *Bar_TooManyArgs_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Bar_TooManyArgs_Result) MarshalEasyJSON

func (v Bar_TooManyArgs_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Bar_TooManyArgs_Result) MarshalJSON

func (v Bar_TooManyArgs_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Bar_TooManyArgs_Result) MarshalLogObject

func (v *Bar_TooManyArgs_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_TooManyArgs_Result.

func (*Bar_TooManyArgs_Result) MethodName

func (v *Bar_TooManyArgs_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "tooManyArgs" for this struct.

func (*Bar_TooManyArgs_Result) String

func (v *Bar_TooManyArgs_Result) String() string

String returns a readable string representation of a Bar_TooManyArgs_Result struct.

func (*Bar_TooManyArgs_Result) ToWire

func (v *Bar_TooManyArgs_Result) ToWire() (wire.Value, error)

ToWire translates a Bar_TooManyArgs_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Bar_TooManyArgs_Result) UnmarshalEasyJSON

func (v *Bar_TooManyArgs_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Bar_TooManyArgs_Result) UnmarshalJSON

func (v *Bar_TooManyArgs_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DemoType

type DemoType int32
const (
	DemoTypeFirst  DemoType = 0
	DemoTypeSecond DemoType = 1
)

func DemoType_Values

func DemoType_Values() []DemoType

DemoType_Values returns all recognized values of DemoType.

func (DemoType) Equals

func (v DemoType) Equals(rhs DemoType) bool

Equals returns true if this DemoType value matches the provided value.

func (*DemoType) FromWire

func (v *DemoType) FromWire(w wire.Value) error

FromWire deserializes DemoType from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return DemoType(0), err
}

var v DemoType
if err := v.FromWire(x); err != nil {
  return DemoType(0), err
}
return v, nil

func (DemoType) MarshalJSON

func (v DemoType) MarshalJSON() ([]byte, error)

MarshalJSON serializes DemoType into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (DemoType) MarshalLogObject

func (v DemoType) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DemoType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (DemoType) MarshalText

func (v DemoType) MarshalText() ([]byte, error)

MarshalText encodes DemoType to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (DemoType) Ptr

func (v DemoType) Ptr() *DemoType

Ptr returns a pointer to this enum value.

func (DemoType) String

func (v DemoType) String() string

String returns a readable string representation of DemoType.

func (DemoType) ToWire

func (v DemoType) ToWire() (wire.Value, error)

ToWire translates DemoType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*DemoType) UnmarshalJSON

func (v *DemoType) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode DemoType from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*DemoType) UnmarshalText

func (v *DemoType) UnmarshalText(value []byte) error

UnmarshalText tries to decode DemoType from a byte slice containing its name.

var v DemoType
err := v.UnmarshalText([]byte("FIRST"))

type Echo_EchoBinary_Args

type Echo_EchoBinary_Args struct {
	Arg []byte `json:"arg,required"`
}

Echo_EchoBinary_Args represents the arguments for the Echo.echoBinary function.

The arguments for echoBinary are sent and received over the wire as this struct.

func (*Echo_EchoBinary_Args) EnvelopeType

func (v *Echo_EchoBinary_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoBinary_Args) Equals

Equals returns true if all the fields of this Echo_EchoBinary_Args match the provided Echo_EchoBinary_Args.

This function performs a deep comparison.

func (*Echo_EchoBinary_Args) FromWire

func (v *Echo_EchoBinary_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoBinary_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoBinary_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoBinary_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoBinary_Args) GetArg

func (v *Echo_EchoBinary_Args) GetArg() (o []byte)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoBinary_Args) IsSetArg

func (v *Echo_EchoBinary_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoBinary_Args) MarshalEasyJSON

func (v Echo_EchoBinary_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoBinary_Args) MarshalJSON

func (v Echo_EchoBinary_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoBinary_Args) MarshalLogObject

func (v *Echo_EchoBinary_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoBinary_Args.

func (*Echo_EchoBinary_Args) MethodName

func (v *Echo_EchoBinary_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoBinary" for this struct.

func (*Echo_EchoBinary_Args) String

func (v *Echo_EchoBinary_Args) String() string

String returns a readable string representation of a Echo_EchoBinary_Args struct.

func (*Echo_EchoBinary_Args) ToWire

func (v *Echo_EchoBinary_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoBinary_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoBinary_Args) UnmarshalEasyJSON

func (v *Echo_EchoBinary_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoBinary_Args) UnmarshalJSON

func (v *Echo_EchoBinary_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoBinary_Result

type Echo_EchoBinary_Result struct {
	// Value returned by echoBinary after a successful execution.
	Success []byte `json:"success,omitempty"`
}

Echo_EchoBinary_Result represents the result of a Echo.echoBinary function call.

The result of a echoBinary execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoBinary_Result) EnvelopeType

func (v *Echo_EchoBinary_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoBinary_Result) Equals

Equals returns true if all the fields of this Echo_EchoBinary_Result match the provided Echo_EchoBinary_Result.

This function performs a deep comparison.

func (*Echo_EchoBinary_Result) FromWire

func (v *Echo_EchoBinary_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoBinary_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoBinary_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoBinary_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoBinary_Result) GetSuccess

func (v *Echo_EchoBinary_Result) GetSuccess() (o []byte)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoBinary_Result) IsSetSuccess

func (v *Echo_EchoBinary_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoBinary_Result) MarshalEasyJSON

func (v Echo_EchoBinary_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoBinary_Result) MarshalJSON

func (v Echo_EchoBinary_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoBinary_Result) MarshalLogObject

func (v *Echo_EchoBinary_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoBinary_Result.

func (*Echo_EchoBinary_Result) MethodName

func (v *Echo_EchoBinary_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoBinary" for this struct.

func (*Echo_EchoBinary_Result) String

func (v *Echo_EchoBinary_Result) String() string

String returns a readable string representation of a Echo_EchoBinary_Result struct.

func (*Echo_EchoBinary_Result) ToWire

func (v *Echo_EchoBinary_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoBinary_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoBinary_Result) UnmarshalEasyJSON

func (v *Echo_EchoBinary_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoBinary_Result) UnmarshalJSON

func (v *Echo_EchoBinary_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoBool_Args

type Echo_EchoBool_Args struct {
	Arg bool `json:"arg,required"`
}

Echo_EchoBool_Args represents the arguments for the Echo.echoBool function.

The arguments for echoBool are sent and received over the wire as this struct.

func (*Echo_EchoBool_Args) EnvelopeType

func (v *Echo_EchoBool_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoBool_Args) Equals

func (v *Echo_EchoBool_Args) Equals(rhs *Echo_EchoBool_Args) bool

Equals returns true if all the fields of this Echo_EchoBool_Args match the provided Echo_EchoBool_Args.

This function performs a deep comparison.

func (*Echo_EchoBool_Args) FromWire

func (v *Echo_EchoBool_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoBool_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoBool_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoBool_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoBool_Args) GetArg

func (v *Echo_EchoBool_Args) GetArg() (o bool)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoBool_Args) MarshalEasyJSON

func (v Echo_EchoBool_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoBool_Args) MarshalJSON

func (v Echo_EchoBool_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoBool_Args) MarshalLogObject

func (v *Echo_EchoBool_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoBool_Args.

func (*Echo_EchoBool_Args) MethodName

func (v *Echo_EchoBool_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoBool" for this struct.

func (*Echo_EchoBool_Args) String

func (v *Echo_EchoBool_Args) String() string

String returns a readable string representation of a Echo_EchoBool_Args struct.

func (*Echo_EchoBool_Args) ToWire

func (v *Echo_EchoBool_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoBool_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoBool_Args) UnmarshalEasyJSON

func (v *Echo_EchoBool_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoBool_Args) UnmarshalJSON

func (v *Echo_EchoBool_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoBool_Result

type Echo_EchoBool_Result struct {
	// Value returned by echoBool after a successful execution.
	Success *bool `json:"success,omitempty"`
}

Echo_EchoBool_Result represents the result of a Echo.echoBool function call.

The result of a echoBool execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoBool_Result) EnvelopeType

func (v *Echo_EchoBool_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoBool_Result) Equals

Equals returns true if all the fields of this Echo_EchoBool_Result match the provided Echo_EchoBool_Result.

This function performs a deep comparison.

func (*Echo_EchoBool_Result) FromWire

func (v *Echo_EchoBool_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoBool_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoBool_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoBool_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoBool_Result) GetSuccess

func (v *Echo_EchoBool_Result) GetSuccess() (o bool)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoBool_Result) IsSetSuccess

func (v *Echo_EchoBool_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoBool_Result) MarshalEasyJSON

func (v Echo_EchoBool_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoBool_Result) MarshalJSON

func (v Echo_EchoBool_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoBool_Result) MarshalLogObject

func (v *Echo_EchoBool_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoBool_Result.

func (*Echo_EchoBool_Result) MethodName

func (v *Echo_EchoBool_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoBool" for this struct.

func (*Echo_EchoBool_Result) String

func (v *Echo_EchoBool_Result) String() string

String returns a readable string representation of a Echo_EchoBool_Result struct.

func (*Echo_EchoBool_Result) ToWire

func (v *Echo_EchoBool_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoBool_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoBool_Result) UnmarshalEasyJSON

func (v *Echo_EchoBool_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoBool_Result) UnmarshalJSON

func (v *Echo_EchoBool_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoDouble_Args

type Echo_EchoDouble_Args struct {
	Arg float64 `json:"arg,required"`
}

Echo_EchoDouble_Args represents the arguments for the Echo.echoDouble function.

The arguments for echoDouble are sent and received over the wire as this struct.

func (*Echo_EchoDouble_Args) EnvelopeType

func (v *Echo_EchoDouble_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoDouble_Args) Equals

Equals returns true if all the fields of this Echo_EchoDouble_Args match the provided Echo_EchoDouble_Args.

This function performs a deep comparison.

func (*Echo_EchoDouble_Args) FromWire

func (v *Echo_EchoDouble_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoDouble_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoDouble_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoDouble_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoDouble_Args) GetArg

func (v *Echo_EchoDouble_Args) GetArg() (o float64)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoDouble_Args) MarshalEasyJSON

func (v Echo_EchoDouble_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoDouble_Args) MarshalJSON

func (v Echo_EchoDouble_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoDouble_Args) MarshalLogObject

func (v *Echo_EchoDouble_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoDouble_Args.

func (*Echo_EchoDouble_Args) MethodName

func (v *Echo_EchoDouble_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoDouble" for this struct.

func (*Echo_EchoDouble_Args) String

func (v *Echo_EchoDouble_Args) String() string

String returns a readable string representation of a Echo_EchoDouble_Args struct.

func (*Echo_EchoDouble_Args) ToWire

func (v *Echo_EchoDouble_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoDouble_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoDouble_Args) UnmarshalEasyJSON

func (v *Echo_EchoDouble_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoDouble_Args) UnmarshalJSON

func (v *Echo_EchoDouble_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoDouble_Result

type Echo_EchoDouble_Result struct {
	// Value returned by echoDouble after a successful execution.
	Success *float64 `json:"success,omitempty"`
}

Echo_EchoDouble_Result represents the result of a Echo.echoDouble function call.

The result of a echoDouble execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoDouble_Result) EnvelopeType

func (v *Echo_EchoDouble_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoDouble_Result) Equals

Equals returns true if all the fields of this Echo_EchoDouble_Result match the provided Echo_EchoDouble_Result.

This function performs a deep comparison.

func (*Echo_EchoDouble_Result) FromWire

func (v *Echo_EchoDouble_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoDouble_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoDouble_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoDouble_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoDouble_Result) GetSuccess

func (v *Echo_EchoDouble_Result) GetSuccess() (o float64)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoDouble_Result) IsSetSuccess

func (v *Echo_EchoDouble_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoDouble_Result) MarshalEasyJSON

func (v Echo_EchoDouble_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoDouble_Result) MarshalJSON

func (v Echo_EchoDouble_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoDouble_Result) MarshalLogObject

func (v *Echo_EchoDouble_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoDouble_Result.

func (*Echo_EchoDouble_Result) MethodName

func (v *Echo_EchoDouble_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoDouble" for this struct.

func (*Echo_EchoDouble_Result) String

func (v *Echo_EchoDouble_Result) String() string

String returns a readable string representation of a Echo_EchoDouble_Result struct.

func (*Echo_EchoDouble_Result) ToWire

func (v *Echo_EchoDouble_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoDouble_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoDouble_Result) UnmarshalEasyJSON

func (v *Echo_EchoDouble_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoDouble_Result) UnmarshalJSON

func (v *Echo_EchoDouble_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoEnum_Args

type Echo_EchoEnum_Args struct {
	Arg *Fruit `json:"arg,omitempty"`
}

Echo_EchoEnum_Args represents the arguments for the Echo.echoEnum function.

The arguments for echoEnum are sent and received over the wire as this struct.

func Default_Echo_EchoEnum_Args added in v1.0.0

func Default_Echo_EchoEnum_Args() *Echo_EchoEnum_Args

Default_Echo_EchoEnum_Args constructs a new Echo_EchoEnum_Args struct, pre-populating any fields with defined default values.

func (*Echo_EchoEnum_Args) EnvelopeType

func (v *Echo_EchoEnum_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoEnum_Args) Equals

func (v *Echo_EchoEnum_Args) Equals(rhs *Echo_EchoEnum_Args) bool

Equals returns true if all the fields of this Echo_EchoEnum_Args match the provided Echo_EchoEnum_Args.

This function performs a deep comparison.

func (*Echo_EchoEnum_Args) FromWire

func (v *Echo_EchoEnum_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoEnum_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoEnum_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoEnum_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoEnum_Args) GetArg

func (v *Echo_EchoEnum_Args) GetArg() (o Fruit)

GetArg returns the value of Arg if it is set or its default value if it is unset.

func (*Echo_EchoEnum_Args) IsSetArg

func (v *Echo_EchoEnum_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoEnum_Args) MarshalEasyJSON

func (v Echo_EchoEnum_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoEnum_Args) MarshalJSON

func (v Echo_EchoEnum_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoEnum_Args) MarshalLogObject

func (v *Echo_EchoEnum_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoEnum_Args.

func (*Echo_EchoEnum_Args) MethodName

func (v *Echo_EchoEnum_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoEnum" for this struct.

func (*Echo_EchoEnum_Args) String

func (v *Echo_EchoEnum_Args) String() string

String returns a readable string representation of a Echo_EchoEnum_Args struct.

func (*Echo_EchoEnum_Args) ToWire

func (v *Echo_EchoEnum_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoEnum_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoEnum_Args) UnmarshalEasyJSON

func (v *Echo_EchoEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoEnum_Args) UnmarshalJSON

func (v *Echo_EchoEnum_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoEnum_Result

type Echo_EchoEnum_Result struct {
	// Value returned by echoEnum after a successful execution.
	Success *Fruit `json:"success,omitempty"`
}

Echo_EchoEnum_Result represents the result of a Echo.echoEnum function call.

The result of a echoEnum execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoEnum_Result) EnvelopeType

func (v *Echo_EchoEnum_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoEnum_Result) Equals

Equals returns true if all the fields of this Echo_EchoEnum_Result match the provided Echo_EchoEnum_Result.

This function performs a deep comparison.

func (*Echo_EchoEnum_Result) FromWire

func (v *Echo_EchoEnum_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoEnum_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoEnum_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoEnum_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoEnum_Result) GetSuccess

func (v *Echo_EchoEnum_Result) GetSuccess() (o Fruit)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoEnum_Result) IsSetSuccess

func (v *Echo_EchoEnum_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoEnum_Result) MarshalEasyJSON

func (v Echo_EchoEnum_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoEnum_Result) MarshalJSON

func (v Echo_EchoEnum_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoEnum_Result) MarshalLogObject

func (v *Echo_EchoEnum_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoEnum_Result.

func (*Echo_EchoEnum_Result) MethodName

func (v *Echo_EchoEnum_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoEnum" for this struct.

func (*Echo_EchoEnum_Result) String

func (v *Echo_EchoEnum_Result) String() string

String returns a readable string representation of a Echo_EchoEnum_Result struct.

func (*Echo_EchoEnum_Result) ToWire

func (v *Echo_EchoEnum_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoEnum_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoEnum_Result) UnmarshalEasyJSON

func (v *Echo_EchoEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoEnum_Result) UnmarshalJSON

func (v *Echo_EchoEnum_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI16_Args

type Echo_EchoI16_Args struct {
	Arg int16 `json:"arg,required"`
}

Echo_EchoI16_Args represents the arguments for the Echo.echoI16 function.

The arguments for echoI16 are sent and received over the wire as this struct.

func (*Echo_EchoI16_Args) EnvelopeType

func (v *Echo_EchoI16_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoI16_Args) Equals

func (v *Echo_EchoI16_Args) Equals(rhs *Echo_EchoI16_Args) bool

Equals returns true if all the fields of this Echo_EchoI16_Args match the provided Echo_EchoI16_Args.

This function performs a deep comparison.

func (*Echo_EchoI16_Args) FromWire

func (v *Echo_EchoI16_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI16_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI16_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI16_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI16_Args) GetArg

func (v *Echo_EchoI16_Args) GetArg() (o int16)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoI16_Args) MarshalEasyJSON

func (v Echo_EchoI16_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI16_Args) MarshalJSON

func (v Echo_EchoI16_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI16_Args) MarshalLogObject

func (v *Echo_EchoI16_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI16_Args.

func (*Echo_EchoI16_Args) MethodName

func (v *Echo_EchoI16_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoI16" for this struct.

func (*Echo_EchoI16_Args) String

func (v *Echo_EchoI16_Args) String() string

String returns a readable string representation of a Echo_EchoI16_Args struct.

func (*Echo_EchoI16_Args) ToWire

func (v *Echo_EchoI16_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI16_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI16_Args) UnmarshalEasyJSON

func (v *Echo_EchoI16_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI16_Args) UnmarshalJSON

func (v *Echo_EchoI16_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI16_Result

type Echo_EchoI16_Result struct {
	// Value returned by echoI16 after a successful execution.
	Success *int16 `json:"success,omitempty"`
}

Echo_EchoI16_Result represents the result of a Echo.echoI16 function call.

The result of a echoI16 execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoI16_Result) EnvelopeType

func (v *Echo_EchoI16_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoI16_Result) Equals

Equals returns true if all the fields of this Echo_EchoI16_Result match the provided Echo_EchoI16_Result.

This function performs a deep comparison.

func (*Echo_EchoI16_Result) FromWire

func (v *Echo_EchoI16_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI16_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI16_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI16_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI16_Result) GetSuccess

func (v *Echo_EchoI16_Result) GetSuccess() (o int16)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoI16_Result) IsSetSuccess

func (v *Echo_EchoI16_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoI16_Result) MarshalEasyJSON

func (v Echo_EchoI16_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI16_Result) MarshalJSON

func (v Echo_EchoI16_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI16_Result) MarshalLogObject

func (v *Echo_EchoI16_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI16_Result.

func (*Echo_EchoI16_Result) MethodName

func (v *Echo_EchoI16_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoI16" for this struct.

func (*Echo_EchoI16_Result) String

func (v *Echo_EchoI16_Result) String() string

String returns a readable string representation of a Echo_EchoI16_Result struct.

func (*Echo_EchoI16_Result) ToWire

func (v *Echo_EchoI16_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI16_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI16_Result) UnmarshalEasyJSON

func (v *Echo_EchoI16_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI16_Result) UnmarshalJSON

func (v *Echo_EchoI16_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI32Map_Args

type Echo_EchoI32Map_Args struct {
	Arg map[int32]*BarResponse `json:"arg,required"`
}

Echo_EchoI32Map_Args represents the arguments for the Echo.echoI32Map function.

The arguments for echoI32Map are sent and received over the wire as this struct.

func (*Echo_EchoI32Map_Args) EnvelopeType

func (v *Echo_EchoI32Map_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoI32Map_Args) Equals

Equals returns true if all the fields of this Echo_EchoI32Map_Args match the provided Echo_EchoI32Map_Args.

This function performs a deep comparison.

func (*Echo_EchoI32Map_Args) FromWire

func (v *Echo_EchoI32Map_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI32Map_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI32Map_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI32Map_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI32Map_Args) GetArg

func (v *Echo_EchoI32Map_Args) GetArg() (o map[int32]*BarResponse)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoI32Map_Args) IsSetArg

func (v *Echo_EchoI32Map_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoI32Map_Args) MarshalEasyJSON

func (v Echo_EchoI32Map_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI32Map_Args) MarshalJSON

func (v Echo_EchoI32Map_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI32Map_Args) MarshalLogObject

func (v *Echo_EchoI32Map_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI32Map_Args.

func (*Echo_EchoI32Map_Args) MethodName

func (v *Echo_EchoI32Map_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoI32Map" for this struct.

func (*Echo_EchoI32Map_Args) String

func (v *Echo_EchoI32Map_Args) String() string

String returns a readable string representation of a Echo_EchoI32Map_Args struct.

func (*Echo_EchoI32Map_Args) ToWire

func (v *Echo_EchoI32Map_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI32Map_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI32Map_Args) UnmarshalEasyJSON

func (v *Echo_EchoI32Map_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI32Map_Args) UnmarshalJSON

func (v *Echo_EchoI32Map_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI32Map_Result

type Echo_EchoI32Map_Result struct {
	// Value returned by echoI32Map after a successful execution.
	Success map[int32]*BarResponse `json:"success,omitempty"`
}

Echo_EchoI32Map_Result represents the result of a Echo.echoI32Map function call.

The result of a echoI32Map execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoI32Map_Result) EnvelopeType

func (v *Echo_EchoI32Map_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoI32Map_Result) Equals

Equals returns true if all the fields of this Echo_EchoI32Map_Result match the provided Echo_EchoI32Map_Result.

This function performs a deep comparison.

func (*Echo_EchoI32Map_Result) FromWire

func (v *Echo_EchoI32Map_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI32Map_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI32Map_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI32Map_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI32Map_Result) GetSuccess

func (v *Echo_EchoI32Map_Result) GetSuccess() (o map[int32]*BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoI32Map_Result) IsSetSuccess

func (v *Echo_EchoI32Map_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoI32Map_Result) MarshalEasyJSON

func (v Echo_EchoI32Map_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI32Map_Result) MarshalJSON

func (v Echo_EchoI32Map_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI32Map_Result) MarshalLogObject

func (v *Echo_EchoI32Map_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI32Map_Result.

func (*Echo_EchoI32Map_Result) MethodName

func (v *Echo_EchoI32Map_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoI32Map" for this struct.

func (*Echo_EchoI32Map_Result) String

func (v *Echo_EchoI32Map_Result) String() string

String returns a readable string representation of a Echo_EchoI32Map_Result struct.

func (*Echo_EchoI32Map_Result) ToWire

func (v *Echo_EchoI32Map_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI32Map_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI32Map_Result) UnmarshalEasyJSON

func (v *Echo_EchoI32Map_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI32Map_Result) UnmarshalJSON

func (v *Echo_EchoI32Map_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI32_Args

type Echo_EchoI32_Args struct {
	Arg int32 `json:"arg,required"`
}

Echo_EchoI32_Args represents the arguments for the Echo.echoI32 function.

The arguments for echoI32 are sent and received over the wire as this struct.

func (*Echo_EchoI32_Args) EnvelopeType

func (v *Echo_EchoI32_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoI32_Args) Equals

func (v *Echo_EchoI32_Args) Equals(rhs *Echo_EchoI32_Args) bool

Equals returns true if all the fields of this Echo_EchoI32_Args match the provided Echo_EchoI32_Args.

This function performs a deep comparison.

func (*Echo_EchoI32_Args) FromWire

func (v *Echo_EchoI32_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI32_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI32_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI32_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI32_Args) GetArg

func (v *Echo_EchoI32_Args) GetArg() (o int32)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoI32_Args) MarshalEasyJSON

func (v Echo_EchoI32_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI32_Args) MarshalJSON

func (v Echo_EchoI32_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI32_Args) MarshalLogObject

func (v *Echo_EchoI32_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI32_Args.

func (*Echo_EchoI32_Args) MethodName

func (v *Echo_EchoI32_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoI32" for this struct.

func (*Echo_EchoI32_Args) String

func (v *Echo_EchoI32_Args) String() string

String returns a readable string representation of a Echo_EchoI32_Args struct.

func (*Echo_EchoI32_Args) ToWire

func (v *Echo_EchoI32_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI32_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI32_Args) UnmarshalEasyJSON

func (v *Echo_EchoI32_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI32_Args) UnmarshalJSON

func (v *Echo_EchoI32_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI32_Result

type Echo_EchoI32_Result struct {
	// Value returned by echoI32 after a successful execution.
	Success *int32 `json:"success,omitempty"`
}

Echo_EchoI32_Result represents the result of a Echo.echoI32 function call.

The result of a echoI32 execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoI32_Result) EnvelopeType

func (v *Echo_EchoI32_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoI32_Result) Equals

Equals returns true if all the fields of this Echo_EchoI32_Result match the provided Echo_EchoI32_Result.

This function performs a deep comparison.

func (*Echo_EchoI32_Result) FromWire

func (v *Echo_EchoI32_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI32_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI32_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI32_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI32_Result) GetSuccess

func (v *Echo_EchoI32_Result) GetSuccess() (o int32)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoI32_Result) IsSetSuccess

func (v *Echo_EchoI32_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoI32_Result) MarshalEasyJSON

func (v Echo_EchoI32_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI32_Result) MarshalJSON

func (v Echo_EchoI32_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI32_Result) MarshalLogObject

func (v *Echo_EchoI32_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI32_Result.

func (*Echo_EchoI32_Result) MethodName

func (v *Echo_EchoI32_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoI32" for this struct.

func (*Echo_EchoI32_Result) String

func (v *Echo_EchoI32_Result) String() string

String returns a readable string representation of a Echo_EchoI32_Result struct.

func (*Echo_EchoI32_Result) ToWire

func (v *Echo_EchoI32_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI32_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI32_Result) UnmarshalEasyJSON

func (v *Echo_EchoI32_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI32_Result) UnmarshalJSON

func (v *Echo_EchoI32_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI64_Args

type Echo_EchoI64_Args struct {
	Arg int64 `json:"arg,required"`
}

Echo_EchoI64_Args represents the arguments for the Echo.echoI64 function.

The arguments for echoI64 are sent and received over the wire as this struct.

func (*Echo_EchoI64_Args) EnvelopeType

func (v *Echo_EchoI64_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoI64_Args) Equals

func (v *Echo_EchoI64_Args) Equals(rhs *Echo_EchoI64_Args) bool

Equals returns true if all the fields of this Echo_EchoI64_Args match the provided Echo_EchoI64_Args.

This function performs a deep comparison.

func (*Echo_EchoI64_Args) FromWire

func (v *Echo_EchoI64_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI64_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI64_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI64_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI64_Args) GetArg

func (v *Echo_EchoI64_Args) GetArg() (o int64)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoI64_Args) MarshalEasyJSON

func (v Echo_EchoI64_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI64_Args) MarshalJSON

func (v Echo_EchoI64_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI64_Args) MarshalLogObject

func (v *Echo_EchoI64_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI64_Args.

func (*Echo_EchoI64_Args) MethodName

func (v *Echo_EchoI64_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoI64" for this struct.

func (*Echo_EchoI64_Args) String

func (v *Echo_EchoI64_Args) String() string

String returns a readable string representation of a Echo_EchoI64_Args struct.

func (*Echo_EchoI64_Args) ToWire

func (v *Echo_EchoI64_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI64_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI64_Args) UnmarshalEasyJSON

func (v *Echo_EchoI64_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI64_Args) UnmarshalJSON

func (v *Echo_EchoI64_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI64_Result

type Echo_EchoI64_Result struct {
	// Value returned by echoI64 after a successful execution.
	Success *int64 `json:"success,omitempty"`
}

Echo_EchoI64_Result represents the result of a Echo.echoI64 function call.

The result of a echoI64 execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoI64_Result) EnvelopeType

func (v *Echo_EchoI64_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoI64_Result) Equals

Equals returns true if all the fields of this Echo_EchoI64_Result match the provided Echo_EchoI64_Result.

This function performs a deep comparison.

func (*Echo_EchoI64_Result) FromWire

func (v *Echo_EchoI64_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI64_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI64_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI64_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI64_Result) GetSuccess

func (v *Echo_EchoI64_Result) GetSuccess() (o int64)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoI64_Result) IsSetSuccess

func (v *Echo_EchoI64_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoI64_Result) MarshalEasyJSON

func (v Echo_EchoI64_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI64_Result) MarshalJSON

func (v Echo_EchoI64_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI64_Result) MarshalLogObject

func (v *Echo_EchoI64_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI64_Result.

func (*Echo_EchoI64_Result) MethodName

func (v *Echo_EchoI64_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoI64" for this struct.

func (*Echo_EchoI64_Result) String

func (v *Echo_EchoI64_Result) String() string

String returns a readable string representation of a Echo_EchoI64_Result struct.

func (*Echo_EchoI64_Result) ToWire

func (v *Echo_EchoI64_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI64_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI64_Result) UnmarshalEasyJSON

func (v *Echo_EchoI64_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI64_Result) UnmarshalJSON

func (v *Echo_EchoI64_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI8_Args

type Echo_EchoI8_Args struct {
	Arg int8 `json:"arg,required"`
}

Echo_EchoI8_Args represents the arguments for the Echo.echoI8 function.

The arguments for echoI8 are sent and received over the wire as this struct.

func (*Echo_EchoI8_Args) EnvelopeType

func (v *Echo_EchoI8_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoI8_Args) Equals

func (v *Echo_EchoI8_Args) Equals(rhs *Echo_EchoI8_Args) bool

Equals returns true if all the fields of this Echo_EchoI8_Args match the provided Echo_EchoI8_Args.

This function performs a deep comparison.

func (*Echo_EchoI8_Args) FromWire

func (v *Echo_EchoI8_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI8_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI8_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI8_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI8_Args) GetArg

func (v *Echo_EchoI8_Args) GetArg() (o int8)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoI8_Args) MarshalEasyJSON

func (v Echo_EchoI8_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI8_Args) MarshalJSON

func (v Echo_EchoI8_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI8_Args) MarshalLogObject

func (v *Echo_EchoI8_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI8_Args.

func (*Echo_EchoI8_Args) MethodName

func (v *Echo_EchoI8_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoI8" for this struct.

func (*Echo_EchoI8_Args) String

func (v *Echo_EchoI8_Args) String() string

String returns a readable string representation of a Echo_EchoI8_Args struct.

func (*Echo_EchoI8_Args) ToWire

func (v *Echo_EchoI8_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI8_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI8_Args) UnmarshalEasyJSON

func (v *Echo_EchoI8_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI8_Args) UnmarshalJSON

func (v *Echo_EchoI8_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoI8_Result

type Echo_EchoI8_Result struct {
	// Value returned by echoI8 after a successful execution.
	Success *int8 `json:"success,omitempty"`
}

Echo_EchoI8_Result represents the result of a Echo.echoI8 function call.

The result of a echoI8 execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoI8_Result) EnvelopeType

func (v *Echo_EchoI8_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoI8_Result) Equals

func (v *Echo_EchoI8_Result) Equals(rhs *Echo_EchoI8_Result) bool

Equals returns true if all the fields of this Echo_EchoI8_Result match the provided Echo_EchoI8_Result.

This function performs a deep comparison.

func (*Echo_EchoI8_Result) FromWire

func (v *Echo_EchoI8_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoI8_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoI8_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoI8_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoI8_Result) GetSuccess

func (v *Echo_EchoI8_Result) GetSuccess() (o int8)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoI8_Result) IsSetSuccess

func (v *Echo_EchoI8_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoI8_Result) MarshalEasyJSON

func (v Echo_EchoI8_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoI8_Result) MarshalJSON

func (v Echo_EchoI8_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoI8_Result) MarshalLogObject

func (v *Echo_EchoI8_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoI8_Result.

func (*Echo_EchoI8_Result) MethodName

func (v *Echo_EchoI8_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoI8" for this struct.

func (*Echo_EchoI8_Result) String

func (v *Echo_EchoI8_Result) String() string

String returns a readable string representation of a Echo_EchoI8_Result struct.

func (*Echo_EchoI8_Result) ToWire

func (v *Echo_EchoI8_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoI8_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoI8_Result) UnmarshalEasyJSON

func (v *Echo_EchoI8_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoI8_Result) UnmarshalJSON

func (v *Echo_EchoI8_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringList_Args

type Echo_EchoStringList_Args struct {
	Arg []string `json:"arg,required"`
}

Echo_EchoStringList_Args represents the arguments for the Echo.echoStringList function.

The arguments for echoStringList are sent and received over the wire as this struct.

func (*Echo_EchoStringList_Args) EnvelopeType

func (v *Echo_EchoStringList_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStringList_Args) Equals

Equals returns true if all the fields of this Echo_EchoStringList_Args match the provided Echo_EchoStringList_Args.

This function performs a deep comparison.

func (*Echo_EchoStringList_Args) FromWire

func (v *Echo_EchoStringList_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringList_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringList_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringList_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringList_Args) GetArg

func (v *Echo_EchoStringList_Args) GetArg() (o []string)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStringList_Args) IsSetArg

func (v *Echo_EchoStringList_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStringList_Args) MarshalEasyJSON

func (v Echo_EchoStringList_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringList_Args) MarshalJSON

func (v Echo_EchoStringList_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringList_Args) MarshalLogObject

func (v *Echo_EchoStringList_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringList_Args.

func (*Echo_EchoStringList_Args) MethodName

func (v *Echo_EchoStringList_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStringList" for this struct.

func (*Echo_EchoStringList_Args) String

func (v *Echo_EchoStringList_Args) String() string

String returns a readable string representation of a Echo_EchoStringList_Args struct.

func (*Echo_EchoStringList_Args) ToWire

func (v *Echo_EchoStringList_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringList_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringList_Args) UnmarshalEasyJSON

func (v *Echo_EchoStringList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringList_Args) UnmarshalJSON

func (v *Echo_EchoStringList_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringList_Result

type Echo_EchoStringList_Result struct {
	// Value returned by echoStringList after a successful execution.
	Success []string `json:"success,omitempty"`
}

Echo_EchoStringList_Result represents the result of a Echo.echoStringList function call.

The result of a echoStringList execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStringList_Result) EnvelopeType

func (v *Echo_EchoStringList_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStringList_Result) Equals

Equals returns true if all the fields of this Echo_EchoStringList_Result match the provided Echo_EchoStringList_Result.

This function performs a deep comparison.

func (*Echo_EchoStringList_Result) FromWire

func (v *Echo_EchoStringList_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringList_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringList_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringList_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringList_Result) GetSuccess

func (v *Echo_EchoStringList_Result) GetSuccess() (o []string)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStringList_Result) IsSetSuccess

func (v *Echo_EchoStringList_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStringList_Result) MarshalEasyJSON

func (v Echo_EchoStringList_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringList_Result) MarshalJSON

func (v Echo_EchoStringList_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringList_Result) MarshalLogObject

func (v *Echo_EchoStringList_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringList_Result.

func (*Echo_EchoStringList_Result) MethodName

func (v *Echo_EchoStringList_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStringList" for this struct.

func (*Echo_EchoStringList_Result) String

func (v *Echo_EchoStringList_Result) String() string

String returns a readable string representation of a Echo_EchoStringList_Result struct.

func (*Echo_EchoStringList_Result) ToWire

func (v *Echo_EchoStringList_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringList_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringList_Result) UnmarshalEasyJSON

func (v *Echo_EchoStringList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringList_Result) UnmarshalJSON

func (v *Echo_EchoStringList_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringMap_Args

type Echo_EchoStringMap_Args struct {
	Arg map[string]*BarResponse `json:"arg,required"`
}

Echo_EchoStringMap_Args represents the arguments for the Echo.echoStringMap function.

The arguments for echoStringMap are sent and received over the wire as this struct.

func (*Echo_EchoStringMap_Args) EnvelopeType

func (v *Echo_EchoStringMap_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStringMap_Args) Equals

Equals returns true if all the fields of this Echo_EchoStringMap_Args match the provided Echo_EchoStringMap_Args.

This function performs a deep comparison.

func (*Echo_EchoStringMap_Args) FromWire

func (v *Echo_EchoStringMap_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringMap_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringMap_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringMap_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringMap_Args) GetArg

func (v *Echo_EchoStringMap_Args) GetArg() (o map[string]*BarResponse)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStringMap_Args) IsSetArg

func (v *Echo_EchoStringMap_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStringMap_Args) MarshalEasyJSON

func (v Echo_EchoStringMap_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringMap_Args) MarshalJSON

func (v Echo_EchoStringMap_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringMap_Args) MarshalLogObject

func (v *Echo_EchoStringMap_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringMap_Args.

func (*Echo_EchoStringMap_Args) MethodName

func (v *Echo_EchoStringMap_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStringMap" for this struct.

func (*Echo_EchoStringMap_Args) String

func (v *Echo_EchoStringMap_Args) String() string

String returns a readable string representation of a Echo_EchoStringMap_Args struct.

func (*Echo_EchoStringMap_Args) ToWire

func (v *Echo_EchoStringMap_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringMap_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringMap_Args) UnmarshalEasyJSON

func (v *Echo_EchoStringMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringMap_Args) UnmarshalJSON

func (v *Echo_EchoStringMap_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringMap_Result

type Echo_EchoStringMap_Result struct {
	// Value returned by echoStringMap after a successful execution.
	Success map[string]*BarResponse `json:"success,omitempty"`
}

Echo_EchoStringMap_Result represents the result of a Echo.echoStringMap function call.

The result of a echoStringMap execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStringMap_Result) EnvelopeType

func (v *Echo_EchoStringMap_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStringMap_Result) Equals

Equals returns true if all the fields of this Echo_EchoStringMap_Result match the provided Echo_EchoStringMap_Result.

This function performs a deep comparison.

func (*Echo_EchoStringMap_Result) FromWire

func (v *Echo_EchoStringMap_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringMap_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringMap_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringMap_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringMap_Result) GetSuccess

func (v *Echo_EchoStringMap_Result) GetSuccess() (o map[string]*BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStringMap_Result) IsSetSuccess

func (v *Echo_EchoStringMap_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStringMap_Result) MarshalEasyJSON

func (v Echo_EchoStringMap_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringMap_Result) MarshalJSON

func (v Echo_EchoStringMap_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringMap_Result) MarshalLogObject

func (v *Echo_EchoStringMap_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringMap_Result.

func (*Echo_EchoStringMap_Result) MethodName

func (v *Echo_EchoStringMap_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStringMap" for this struct.

func (*Echo_EchoStringMap_Result) String

func (v *Echo_EchoStringMap_Result) String() string

String returns a readable string representation of a Echo_EchoStringMap_Result struct.

func (*Echo_EchoStringMap_Result) ToWire

func (v *Echo_EchoStringMap_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringMap_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringMap_Result) UnmarshalEasyJSON

func (v *Echo_EchoStringMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringMap_Result) UnmarshalJSON

func (v *Echo_EchoStringMap_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringSet_Args

type Echo_EchoStringSet_Args struct {
	Arg map[string]struct{} `json:"arg,required"`
}

Echo_EchoStringSet_Args represents the arguments for the Echo.echoStringSet function.

The arguments for echoStringSet are sent and received over the wire as this struct.

func (*Echo_EchoStringSet_Args) EnvelopeType

func (v *Echo_EchoStringSet_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStringSet_Args) Equals

Equals returns true if all the fields of this Echo_EchoStringSet_Args match the provided Echo_EchoStringSet_Args.

This function performs a deep comparison.

func (*Echo_EchoStringSet_Args) FromWire

func (v *Echo_EchoStringSet_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringSet_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringSet_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringSet_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringSet_Args) GetArg

func (v *Echo_EchoStringSet_Args) GetArg() (o map[string]struct{})

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStringSet_Args) IsSetArg

func (v *Echo_EchoStringSet_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStringSet_Args) MarshalEasyJSON

func (v Echo_EchoStringSet_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringSet_Args) MarshalJSON

func (v Echo_EchoStringSet_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringSet_Args) MarshalLogObject

func (v *Echo_EchoStringSet_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringSet_Args.

func (*Echo_EchoStringSet_Args) MethodName

func (v *Echo_EchoStringSet_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStringSet" for this struct.

func (*Echo_EchoStringSet_Args) String

func (v *Echo_EchoStringSet_Args) String() string

String returns a readable string representation of a Echo_EchoStringSet_Args struct.

func (*Echo_EchoStringSet_Args) ToWire

func (v *Echo_EchoStringSet_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringSet_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringSet_Args) UnmarshalEasyJSON

func (v *Echo_EchoStringSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringSet_Args) UnmarshalJSON

func (v *Echo_EchoStringSet_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStringSet_Result

type Echo_EchoStringSet_Result struct {
	// Value returned by echoStringSet after a successful execution.
	Success map[string]struct{} `json:"success,omitempty"`
}

Echo_EchoStringSet_Result represents the result of a Echo.echoStringSet function call.

The result of a echoStringSet execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStringSet_Result) EnvelopeType

func (v *Echo_EchoStringSet_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStringSet_Result) Equals

Equals returns true if all the fields of this Echo_EchoStringSet_Result match the provided Echo_EchoStringSet_Result.

This function performs a deep comparison.

func (*Echo_EchoStringSet_Result) FromWire

func (v *Echo_EchoStringSet_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStringSet_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStringSet_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStringSet_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStringSet_Result) GetSuccess

func (v *Echo_EchoStringSet_Result) GetSuccess() (o map[string]struct{})

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStringSet_Result) IsSetSuccess

func (v *Echo_EchoStringSet_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStringSet_Result) MarshalEasyJSON

func (v Echo_EchoStringSet_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStringSet_Result) MarshalJSON

func (v Echo_EchoStringSet_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStringSet_Result) MarshalLogObject

func (v *Echo_EchoStringSet_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStringSet_Result.

func (*Echo_EchoStringSet_Result) MethodName

func (v *Echo_EchoStringSet_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStringSet" for this struct.

func (*Echo_EchoStringSet_Result) String

func (v *Echo_EchoStringSet_Result) String() string

String returns a readable string representation of a Echo_EchoStringSet_Result struct.

func (*Echo_EchoStringSet_Result) ToWire

func (v *Echo_EchoStringSet_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStringSet_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStringSet_Result) UnmarshalEasyJSON

func (v *Echo_EchoStringSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStringSet_Result) UnmarshalJSON

func (v *Echo_EchoStringSet_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoString_Args

type Echo_EchoString_Args struct {
	Arg string `json:"arg,required"`
}

Echo_EchoString_Args represents the arguments for the Echo.echoString function.

The arguments for echoString are sent and received over the wire as this struct.

func (*Echo_EchoString_Args) EnvelopeType

func (v *Echo_EchoString_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoString_Args) Equals

Equals returns true if all the fields of this Echo_EchoString_Args match the provided Echo_EchoString_Args.

This function performs a deep comparison.

func (*Echo_EchoString_Args) FromWire

func (v *Echo_EchoString_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoString_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoString_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoString_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoString_Args) GetArg

func (v *Echo_EchoString_Args) GetArg() (o string)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoString_Args) MarshalEasyJSON

func (v Echo_EchoString_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoString_Args) MarshalJSON

func (v Echo_EchoString_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoString_Args) MarshalLogObject

func (v *Echo_EchoString_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoString_Args.

func (*Echo_EchoString_Args) MethodName

func (v *Echo_EchoString_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoString" for this struct.

func (*Echo_EchoString_Args) String

func (v *Echo_EchoString_Args) String() string

String returns a readable string representation of a Echo_EchoString_Args struct.

func (*Echo_EchoString_Args) ToWire

func (v *Echo_EchoString_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoString_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoString_Args) UnmarshalEasyJSON

func (v *Echo_EchoString_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoString_Args) UnmarshalJSON

func (v *Echo_EchoString_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoString_Result

type Echo_EchoString_Result struct {
	// Value returned by echoString after a successful execution.
	Success *string `json:"success,omitempty"`
}

Echo_EchoString_Result represents the result of a Echo.echoString function call.

The result of a echoString execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoString_Result) EnvelopeType

func (v *Echo_EchoString_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoString_Result) Equals

Equals returns true if all the fields of this Echo_EchoString_Result match the provided Echo_EchoString_Result.

This function performs a deep comparison.

func (*Echo_EchoString_Result) FromWire

func (v *Echo_EchoString_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoString_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoString_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoString_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoString_Result) GetSuccess

func (v *Echo_EchoString_Result) GetSuccess() (o string)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoString_Result) IsSetSuccess

func (v *Echo_EchoString_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoString_Result) MarshalEasyJSON

func (v Echo_EchoString_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoString_Result) MarshalJSON

func (v Echo_EchoString_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoString_Result) MarshalLogObject

func (v *Echo_EchoString_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoString_Result.

func (*Echo_EchoString_Result) MethodName

func (v *Echo_EchoString_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoString" for this struct.

func (*Echo_EchoString_Result) String

func (v *Echo_EchoString_Result) String() string

String returns a readable string representation of a Echo_EchoString_Result struct.

func (*Echo_EchoString_Result) ToWire

func (v *Echo_EchoString_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoString_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoString_Result) UnmarshalEasyJSON

func (v *Echo_EchoString_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoString_Result) UnmarshalJSON

func (v *Echo_EchoString_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructList_Args

type Echo_EchoStructList_Args struct {
	Arg []*BarResponse `json:"arg,required"`
}

Echo_EchoStructList_Args represents the arguments for the Echo.echoStructList function.

The arguments for echoStructList are sent and received over the wire as this struct.

func (*Echo_EchoStructList_Args) EnvelopeType

func (v *Echo_EchoStructList_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStructList_Args) Equals

Equals returns true if all the fields of this Echo_EchoStructList_Args match the provided Echo_EchoStructList_Args.

This function performs a deep comparison.

func (*Echo_EchoStructList_Args) FromWire

func (v *Echo_EchoStructList_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructList_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructList_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructList_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructList_Args) GetArg

func (v *Echo_EchoStructList_Args) GetArg() (o []*BarResponse)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStructList_Args) IsSetArg

func (v *Echo_EchoStructList_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStructList_Args) MarshalEasyJSON

func (v Echo_EchoStructList_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructList_Args) MarshalJSON

func (v Echo_EchoStructList_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructList_Args) MarshalLogObject

func (v *Echo_EchoStructList_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructList_Args.

func (*Echo_EchoStructList_Args) MethodName

func (v *Echo_EchoStructList_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStructList" for this struct.

func (*Echo_EchoStructList_Args) String

func (v *Echo_EchoStructList_Args) String() string

String returns a readable string representation of a Echo_EchoStructList_Args struct.

func (*Echo_EchoStructList_Args) ToWire

func (v *Echo_EchoStructList_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructList_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructList_Args) UnmarshalEasyJSON

func (v *Echo_EchoStructList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructList_Args) UnmarshalJSON

func (v *Echo_EchoStructList_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructList_Result

type Echo_EchoStructList_Result struct {
	// Value returned by echoStructList after a successful execution.
	Success []*BarResponse `json:"success,omitempty"`
}

Echo_EchoStructList_Result represents the result of a Echo.echoStructList function call.

The result of a echoStructList execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStructList_Result) EnvelopeType

func (v *Echo_EchoStructList_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStructList_Result) Equals

Equals returns true if all the fields of this Echo_EchoStructList_Result match the provided Echo_EchoStructList_Result.

This function performs a deep comparison.

func (*Echo_EchoStructList_Result) FromWire

func (v *Echo_EchoStructList_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructList_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructList_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructList_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructList_Result) GetSuccess

func (v *Echo_EchoStructList_Result) GetSuccess() (o []*BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStructList_Result) IsSetSuccess

func (v *Echo_EchoStructList_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStructList_Result) MarshalEasyJSON

func (v Echo_EchoStructList_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructList_Result) MarshalJSON

func (v Echo_EchoStructList_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructList_Result) MarshalLogObject

func (v *Echo_EchoStructList_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructList_Result.

func (*Echo_EchoStructList_Result) MethodName

func (v *Echo_EchoStructList_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStructList" for this struct.

func (*Echo_EchoStructList_Result) String

func (v *Echo_EchoStructList_Result) String() string

String returns a readable string representation of a Echo_EchoStructList_Result struct.

func (*Echo_EchoStructList_Result) ToWire

func (v *Echo_EchoStructList_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructList_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructList_Result) UnmarshalEasyJSON

func (v *Echo_EchoStructList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructList_Result) UnmarshalJSON

func (v *Echo_EchoStructList_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructMap_Args

type Echo_EchoStructMap_Args struct {
	Arg []struct {
		Key   *BarResponse
		Value string
	} `json:"arg,required"`
}

Echo_EchoStructMap_Args represents the arguments for the Echo.echoStructMap function.

The arguments for echoStructMap are sent and received over the wire as this struct.

func (*Echo_EchoStructMap_Args) EnvelopeType

func (v *Echo_EchoStructMap_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStructMap_Args) Equals

Equals returns true if all the fields of this Echo_EchoStructMap_Args match the provided Echo_EchoStructMap_Args.

This function performs a deep comparison.

func (*Echo_EchoStructMap_Args) FromWire

func (v *Echo_EchoStructMap_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructMap_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructMap_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructMap_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructMap_Args) GetArg

func (v *Echo_EchoStructMap_Args) GetArg() (o []struct {
	Key   *BarResponse
	Value string
})

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStructMap_Args) IsSetArg

func (v *Echo_EchoStructMap_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStructMap_Args) MarshalEasyJSON

func (v Echo_EchoStructMap_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructMap_Args) MarshalJSON

func (v Echo_EchoStructMap_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructMap_Args) MarshalLogObject

func (v *Echo_EchoStructMap_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructMap_Args.

func (*Echo_EchoStructMap_Args) MethodName

func (v *Echo_EchoStructMap_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStructMap" for this struct.

func (*Echo_EchoStructMap_Args) String

func (v *Echo_EchoStructMap_Args) String() string

String returns a readable string representation of a Echo_EchoStructMap_Args struct.

func (*Echo_EchoStructMap_Args) ToWire

func (v *Echo_EchoStructMap_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructMap_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructMap_Args) UnmarshalEasyJSON

func (v *Echo_EchoStructMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructMap_Args) UnmarshalJSON

func (v *Echo_EchoStructMap_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructMap_Result

type Echo_EchoStructMap_Result struct {
	// Value returned by echoStructMap after a successful execution.
	Success []struct {
		Key   *BarResponse
		Value string
	} `json:"success,omitempty"`
}

Echo_EchoStructMap_Result represents the result of a Echo.echoStructMap function call.

The result of a echoStructMap execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStructMap_Result) EnvelopeType

func (v *Echo_EchoStructMap_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStructMap_Result) Equals

Equals returns true if all the fields of this Echo_EchoStructMap_Result match the provided Echo_EchoStructMap_Result.

This function performs a deep comparison.

func (*Echo_EchoStructMap_Result) FromWire

func (v *Echo_EchoStructMap_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructMap_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructMap_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructMap_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructMap_Result) GetSuccess

func (v *Echo_EchoStructMap_Result) GetSuccess() (o []struct {
	Key   *BarResponse
	Value string
})

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStructMap_Result) IsSetSuccess

func (v *Echo_EchoStructMap_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStructMap_Result) MarshalEasyJSON

func (v Echo_EchoStructMap_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructMap_Result) MarshalJSON

func (v Echo_EchoStructMap_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructMap_Result) MarshalLogObject

func (v *Echo_EchoStructMap_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructMap_Result.

func (*Echo_EchoStructMap_Result) MethodName

func (v *Echo_EchoStructMap_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStructMap" for this struct.

func (*Echo_EchoStructMap_Result) String

func (v *Echo_EchoStructMap_Result) String() string

String returns a readable string representation of a Echo_EchoStructMap_Result struct.

func (*Echo_EchoStructMap_Result) ToWire

func (v *Echo_EchoStructMap_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructMap_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructMap_Result) UnmarshalEasyJSON

func (v *Echo_EchoStructMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructMap_Result) UnmarshalJSON

func (v *Echo_EchoStructMap_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructSet_Args

type Echo_EchoStructSet_Args struct {
	Arg []*BarResponse `json:"arg,required"`
}

Echo_EchoStructSet_Args represents the arguments for the Echo.echoStructSet function.

The arguments for echoStructSet are sent and received over the wire as this struct.

func (*Echo_EchoStructSet_Args) EnvelopeType

func (v *Echo_EchoStructSet_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoStructSet_Args) Equals

Equals returns true if all the fields of this Echo_EchoStructSet_Args match the provided Echo_EchoStructSet_Args.

This function performs a deep comparison.

func (*Echo_EchoStructSet_Args) FromWire

func (v *Echo_EchoStructSet_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructSet_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructSet_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructSet_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructSet_Args) GetArg

func (v *Echo_EchoStructSet_Args) GetArg() (o []*BarResponse)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*Echo_EchoStructSet_Args) IsSetArg

func (v *Echo_EchoStructSet_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (Echo_EchoStructSet_Args) MarshalEasyJSON

func (v Echo_EchoStructSet_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructSet_Args) MarshalJSON

func (v Echo_EchoStructSet_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructSet_Args) MarshalLogObject

func (v *Echo_EchoStructSet_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructSet_Args.

func (*Echo_EchoStructSet_Args) MethodName

func (v *Echo_EchoStructSet_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoStructSet" for this struct.

func (*Echo_EchoStructSet_Args) String

func (v *Echo_EchoStructSet_Args) String() string

String returns a readable string representation of a Echo_EchoStructSet_Args struct.

func (*Echo_EchoStructSet_Args) ToWire

func (v *Echo_EchoStructSet_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructSet_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructSet_Args) UnmarshalEasyJSON

func (v *Echo_EchoStructSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructSet_Args) UnmarshalJSON

func (v *Echo_EchoStructSet_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoStructSet_Result

type Echo_EchoStructSet_Result struct {
	// Value returned by echoStructSet after a successful execution.
	Success []*BarResponse `json:"success,omitempty"`
}

Echo_EchoStructSet_Result represents the result of a Echo.echoStructSet function call.

The result of a echoStructSet execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoStructSet_Result) EnvelopeType

func (v *Echo_EchoStructSet_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoStructSet_Result) Equals

Equals returns true if all the fields of this Echo_EchoStructSet_Result match the provided Echo_EchoStructSet_Result.

This function performs a deep comparison.

func (*Echo_EchoStructSet_Result) FromWire

func (v *Echo_EchoStructSet_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoStructSet_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoStructSet_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoStructSet_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoStructSet_Result) GetSuccess

func (v *Echo_EchoStructSet_Result) GetSuccess() (o []*BarResponse)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoStructSet_Result) IsSetSuccess

func (v *Echo_EchoStructSet_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoStructSet_Result) MarshalEasyJSON

func (v Echo_EchoStructSet_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoStructSet_Result) MarshalJSON

func (v Echo_EchoStructSet_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoStructSet_Result) MarshalLogObject

func (v *Echo_EchoStructSet_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoStructSet_Result.

func (*Echo_EchoStructSet_Result) MethodName

func (v *Echo_EchoStructSet_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoStructSet" for this struct.

func (*Echo_EchoStructSet_Result) String

func (v *Echo_EchoStructSet_Result) String() string

String returns a readable string representation of a Echo_EchoStructSet_Result struct.

func (*Echo_EchoStructSet_Result) ToWire

func (v *Echo_EchoStructSet_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoStructSet_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoStructSet_Result) UnmarshalEasyJSON

func (v *Echo_EchoStructSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoStructSet_Result) UnmarshalJSON

func (v *Echo_EchoStructSet_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoTypedef_Args

type Echo_EchoTypedef_Args struct {
	Arg UUID `json:"arg,required"`
}

Echo_EchoTypedef_Args represents the arguments for the Echo.echoTypedef function.

The arguments for echoTypedef are sent and received over the wire as this struct.

func (*Echo_EchoTypedef_Args) EnvelopeType

func (v *Echo_EchoTypedef_Args) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*Echo_EchoTypedef_Args) Equals

Equals returns true if all the fields of this Echo_EchoTypedef_Args match the provided Echo_EchoTypedef_Args.

This function performs a deep comparison.

func (*Echo_EchoTypedef_Args) FromWire

func (v *Echo_EchoTypedef_Args) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoTypedef_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoTypedef_Args struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoTypedef_Args
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoTypedef_Args) GetArg

func (v *Echo_EchoTypedef_Args) GetArg() (o UUID)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (Echo_EchoTypedef_Args) MarshalEasyJSON

func (v Echo_EchoTypedef_Args) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoTypedef_Args) MarshalJSON

func (v Echo_EchoTypedef_Args) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoTypedef_Args) MarshalLogObject

func (v *Echo_EchoTypedef_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoTypedef_Args.

func (*Echo_EchoTypedef_Args) MethodName

func (v *Echo_EchoTypedef_Args) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.

This will always be "echoTypedef" for this struct.

func (*Echo_EchoTypedef_Args) String

func (v *Echo_EchoTypedef_Args) String() string

String returns a readable string representation of a Echo_EchoTypedef_Args struct.

func (*Echo_EchoTypedef_Args) ToWire

func (v *Echo_EchoTypedef_Args) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoTypedef_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoTypedef_Args) UnmarshalEasyJSON

func (v *Echo_EchoTypedef_Args) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoTypedef_Args) UnmarshalJSON

func (v *Echo_EchoTypedef_Args) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Echo_EchoTypedef_Result

type Echo_EchoTypedef_Result struct {
	// Value returned by echoTypedef after a successful execution.
	Success *UUID `json:"success,omitempty"`
}

Echo_EchoTypedef_Result represents the result of a Echo.echoTypedef function call.

The result of a echoTypedef execution is sent and received over the wire as this struct.

Success is set only if the function did not throw an exception.

func (*Echo_EchoTypedef_Result) EnvelopeType

func (v *Echo_EchoTypedef_Result) EnvelopeType() wire.EnvelopeType

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*Echo_EchoTypedef_Result) Equals

Equals returns true if all the fields of this Echo_EchoTypedef_Result match the provided Echo_EchoTypedef_Result.

This function performs a deep comparison.

func (*Echo_EchoTypedef_Result) FromWire

func (v *Echo_EchoTypedef_Result) FromWire(w wire.Value) error

FromWire deserializes a Echo_EchoTypedef_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a Echo_EchoTypedef_Result struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v Echo_EchoTypedef_Result
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*Echo_EchoTypedef_Result) GetSuccess

func (v *Echo_EchoTypedef_Result) GetSuccess() (o UUID)

GetSuccess returns the value of Success if it is set or its zero value if it is unset.

func (*Echo_EchoTypedef_Result) IsSetSuccess

func (v *Echo_EchoTypedef_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (Echo_EchoTypedef_Result) MarshalEasyJSON

func (v Echo_EchoTypedef_Result) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Echo_EchoTypedef_Result) MarshalJSON

func (v Echo_EchoTypedef_Result) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Echo_EchoTypedef_Result) MarshalLogObject

func (v *Echo_EchoTypedef_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Echo_EchoTypedef_Result.

func (*Echo_EchoTypedef_Result) MethodName

func (v *Echo_EchoTypedef_Result) MethodName() string

MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.

This will always be "echoTypedef" for this struct.

func (*Echo_EchoTypedef_Result) String

func (v *Echo_EchoTypedef_Result) String() string

String returns a readable string representation of a Echo_EchoTypedef_Result struct.

func (*Echo_EchoTypedef_Result) ToWire

func (v *Echo_EchoTypedef_Result) ToWire() (wire.Value, error)

ToWire translates a Echo_EchoTypedef_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*Echo_EchoTypedef_Result) UnmarshalEasyJSON

func (v *Echo_EchoTypedef_Result) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Echo_EchoTypedef_Result) UnmarshalJSON

func (v *Echo_EchoTypedef_Result) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Fruit

type Fruit int32
const (
	FruitApple  Fruit = 0
	FruitBanana Fruit = 1
)

func Fruit_Values

func Fruit_Values() []Fruit

Fruit_Values returns all recognized values of Fruit.

func (Fruit) Equals

func (v Fruit) Equals(rhs Fruit) bool

Equals returns true if this Fruit value matches the provided value.

func (*Fruit) FromWire

func (v *Fruit) FromWire(w wire.Value) error

FromWire deserializes Fruit from its Thrift-level representation.

x, err := binaryProtocol.Decode(reader, wire.TI32)
if err != nil {
  return Fruit(0), err
}

var v Fruit
if err := v.FromWire(x); err != nil {
  return Fruit(0), err
}
return v, nil

func (Fruit) MarshalJSON

func (v Fruit) MarshalJSON() ([]byte, error)

MarshalJSON serializes Fruit into JSON.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements json.Marshaler.

func (Fruit) MarshalLogObject

func (v Fruit) MarshalLogObject(enc zapcore.ObjectEncoder) error

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Fruit. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".

func (Fruit) MarshalText

func (v Fruit) MarshalText() ([]byte, error)

MarshalText encodes Fruit to text.

If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.

This implements the TextMarshaler interface.

func (Fruit) Ptr

func (v Fruit) Ptr() *Fruit

Ptr returns a pointer to this enum value.

func (Fruit) String

func (v Fruit) String() string

String returns a readable string representation of Fruit.

func (Fruit) ToWire

func (v Fruit) ToWire() (wire.Value, error)

ToWire translates Fruit into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Enums are represented as 32-bit integers over the wire.

func (*Fruit) UnmarshalJSON

func (v *Fruit) UnmarshalJSON(text []byte) error

UnmarshalJSON attempts to decode Fruit from its JSON representation.

This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.

This implements json.Unmarshaler.

func (*Fruit) UnmarshalText

func (v *Fruit) UnmarshalText(value []byte) error

UnmarshalText tries to decode Fruit from a byte slice containing its name.

var v Fruit
err := v.UnmarshalText([]byte("APPLE"))

type Long

type Long int64

func (Long) Equals

func (lhs Long) Equals(rhs Long) bool

Equals returns true if this Long is equal to the provided Long.

func (*Long) FromWire

func (v *Long) FromWire(w wire.Value) error

FromWire deserializes Long from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

func (Long) MarshalJSON

func (v Long) MarshalJSON() ([]byte, error)

func (Long) Ptr

func (v Long) Ptr() *Long

LongPtr returns a pointer to a Long

func (Long) String

func (v Long) String() string

String returns a readable string representation of Long.

func (Long) ToWire

func (v Long) ToWire() (wire.Value, error)

ToWire translates Long into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

func (*Long) UnmarshalJSON

func (v *Long) UnmarshalJSON(text []byte) error

type OptionalParamsStruct

type OptionalParamsStruct struct {
	UserID *string `json:"userID,omitempty"`
}

func (*OptionalParamsStruct) Equals

Equals returns true if all the fields of this OptionalParamsStruct match the provided OptionalParamsStruct.

This function performs a deep comparison.

func (*OptionalParamsStruct) FromWire

func (v *OptionalParamsStruct) FromWire(w wire.Value) error

FromWire deserializes a OptionalParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a OptionalParamsStruct struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v OptionalParamsStruct
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*OptionalParamsStruct) GetUserID

func (v *OptionalParamsStruct) GetUserID() (o string)

GetUserID returns the value of UserID if it is set or its zero value if it is unset.

func (*OptionalParamsStruct) IsSetUserID

func (v *OptionalParamsStruct) IsSetUserID() bool

IsSetUserID returns true if UserID is not nil.

func (OptionalParamsStruct) MarshalEasyJSON

func (v OptionalParamsStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (OptionalParamsStruct) MarshalJSON

func (v OptionalParamsStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*OptionalParamsStruct) MarshalLogObject

func (v *OptionalParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of OptionalParamsStruct.

func (*OptionalParamsStruct) String

func (v *OptionalParamsStruct) String() string

String returns a readable string representation of a OptionalParamsStruct struct.

func (*OptionalParamsStruct) ToWire

func (v *OptionalParamsStruct) ToWire() (wire.Value, error)

ToWire translates a OptionalParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*OptionalParamsStruct) UnmarshalEasyJSON

func (v *OptionalParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*OptionalParamsStruct) UnmarshalJSON

func (v *OptionalParamsStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ParamsStruct

type ParamsStruct struct {
	UserUUID string `json:"userUUID,required"`
}

func (*ParamsStruct) Equals

func (v *ParamsStruct) Equals(rhs *ParamsStruct) bool

Equals returns true if all the fields of this ParamsStruct match the provided ParamsStruct.

This function performs a deep comparison.

func (*ParamsStruct) FromWire

func (v *ParamsStruct) FromWire(w wire.Value) error

FromWire deserializes a ParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a ParamsStruct struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v ParamsStruct
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*ParamsStruct) GetUserUUID

func (v *ParamsStruct) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (ParamsStruct) MarshalEasyJSON

func (v ParamsStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ParamsStruct) MarshalJSON

func (v ParamsStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ParamsStruct) MarshalLogObject

func (v *ParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ParamsStruct.

func (*ParamsStruct) String

func (v *ParamsStruct) String() string

String returns a readable string representation of a ParamsStruct struct.

func (*ParamsStruct) ToWire

func (v *ParamsStruct) ToWire() (wire.Value, error)

ToWire translates a ParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*ParamsStruct) UnmarshalEasyJSON

func (v *ParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ParamsStruct) UnmarshalJSON

func (v *ParamsStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type QueryParamsOptsStruct

type QueryParamsOptsStruct struct {
	Name      string  `json:"name,required"`
	UserUUID  *string `json:"userUUID,omitempty"`
	AuthUUID  *string `json:"authUUID,omitempty"`
	AuthUUID2 *string `json:"authUUID2,omitempty"`
}

func (*QueryParamsOptsStruct) Equals

Equals returns true if all the fields of this QueryParamsOptsStruct match the provided QueryParamsOptsStruct.

This function performs a deep comparison.

func (*QueryParamsOptsStruct) FromWire

func (v *QueryParamsOptsStruct) FromWire(w wire.Value) error

FromWire deserializes a QueryParamsOptsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryParamsOptsStruct struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryParamsOptsStruct
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryParamsOptsStruct) GetAuthUUID

func (v *QueryParamsOptsStruct) GetAuthUUID() (o string)

GetAuthUUID returns the value of AuthUUID if it is set or its zero value if it is unset.

func (*QueryParamsOptsStruct) GetAuthUUID2

func (v *QueryParamsOptsStruct) GetAuthUUID2() (o string)

GetAuthUUID2 returns the value of AuthUUID2 if it is set or its zero value if it is unset.

func (*QueryParamsOptsStruct) GetName

func (v *QueryParamsOptsStruct) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*QueryParamsOptsStruct) GetUserUUID

func (v *QueryParamsOptsStruct) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*QueryParamsOptsStruct) IsSetAuthUUID

func (v *QueryParamsOptsStruct) IsSetAuthUUID() bool

IsSetAuthUUID returns true if AuthUUID is not nil.

func (*QueryParamsOptsStruct) IsSetAuthUUID2

func (v *QueryParamsOptsStruct) IsSetAuthUUID2() bool

IsSetAuthUUID2 returns true if AuthUUID2 is not nil.

func (*QueryParamsOptsStruct) IsSetUserUUID

func (v *QueryParamsOptsStruct) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (QueryParamsOptsStruct) MarshalEasyJSON

func (v QueryParamsOptsStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (QueryParamsOptsStruct) MarshalJSON

func (v QueryParamsOptsStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*QueryParamsOptsStruct) MarshalLogObject

func (v *QueryParamsOptsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryParamsOptsStruct.

func (*QueryParamsOptsStruct) String

func (v *QueryParamsOptsStruct) String() string

String returns a readable string representation of a QueryParamsOptsStruct struct.

func (*QueryParamsOptsStruct) ToWire

func (v *QueryParamsOptsStruct) ToWire() (wire.Value, error)

ToWire translates a QueryParamsOptsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*QueryParamsOptsStruct) UnmarshalEasyJSON

func (v *QueryParamsOptsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*QueryParamsOptsStruct) UnmarshalJSON

func (v *QueryParamsOptsStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type QueryParamsStruct

type QueryParamsStruct struct {
	Name      string   `json:"name,required"`
	UserUUID  *string  `json:"userUUID,omitempty"`
	AuthUUID  *string  `json:"authUUID,omitempty"`
	AuthUUID2 *string  `json:"authUUID2,omitempty"`
	Foo       []string `json:"foo,required"`
}

func (*QueryParamsStruct) Equals

func (v *QueryParamsStruct) Equals(rhs *QueryParamsStruct) bool

Equals returns true if all the fields of this QueryParamsStruct match the provided QueryParamsStruct.

This function performs a deep comparison.

func (*QueryParamsStruct) FromWire

func (v *QueryParamsStruct) FromWire(w wire.Value) error

FromWire deserializes a QueryParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a QueryParamsStruct struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v QueryParamsStruct
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*QueryParamsStruct) GetAuthUUID

func (v *QueryParamsStruct) GetAuthUUID() (o string)

GetAuthUUID returns the value of AuthUUID if it is set or its zero value if it is unset.

func (*QueryParamsStruct) GetAuthUUID2

func (v *QueryParamsStruct) GetAuthUUID2() (o string)

GetAuthUUID2 returns the value of AuthUUID2 if it is set or its zero value if it is unset.

func (*QueryParamsStruct) GetFoo

func (v *QueryParamsStruct) GetFoo() (o []string)

GetFoo returns the value of Foo if it is set or its zero value if it is unset.

func (*QueryParamsStruct) GetName

func (v *QueryParamsStruct) GetName() (o string)

GetName returns the value of Name if it is set or its zero value if it is unset.

func (*QueryParamsStruct) GetUserUUID

func (v *QueryParamsStruct) GetUserUUID() (o string)

GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.

func (*QueryParamsStruct) IsSetAuthUUID

func (v *QueryParamsStruct) IsSetAuthUUID() bool

IsSetAuthUUID returns true if AuthUUID is not nil.

func (*QueryParamsStruct) IsSetAuthUUID2

func (v *QueryParamsStruct) IsSetAuthUUID2() bool

IsSetAuthUUID2 returns true if AuthUUID2 is not nil.

func (*QueryParamsStruct) IsSetFoo

func (v *QueryParamsStruct) IsSetFoo() bool

IsSetFoo returns true if Foo is not nil.

func (*QueryParamsStruct) IsSetUserUUID

func (v *QueryParamsStruct) IsSetUserUUID() bool

IsSetUserUUID returns true if UserUUID is not nil.

func (QueryParamsStruct) MarshalEasyJSON

func (v QueryParamsStruct) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (QueryParamsStruct) MarshalJSON

func (v QueryParamsStruct) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*QueryParamsStruct) MarshalLogObject

func (v *QueryParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryParamsStruct.

func (*QueryParamsStruct) String

func (v *QueryParamsStruct) String() string

String returns a readable string representation of a QueryParamsStruct struct.

func (*QueryParamsStruct) ToWire

func (v *QueryParamsStruct) ToWire() (wire.Value, error)

ToWire translates a QueryParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*QueryParamsStruct) UnmarshalEasyJSON

func (v *QueryParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*QueryParamsStruct) UnmarshalJSON

func (v *QueryParamsStruct) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type RequestWithDuplicateType

type RequestWithDuplicateType struct {
	Request1 *BarRequest `json:"request1,omitempty"`
	Request2 *BarRequest `json:"request2,omitempty"`
}

func (*RequestWithDuplicateType) Equals

Equals returns true if all the fields of this RequestWithDuplicateType match the provided RequestWithDuplicateType.

This function performs a deep comparison.

func (*RequestWithDuplicateType) FromWire

func (v *RequestWithDuplicateType) FromWire(w wire.Value) error

FromWire deserializes a RequestWithDuplicateType struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

An error is returned if we were unable to build a RequestWithDuplicateType struct from the provided intermediate representation.

x, err := binaryProtocol.Decode(reader, wire.TStruct)
if err != nil {
  return nil, err
}

var v RequestWithDuplicateType
if err := v.FromWire(x); err != nil {
  return nil, err
}
return &v, nil

func (*RequestWithDuplicateType) GetRequest1

func (v *RequestWithDuplicateType) GetRequest1() (o *BarRequest)

GetRequest1 returns the value of Request1 if it is set or its zero value if it is unset.

func (*RequestWithDuplicateType) GetRequest2

func (v *RequestWithDuplicateType) GetRequest2() (o *BarRequest)

GetRequest2 returns the value of Request2 if it is set or its zero value if it is unset.

func (*RequestWithDuplicateType) IsSetRequest1

func (v *RequestWithDuplicateType) IsSetRequest1() bool

IsSetRequest1 returns true if Request1 is not nil.

func (*RequestWithDuplicateType) IsSetRequest2

func (v *RequestWithDuplicateType) IsSetRequest2() bool

IsSetRequest2 returns true if Request2 is not nil.

func (RequestWithDuplicateType) MarshalEasyJSON

func (v RequestWithDuplicateType) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (RequestWithDuplicateType) MarshalJSON

func (v RequestWithDuplicateType) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*RequestWithDuplicateType) MarshalLogObject

func (v *RequestWithDuplicateType) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestWithDuplicateType.

func (*RequestWithDuplicateType) String

func (v *RequestWithDuplicateType) String() string

String returns a readable string representation of a RequestWithDuplicateType struct.

func (*RequestWithDuplicateType) ToWire

func (v *RequestWithDuplicateType) ToWire() (wire.Value, error)

ToWire translates a RequestWithDuplicateType struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

An error is returned if the struct or any of its fields failed to validate.

x, err := v.ToWire()
if err != nil {
  return err
}

if err := binaryProtocol.Encode(x, writer); err != nil {
  return err
}

func (*RequestWithDuplicateType) UnmarshalEasyJSON

func (v *RequestWithDuplicateType) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*RequestWithDuplicateType) UnmarshalJSON

func (v *RequestWithDuplicateType) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type StringList

type StringList []string

func (StringList) Equals

func (lhs StringList) Equals(rhs StringList) bool

Equals returns true if this StringList is equal to the provided StringList.

func (*StringList) FromWire

func (v *StringList) FromWire(w wire.Value) error

FromWire deserializes StringList from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

func (StringList) MarshalLogArray

func (v StringList) MarshalLogArray(enc zapcore.ArrayEncoder) error

func (StringList) String

func (v StringList) String() string

String returns a readable string representation of StringList.

func (StringList) ToWire

func (v StringList) ToWire() (wire.Value, error)

ToWire translates StringList into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

type Timestamp

type Timestamp int64

func (Timestamp) Equals

func (lhs Timestamp) Equals(rhs Timestamp) bool

Equals returns true if this Timestamp is equal to the provided Timestamp.

func (*Timestamp) FromWire

func (v *Timestamp) FromWire(w wire.Value) error

FromWire deserializes Timestamp from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

func (Timestamp) MarshalJSON

func (v Timestamp) MarshalJSON() ([]byte, error)

func (Timestamp) Ptr

func (v Timestamp) Ptr() *Timestamp

TimestampPtr returns a pointer to a Timestamp

func (Timestamp) String

func (v Timestamp) String() string

String returns a readable string representation of Timestamp.

func (Timestamp) ToWire

func (v Timestamp) ToWire() (wire.Value, error)

ToWire translates Timestamp into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

func (*Timestamp) UnmarshalJSON

func (v *Timestamp) UnmarshalJSON(text []byte) error

type UUID

type UUID string

func (UUID) Equals

func (lhs UUID) Equals(rhs UUID) bool

Equals returns true if this UUID is equal to the provided UUID.

func (*UUID) FromWire

func (v *UUID) FromWire(w wire.Value) error

FromWire deserializes UUID from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

func (UUID) Ptr

func (v UUID) Ptr() *UUID

UUIDPtr returns a pointer to a UUID

func (UUID) String

func (v UUID) String() string

String returns a readable string representation of UUID.

func (UUID) ToWire

func (v UUID) ToWire() (wire.Value, error)

ToWire translates UUID into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

type UUIDList

type UUIDList []UUID

func (UUIDList) Equals

func (lhs UUIDList) Equals(rhs UUIDList) bool

Equals returns true if this UUIDList is equal to the provided UUIDList.

func (*UUIDList) FromWire

func (v *UUIDList) FromWire(w wire.Value) error

FromWire deserializes UUIDList from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.

func (UUIDList) MarshalLogArray

func (v UUIDList) MarshalLogArray(enc zapcore.ArrayEncoder) error

func (UUIDList) String

func (v UUIDList) String() string

String returns a readable string representation of UUIDList.

func (UUIDList) ToWire

func (v UUIDList) ToWire() (wire.Value, error)

ToWire translates UUIDList into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL