Back to godoc.org

Package baz

v0.4.5-0...-6c4dee4
Latest Go to latest

The latest major version is .

Published: Jul 6, 2020 | License: MIT | Module: github.com/xiot/zanzibar

Index

Variables

var SimpleService_AnotherCall_Helper = struct {
	// Args accepts the parameters of anotherCall in-order and returns
	// the arguments struct for the function.
	Args func(
		arg *BazRequest,
		i64Optional *int64,
		testUUID *UUID,
	) *SimpleService_AnotherCall_Args

	// IsException returns true if the given error can be thrown
	// by anotherCall.
	//
	// An error can be thrown by anotherCall 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 anotherCall
	// given the error returned by it. The provided error may
	// be nil if anotherCall did not fail.
	//
	// This allows mapping errors returned by anotherCall into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// anotherCall
	//
	//   err := anotherCall(args)
	//   result, err := SimpleService_AnotherCall_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from anotherCall: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*SimpleService_AnotherCall_Result, error)

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

SimpleService_AnotherCall_Helper provides functions that aid in handling the parameters and return values of the SimpleService.anotherCall function.

var SimpleService_Call_Helper = struct {
	// Args accepts the parameters of call in-order and returns
	// the arguments struct for the function.
	Args func(
		arg *BazRequest,
		i64Optional *int64,
		testUUID *UUID,
	) *SimpleService_Call_Args

	// IsException returns true if the given error can be thrown
	// by call.
	//
	// An error can be thrown by call 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 call
	// given the error returned by it. The provided error may
	// be nil if call did not fail.
	//
	// This allows mapping errors returned by call into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// call
	//
	//   err := call(args)
	//   result, err := SimpleService_Call_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from call: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*SimpleService_Call_Result, error)

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

SimpleService_Call_Helper provides functions that aid in handling the parameters and return values of the SimpleService.call function.

var SimpleService_Compare_Helper = struct {
	// Args accepts the parameters of compare in-order and returns
	// the arguments struct for the function.
	Args func(
		arg1 *BazRequest,
		arg2 *BazRequest,
	) *SimpleService_Compare_Args

	// IsException returns true if the given error can be thrown
	// by compare.
	//
	// An error can be thrown by compare 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 compare
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// compare into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by compare
	//
	//   value, err := compare(args)
	//   result, err := SimpleService_Compare_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from compare: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BazResponse, error) (*SimpleService_Compare_Result, error)

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

SimpleService_Compare_Helper provides functions that aid in handling the parameters and return values of the SimpleService.compare function.

var SimpleService_GetProfile_Helper = struct {
	// Args accepts the parameters of getProfile in-order and returns
	// the arguments struct for the function.
	Args func(
		request *GetProfileRequest,
	) *SimpleService_GetProfile_Args

	// IsException returns true if the given error can be thrown
	// by getProfile.
	//
	// An error can be thrown by getProfile 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 getProfile
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// getProfile into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by getProfile
	//
	//   value, err := getProfile(args)
	//   result, err := SimpleService_GetProfile_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from getProfile: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*GetProfileResponse, error) (*SimpleService_GetProfile_Result, error)

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

SimpleService_GetProfile_Helper provides functions that aid in handling the parameters and return values of the SimpleService.getProfile function.

var SimpleService_HeaderSchema_Helper = struct {
	// Args accepts the parameters of headerSchema in-order and returns
	// the arguments struct for the function.
	Args func(
		req *HeaderSchema,
	) *SimpleService_HeaderSchema_Args

	// IsException returns true if the given error can be thrown
	// by headerSchema.
	//
	// An error can be thrown by headerSchema 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 headerSchema
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// headerSchema into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by headerSchema
	//
	//   value, err := headerSchema(args)
	//   result, err := SimpleService_HeaderSchema_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from headerSchema: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*HeaderSchema, error) (*SimpleService_HeaderSchema_Result, error)

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

SimpleService_HeaderSchema_Helper provides functions that aid in handling the parameters and return values of the SimpleService.headerSchema function.

var SimpleService_Ping_Helper = struct {
	// Args accepts the parameters of ping in-order and returns
	// the arguments struct for the function.
	Args func() *SimpleService_Ping_Args

	// IsException returns true if the given error can be thrown
	// by ping.
	//
	// An error can be thrown by ping 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 ping
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// ping into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by ping
	//
	//   value, err := ping(args)
	//   result, err := SimpleService_Ping_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from ping: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*BazResponse, error) (*SimpleService_Ping_Result, error)

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

SimpleService_Ping_Helper provides functions that aid in handling the parameters and return values of the SimpleService.ping function.

var SimpleService_SillyNoop_Helper = struct {
	// Args accepts the parameters of sillyNoop in-order and returns
	// the arguments struct for the function.
	Args func() *SimpleService_SillyNoop_Args

	// IsException returns true if the given error can be thrown
	// by sillyNoop.
	//
	// An error can be thrown by sillyNoop 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 sillyNoop
	// given the error returned by it. The provided error may
	// be nil if sillyNoop did not fail.
	//
	// This allows mapping errors returned by sillyNoop into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// sillyNoop
	//
	//   err := sillyNoop(args)
	//   result, err := SimpleService_SillyNoop_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from sillyNoop: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*SimpleService_SillyNoop_Result, error)

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

SimpleService_SillyNoop_Helper provides functions that aid in handling the parameters and return values of the SimpleService.sillyNoop function.

var SimpleService_TestUuid_Helper = struct {
	// Args accepts the parameters of testUuid in-order and returns
	// the arguments struct for the function.
	Args func() *SimpleService_TestUuid_Args

	// IsException returns true if the given error can be thrown
	// by testUuid.
	//
	// An error can be thrown by testUuid 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 testUuid
	// given the error returned by it. The provided error may
	// be nil if testUuid did not fail.
	//
	// This allows mapping errors returned by testUuid into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// testUuid
	//
	//   err := testUuid(args)
	//   result, err := SimpleService_TestUuid_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from testUuid: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*SimpleService_TestUuid_Result, error)

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

SimpleService_TestUuid_Helper provides functions that aid in handling the parameters and return values of the SimpleService.testUuid function.

var SimpleService_TransHeadersNoReq_Helper = struct {
	// Args accepts the parameters of transHeadersNoReq in-order and returns
	// the arguments struct for the function.
	Args func() *SimpleService_TransHeadersNoReq_Args

	// IsException returns true if the given error can be thrown
	// by transHeadersNoReq.
	//
	// An error can be thrown by transHeadersNoReq 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 transHeadersNoReq
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// transHeadersNoReq into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by transHeadersNoReq
	//
	//   value, err := transHeadersNoReq(args)
	//   result, err := SimpleService_TransHeadersNoReq_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from transHeadersNoReq: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*TransHeader, error) (*SimpleService_TransHeadersNoReq_Result, error)

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

SimpleService_TransHeadersNoReq_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeadersNoReq function.

var SimpleService_TransHeadersType_Helper = struct {
	// Args accepts the parameters of transHeadersType in-order and returns
	// the arguments struct for the function.
	Args func(
		req *TransHeader,
	) *SimpleService_TransHeadersType_Args

	// IsException returns true if the given error can be thrown
	// by transHeadersType.
	//
	// An error can be thrown by transHeadersType 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 transHeadersType
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// transHeadersType into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by transHeadersType
	//
	//   value, err := transHeadersType(args)
	//   result, err := SimpleService_TransHeadersType_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from transHeadersType: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*TransHeader, error) (*SimpleService_TransHeadersType_Result, error)

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

SimpleService_TransHeadersType_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeadersType function.

var SimpleService_TransHeaders_Helper = struct {
	// Args accepts the parameters of transHeaders in-order and returns
	// the arguments struct for the function.
	Args func(
		req *TransHeader,
	) *SimpleService_TransHeaders_Args

	// IsException returns true if the given error can be thrown
	// by transHeaders.
	//
	// An error can be thrown by transHeaders 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 transHeaders
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// transHeaders into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by transHeaders
	//
	//   value, err := transHeaders(args)
	//   result, err := SimpleService_TransHeaders_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from transHeaders: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*TransHeader, error) (*SimpleService_TransHeaders_Result, error)

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

SimpleService_TransHeaders_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeaders function.

var SimpleService_Trans_Helper = struct {
	// Args accepts the parameters of trans in-order and returns
	// the arguments struct for the function.
	Args func(
		arg1 *TransStruct,
		arg2 *TransStruct,
	) *SimpleService_Trans_Args

	// IsException returns true if the given error can be thrown
	// by trans.
	//
	// An error can be thrown by trans 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 trans
	// given its return value and error.
	//
	// This allows mapping values and errors returned by
	// trans into a serializable result struct.
	// WrapResponse returns a non-nil error if the provided
	// error cannot be thrown by trans
	//
	//   value, err := trans(args)
	//   result, err := SimpleService_Trans_Helper.WrapResponse(value, err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from trans: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(*TransStruct, error) (*SimpleService_Trans_Result, error)

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

SimpleService_Trans_Helper provides functions that aid in handling the parameters and return values of the SimpleService.trans function.

var SimpleService_UrlTest_Helper = struct {
	// Args accepts the parameters of urlTest in-order and returns
	// the arguments struct for the function.
	Args func() *SimpleService_UrlTest_Args

	// IsException returns true if the given error can be thrown
	// by urlTest.
	//
	// An error can be thrown by urlTest 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 urlTest
	// given the error returned by it. The provided error may
	// be nil if urlTest did not fail.
	//
	// This allows mapping errors returned by urlTest into a
	// serializable result struct. WrapResponse returns a
	// non-nil error if the provided error cannot be thrown by
	// urlTest
	//
	//   err := urlTest(args)
	//   result, err := SimpleService_UrlTest_Helper.WrapResponse(err)
	//   if err != nil {
	//     return fmt.Errorf("unexpected error from urlTest: %v", err)
	//   }
	//   serialize(result)
	WrapResponse func(error) (*SimpleService_UrlTest_Result, error)

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

SimpleService_UrlTest_Helper provides functions that aid in handling the parameters and return values of the SimpleService.urlTest function.

type AuthErr

type AuthErr struct {
	Message string `json:"message,required"`
}

func (*AuthErr) Equals

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

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

This function performs a deep comparison.

func (*AuthErr) Error

func (v *AuthErr) Error() string

func (*AuthErr) FromWire

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

FromWire deserializes a AuthErr 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 AuthErr struct from the provided intermediate representation.

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

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

func (*AuthErr) GetMessage

func (v *AuthErr) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (AuthErr) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (AuthErr) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*AuthErr) MarshalLogObject

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

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

func (*AuthErr) String

func (v *AuthErr) String() string

String returns a readable string representation of a AuthErr struct.

func (*AuthErr) ToWire

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

ToWire translates a AuthErr 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 (*AuthErr) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AuthErr) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type BazRequest

type BazRequest struct {
	B1 bool   `json:"b1,required"`
	S2 string `json:"s2,required"`
	I3 int32  `json:"i3,required"`
}

func (*BazRequest) Equals

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

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

This function performs a deep comparison.

func (*BazRequest) FromWire

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

FromWire deserializes a BazRequest 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 BazRequest struct from the provided intermediate representation.

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

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

func (*BazRequest) GetB1

func (v *BazRequest) GetB1() (o bool)

GetB1 returns the value of B1 if it is set or its zero value if it is unset.

func (*BazRequest) GetI3

func (v *BazRequest) GetI3() (o int32)

GetI3 returns the value of I3 if it is set or its zero value if it is unset.

func (*BazRequest) GetS2

func (v *BazRequest) GetS2() (o string)

GetS2 returns the value of S2 if it is set or its zero value if it is unset.

func (BazRequest) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (BazRequest) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*BazRequest) MarshalLogObject

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

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

func (*BazRequest) String

func (v *BazRequest) String() string

String returns a readable string representation of a BazRequest struct.

func (*BazRequest) ToWire

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

ToWire translates a BazRequest 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 (*BazRequest) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BazRequest) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type BazResponse

type BazResponse struct {
	Message string `json:"message,required"`
}

func (*BazResponse) Equals

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

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

This function performs a deep comparison.

func (*BazResponse) FromWire

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

FromWire deserializes a BazResponse 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 BazResponse struct from the provided intermediate representation.

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

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

func (*BazResponse) GetMessage

func (v *BazResponse) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (BazResponse) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (BazResponse) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*BazResponse) MarshalLogObject

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

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

func (*BazResponse) String

func (v *BazResponse) String() string

String returns a readable string representation of a BazResponse struct.

func (*BazResponse) ToWire

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

ToWire translates a BazResponse 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 (*BazResponse) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BazResponse) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetProfileRequest

type GetProfileRequest struct {
	Target UUID `json:"target,required"`
}

func (*GetProfileRequest) Equals

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

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

This function performs a deep comparison.

func (*GetProfileRequest) FromWire

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

FromWire deserializes a GetProfileRequest 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 GetProfileRequest struct from the provided intermediate representation.

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

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

func (*GetProfileRequest) GetTarget

func (v *GetProfileRequest) GetTarget() (o UUID)

GetTarget returns the value of Target if it is set or its zero value if it is unset.

func (GetProfileRequest) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetProfileRequest) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetProfileRequest) MarshalLogObject

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

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

func (*GetProfileRequest) String

func (v *GetProfileRequest) String() string

String returns a readable string representation of a GetProfileRequest struct.

func (*GetProfileRequest) ToWire

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

ToWire translates a GetProfileRequest 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 (*GetProfileRequest) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetProfileRequest) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type GetProfileResponse

type GetProfileResponse struct {
	Payloads []*Profile `json:"payloads,required"`
}

func (*GetProfileResponse) Equals

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

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

This function performs a deep comparison.

func (*GetProfileResponse) FromWire

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

FromWire deserializes a GetProfileResponse 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 GetProfileResponse struct from the provided intermediate representation.

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

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

func (*GetProfileResponse) GetPayloads

func (v *GetProfileResponse) GetPayloads() (o []*Profile)

GetPayloads returns the value of Payloads if it is set or its zero value if it is unset.

func (*GetProfileResponse) IsSetPayloads

func (v *GetProfileResponse) IsSetPayloads() bool

IsSetPayloads returns true if Payloads is not nil.

func (GetProfileResponse) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetProfileResponse) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*GetProfileResponse) MarshalLogObject

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

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

func (*GetProfileResponse) String

func (v *GetProfileResponse) String() string

String returns a readable string representation of a GetProfileResponse struct.

func (*GetProfileResponse) ToWire

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

ToWire translates a GetProfileResponse 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 (*GetProfileResponse) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetProfileResponse) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type HeaderSchema

type HeaderSchema struct {
}

func (*HeaderSchema) Equals

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

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

This function performs a deep comparison.

func (*HeaderSchema) FromWire

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

FromWire deserializes a HeaderSchema 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 HeaderSchema struct from the provided intermediate representation.

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

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

func (HeaderSchema) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (HeaderSchema) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*HeaderSchema) MarshalLogObject

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

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

func (*HeaderSchema) String

func (v *HeaderSchema) String() string

String returns a readable string representation of a HeaderSchema struct.

func (*HeaderSchema) ToWire

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

ToWire translates a HeaderSchema 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 (*HeaderSchema) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*HeaderSchema) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type NestedStruct

type NestedStruct struct {
	Msg   string `json:"msg,required"`
	Check *int32 `json:"check,omitempty"`
}

func (*NestedStruct) Equals

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

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

This function performs a deep comparison.

func (*NestedStruct) FromWire

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

FromWire deserializes a NestedStruct 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 NestedStruct struct from the provided intermediate representation.

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

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

func (*NestedStruct) GetCheck

func (v *NestedStruct) GetCheck() (o int32)

GetCheck returns the value of Check if it is set or its zero value if it is unset.

func (*NestedStruct) GetMsg

func (v *NestedStruct) GetMsg() (o string)

GetMsg returns the value of Msg if it is set or its zero value if it is unset.

func (*NestedStruct) IsSetCheck

func (v *NestedStruct) IsSetCheck() bool

IsSetCheck returns true if Check is not nil.

func (NestedStruct) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (NestedStruct) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*NestedStruct) MarshalLogObject

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

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

func (*NestedStruct) String

func (v *NestedStruct) String() string

String returns a readable string representation of a NestedStruct struct.

func (*NestedStruct) ToWire

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

ToWire translates a NestedStruct 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 (*NestedStruct) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*NestedStruct) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type OtherAuthErr

type OtherAuthErr struct {
	Message string `json:"message,required"`
}

func (*OtherAuthErr) Equals

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

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

This function performs a deep comparison.

func (*OtherAuthErr) Error

func (v *OtherAuthErr) Error() string

func (*OtherAuthErr) FromWire

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

FromWire deserializes a OtherAuthErr 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 OtherAuthErr struct from the provided intermediate representation.

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

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

func (*OtherAuthErr) GetMessage

func (v *OtherAuthErr) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (OtherAuthErr) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (OtherAuthErr) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*OtherAuthErr) MarshalLogObject

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

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

func (*OtherAuthErr) String

func (v *OtherAuthErr) String() string

String returns a readable string representation of a OtherAuthErr struct.

func (*OtherAuthErr) ToWire

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

ToWire translates a OtherAuthErr 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 (*OtherAuthErr) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*OtherAuthErr) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Profile

type Profile struct {
	Recur1 *Recur1 `json:"recur1,required"`
}

func (*Profile) Equals

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

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

This function performs a deep comparison.

func (*Profile) FromWire

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

FromWire deserializes a Profile 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 Profile struct from the provided intermediate representation.

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

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

func (*Profile) GetRecur1

func (v *Profile) GetRecur1() (o *Recur1)

GetRecur1 returns the value of Recur1 if it is set or its zero value if it is unset.

func (*Profile) IsSetRecur1

func (v *Profile) IsSetRecur1() bool

IsSetRecur1 returns true if Recur1 is not nil.

func (Profile) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Profile) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Profile) MarshalLogObject

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

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

func (*Profile) String

func (v *Profile) String() string

String returns a readable string representation of a Profile struct.

func (*Profile) ToWire

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

ToWire translates a Profile 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 (*Profile) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Profile) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Recur1

type Recur1 struct {
	Field1 map[UUID]*Recur2 `json:"field1,required"`
}

func (*Recur1) Equals

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

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

This function performs a deep comparison.

func (*Recur1) FromWire

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

FromWire deserializes a Recur1 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 Recur1 struct from the provided intermediate representation.

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

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

func (*Recur1) GetField1

func (v *Recur1) GetField1() (o map[UUID]*Recur2)

GetField1 returns the value of Field1 if it is set or its zero value if it is unset.

func (*Recur1) IsSetField1

func (v *Recur1) IsSetField1() bool

IsSetField1 returns true if Field1 is not nil.

func (Recur1) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Recur1) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Recur1) MarshalLogObject

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

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

func (*Recur1) String

func (v *Recur1) String() string

String returns a readable string representation of a Recur1 struct.

func (*Recur1) ToWire

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

ToWire translates a Recur1 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 (*Recur1) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Recur1) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Recur2

type Recur2 struct {
	Field21 *Recur3 `json:"field21,required"`
	Field22 *Recur3 `json:"field22,required"`
}

func (*Recur2) Equals

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

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

This function performs a deep comparison.

func (*Recur2) FromWire

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

FromWire deserializes a Recur2 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 Recur2 struct from the provided intermediate representation.

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

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

func (*Recur2) GetField21

func (v *Recur2) GetField21() (o *Recur3)

GetField21 returns the value of Field21 if it is set or its zero value if it is unset.

func (*Recur2) GetField22

func (v *Recur2) GetField22() (o *Recur3)

GetField22 returns the value of Field22 if it is set or its zero value if it is unset.

func (*Recur2) IsSetField21

func (v *Recur2) IsSetField21() bool

IsSetField21 returns true if Field21 is not nil.

func (*Recur2) IsSetField22

func (v *Recur2) IsSetField22() bool

IsSetField22 returns true if Field22 is not nil.

func (Recur2) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Recur2) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Recur2) MarshalLogObject

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

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

func (*Recur2) String

func (v *Recur2) String() string

String returns a readable string representation of a Recur2 struct.

func (*Recur2) ToWire

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

ToWire translates a Recur2 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 (*Recur2) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Recur2) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Recur3

type Recur3 struct {
	Field31 UUID `json:"field31,required"`
}

func (*Recur3) Equals

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

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

This function performs a deep comparison.

func (*Recur3) FromWire

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

FromWire deserializes a Recur3 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 Recur3 struct from the provided intermediate representation.

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

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

func (*Recur3) GetField31

func (v *Recur3) GetField31() (o UUID)

GetField31 returns the value of Field31 if it is set or its zero value if it is unset.

func (Recur3) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (Recur3) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*Recur3) MarshalLogObject

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

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

func (*Recur3) String

func (v *Recur3) String() string

String returns a readable string representation of a Recur3 struct.

func (*Recur3) ToWire

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

ToWire translates a Recur3 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 (*Recur3) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Recur3) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type ServerErr

type ServerErr struct {
	Message string `json:"message,required"`
}

func (*ServerErr) Equals

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

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

This function performs a deep comparison.

func (*ServerErr) Error

func (v *ServerErr) Error() string

func (*ServerErr) FromWire

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

FromWire deserializes a ServerErr 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 ServerErr struct from the provided intermediate representation.

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

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

func (*ServerErr) GetMessage

func (v *ServerErr) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (ServerErr) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (ServerErr) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*ServerErr) MarshalLogObject

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

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

func (*ServerErr) String

func (v *ServerErr) String() string

String returns a readable string representation of a ServerErr struct.

func (*ServerErr) ToWire

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

ToWire translates a ServerErr 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 (*ServerErr) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ServerErr) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_AnotherCall_Args

type SimpleService_AnotherCall_Args struct {
	Arg         *BazRequest `json:"arg,required"`
	I64Optional *int64      `json:"i64Optional,omitempty"`
	TestUUID    *UUID       `json:"testUUID,omitempty"`
}

SimpleService_AnotherCall_Args represents the arguments for the SimpleService.anotherCall function.

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

func (*SimpleService_AnotherCall_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_AnotherCall_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_AnotherCall_Args) FromWire

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

FromWire deserializes a SimpleService_AnotherCall_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 SimpleService_AnotherCall_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_AnotherCall_Args) GetArg

func (v *SimpleService_AnotherCall_Args) GetArg() (o *BazRequest)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*SimpleService_AnotherCall_Args) GetI64Optional

func (v *SimpleService_AnotherCall_Args) GetI64Optional() (o int64)

GetI64Optional returns the value of I64Optional if it is set or its zero value if it is unset.

func (*SimpleService_AnotherCall_Args) GetTestUUID

func (v *SimpleService_AnotherCall_Args) GetTestUUID() (o UUID)

GetTestUUID returns the value of TestUUID if it is set or its zero value if it is unset.

func (*SimpleService_AnotherCall_Args) IsSetArg

func (v *SimpleService_AnotherCall_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (*SimpleService_AnotherCall_Args) IsSetI64Optional

func (v *SimpleService_AnotherCall_Args) IsSetI64Optional() bool

IsSetI64Optional returns true if I64Optional is not nil.

func (*SimpleService_AnotherCall_Args) IsSetTestUUID

func (v *SimpleService_AnotherCall_Args) IsSetTestUUID() bool

IsSetTestUUID returns true if TestUUID is not nil.

func (SimpleService_AnotherCall_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_AnotherCall_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_AnotherCall_Args) MarshalLogObject

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

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

func (*SimpleService_AnotherCall_Args) MethodName

func (v *SimpleService_AnotherCall_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 "anotherCall" for this struct.

func (*SimpleService_AnotherCall_Args) String

func (v *SimpleService_AnotherCall_Args) String() string

String returns a readable string representation of a SimpleService_AnotherCall_Args struct.

func (*SimpleService_AnotherCall_Args) ToWire

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

ToWire translates a SimpleService_AnotherCall_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 (*SimpleService_AnotherCall_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_AnotherCall_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_AnotherCall_Result

type SimpleService_AnotherCall_Result struct {
	AuthErr *AuthErr `json:"authErr,omitempty"`
}

SimpleService_AnotherCall_Result represents the result of a SimpleService.anotherCall function call.

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

func (*SimpleService_AnotherCall_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_AnotherCall_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_AnotherCall_Result) FromWire

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

FromWire deserializes a SimpleService_AnotherCall_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 SimpleService_AnotherCall_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_AnotherCall_Result) GetAuthErr

func (v *SimpleService_AnotherCall_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_AnotherCall_Result) IsSetAuthErr

func (v *SimpleService_AnotherCall_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (SimpleService_AnotherCall_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_AnotherCall_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_AnotherCall_Result) MarshalLogObject

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

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

func (*SimpleService_AnotherCall_Result) MethodName

func (v *SimpleService_AnotherCall_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 "anotherCall" for this struct.

func (*SimpleService_AnotherCall_Result) String

func (v *SimpleService_AnotherCall_Result) String() string

String returns a readable string representation of a SimpleService_AnotherCall_Result struct.

func (*SimpleService_AnotherCall_Result) ToWire

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

ToWire translates a SimpleService_AnotherCall_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 (*SimpleService_AnotherCall_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_AnotherCall_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Call_Args

type SimpleService_Call_Args struct {
	Arg         *BazRequest `json:"arg,required"`
	I64Optional *int64      `json:"i64Optional,omitempty"`
	TestUUID    *UUID       `json:"testUUID,omitempty"`
}

SimpleService_Call_Args represents the arguments for the SimpleService.call function.

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

func (*SimpleService_Call_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_Call_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Call_Args) FromWire

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

FromWire deserializes a SimpleService_Call_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 SimpleService_Call_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_Call_Args) GetArg

func (v *SimpleService_Call_Args) GetArg() (o *BazRequest)

GetArg returns the value of Arg if it is set or its zero value if it is unset.

func (*SimpleService_Call_Args) GetI64Optional

func (v *SimpleService_Call_Args) GetI64Optional() (o int64)

GetI64Optional returns the value of I64Optional if it is set or its zero value if it is unset.

func (*SimpleService_Call_Args) GetTestUUID

func (v *SimpleService_Call_Args) GetTestUUID() (o UUID)

GetTestUUID returns the value of TestUUID if it is set or its zero value if it is unset.

func (*SimpleService_Call_Args) IsSetArg

func (v *SimpleService_Call_Args) IsSetArg() bool

IsSetArg returns true if Arg is not nil.

func (*SimpleService_Call_Args) IsSetI64Optional

func (v *SimpleService_Call_Args) IsSetI64Optional() bool

IsSetI64Optional returns true if I64Optional is not nil.

func (*SimpleService_Call_Args) IsSetTestUUID

func (v *SimpleService_Call_Args) IsSetTestUUID() bool

IsSetTestUUID returns true if TestUUID is not nil.

func (SimpleService_Call_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Call_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Call_Args) MarshalLogObject

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

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

func (*SimpleService_Call_Args) MethodName

func (v *SimpleService_Call_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 "call" for this struct.

func (*SimpleService_Call_Args) String

func (v *SimpleService_Call_Args) String() string

String returns a readable string representation of a SimpleService_Call_Args struct.

func (*SimpleService_Call_Args) ToWire

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

ToWire translates a SimpleService_Call_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 (*SimpleService_Call_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Call_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Call_Result

type SimpleService_Call_Result struct {
	AuthErr *AuthErr `json:"authErr,omitempty"`
}

SimpleService_Call_Result represents the result of a SimpleService.call function call.

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

func (*SimpleService_Call_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_Call_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Call_Result) FromWire

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

FromWire deserializes a SimpleService_Call_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 SimpleService_Call_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_Call_Result) GetAuthErr

func (v *SimpleService_Call_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_Call_Result) IsSetAuthErr

func (v *SimpleService_Call_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (SimpleService_Call_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Call_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Call_Result) MarshalLogObject

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

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

func (*SimpleService_Call_Result) MethodName

func (v *SimpleService_Call_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 "call" for this struct.

func (*SimpleService_Call_Result) String

func (v *SimpleService_Call_Result) String() string

String returns a readable string representation of a SimpleService_Call_Result struct.

func (*SimpleService_Call_Result) ToWire

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

ToWire translates a SimpleService_Call_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 (*SimpleService_Call_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Call_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Compare_Args

type SimpleService_Compare_Args struct {
	Arg1 *BazRequest `json:"arg1,required"`
	Arg2 *BazRequest `json:"arg2,required"`
}

SimpleService_Compare_Args represents the arguments for the SimpleService.compare function.

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

func (*SimpleService_Compare_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_Compare_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Compare_Args) FromWire

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

FromWire deserializes a SimpleService_Compare_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 SimpleService_Compare_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_Compare_Args) GetArg1

func (v *SimpleService_Compare_Args) GetArg1() (o *BazRequest)

GetArg1 returns the value of Arg1 if it is set or its zero value if it is unset.

func (*SimpleService_Compare_Args) GetArg2

func (v *SimpleService_Compare_Args) GetArg2() (o *BazRequest)

GetArg2 returns the value of Arg2 if it is set or its zero value if it is unset.

func (*SimpleService_Compare_Args) IsSetArg1

func (v *SimpleService_Compare_Args) IsSetArg1() bool

IsSetArg1 returns true if Arg1 is not nil.

func (*SimpleService_Compare_Args) IsSetArg2

func (v *SimpleService_Compare_Args) IsSetArg2() bool

IsSetArg2 returns true if Arg2 is not nil.

func (SimpleService_Compare_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Compare_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Compare_Args) MarshalLogObject

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

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

func (*SimpleService_Compare_Args) MethodName

func (v *SimpleService_Compare_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 "compare" for this struct.

func (*SimpleService_Compare_Args) String

func (v *SimpleService_Compare_Args) String() string

String returns a readable string representation of a SimpleService_Compare_Args struct.

func (*SimpleService_Compare_Args) ToWire

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

ToWire translates a SimpleService_Compare_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 (*SimpleService_Compare_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Compare_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Compare_Result

type SimpleService_Compare_Result struct {
	// Value returned by compare after a successful execution.
	Success      *BazResponse  `json:"success,omitempty"`
	AuthErr      *AuthErr      `json:"authErr,omitempty"`
	OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"`
}

SimpleService_Compare_Result represents the result of a SimpleService.compare function call.

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

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

func (*SimpleService_Compare_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_Compare_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Compare_Result) FromWire

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

FromWire deserializes a SimpleService_Compare_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 SimpleService_Compare_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_Compare_Result) GetAuthErr

func (v *SimpleService_Compare_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_Compare_Result) GetOtherAuthErr

func (v *SimpleService_Compare_Result) GetOtherAuthErr() (o *OtherAuthErr)

GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.

func (*SimpleService_Compare_Result) GetSuccess

func (v *SimpleService_Compare_Result) GetSuccess() (o *BazResponse)

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

func (*SimpleService_Compare_Result) IsSetAuthErr

func (v *SimpleService_Compare_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_Compare_Result) IsSetOtherAuthErr

func (v *SimpleService_Compare_Result) IsSetOtherAuthErr() bool

IsSetOtherAuthErr returns true if OtherAuthErr is not nil.

func (*SimpleService_Compare_Result) IsSetSuccess

func (v *SimpleService_Compare_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_Compare_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Compare_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Compare_Result) MarshalLogObject

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

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

func (*SimpleService_Compare_Result) MethodName

func (v *SimpleService_Compare_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 "compare" for this struct.

func (*SimpleService_Compare_Result) String

func (v *SimpleService_Compare_Result) String() string

String returns a readable string representation of a SimpleService_Compare_Result struct.

func (*SimpleService_Compare_Result) ToWire

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

ToWire translates a SimpleService_Compare_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 (*SimpleService_Compare_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Compare_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_GetProfile_Args

type SimpleService_GetProfile_Args struct {
	Request *GetProfileRequest `json:"request,required"`
}

SimpleService_GetProfile_Args represents the arguments for the SimpleService.getProfile function.

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

func (*SimpleService_GetProfile_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_GetProfile_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_GetProfile_Args) FromWire

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

FromWire deserializes a SimpleService_GetProfile_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 SimpleService_GetProfile_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_GetProfile_Args) GetRequest

func (v *SimpleService_GetProfile_Args) GetRequest() (o *GetProfileRequest)

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

func (*SimpleService_GetProfile_Args) IsSetRequest

func (v *SimpleService_GetProfile_Args) IsSetRequest() bool

IsSetRequest returns true if Request is not nil.

func (SimpleService_GetProfile_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_GetProfile_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_GetProfile_Args) MarshalLogObject

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

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

func (*SimpleService_GetProfile_Args) MethodName

func (v *SimpleService_GetProfile_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 "getProfile" for this struct.

func (*SimpleService_GetProfile_Args) String

func (v *SimpleService_GetProfile_Args) String() string

String returns a readable string representation of a SimpleService_GetProfile_Args struct.

func (*SimpleService_GetProfile_Args) ToWire

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

ToWire translates a SimpleService_GetProfile_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 (*SimpleService_GetProfile_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_GetProfile_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_GetProfile_Result

type SimpleService_GetProfile_Result struct {
	// Value returned by getProfile after a successful execution.
	Success *GetProfileResponse `json:"success,omitempty"`
	AuthErr *AuthErr            `json:"authErr,omitempty"`
}

SimpleService_GetProfile_Result represents the result of a SimpleService.getProfile function call.

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

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

func (*SimpleService_GetProfile_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_GetProfile_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_GetProfile_Result) FromWire

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

FromWire deserializes a SimpleService_GetProfile_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 SimpleService_GetProfile_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_GetProfile_Result) GetAuthErr

func (v *SimpleService_GetProfile_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_GetProfile_Result) GetSuccess

func (v *SimpleService_GetProfile_Result) GetSuccess() (o *GetProfileResponse)

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

func (*SimpleService_GetProfile_Result) IsSetAuthErr

func (v *SimpleService_GetProfile_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_GetProfile_Result) IsSetSuccess

func (v *SimpleService_GetProfile_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_GetProfile_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_GetProfile_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_GetProfile_Result) MarshalLogObject

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

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

func (*SimpleService_GetProfile_Result) MethodName

func (v *SimpleService_GetProfile_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 "getProfile" for this struct.

func (*SimpleService_GetProfile_Result) String

func (v *SimpleService_GetProfile_Result) String() string

String returns a readable string representation of a SimpleService_GetProfile_Result struct.

func (*SimpleService_GetProfile_Result) ToWire

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

ToWire translates a SimpleService_GetProfile_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 (*SimpleService_GetProfile_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_GetProfile_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_HeaderSchema_Args

type SimpleService_HeaderSchema_Args struct {
	Req *HeaderSchema `json:"req,required"`
}

SimpleService_HeaderSchema_Args represents the arguments for the SimpleService.headerSchema function.

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

func (*SimpleService_HeaderSchema_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_HeaderSchema_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_HeaderSchema_Args) FromWire

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

FromWire deserializes a SimpleService_HeaderSchema_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 SimpleService_HeaderSchema_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_HeaderSchema_Args) GetReq

func (v *SimpleService_HeaderSchema_Args) GetReq() (o *HeaderSchema)

GetReq returns the value of Req if it is set or its zero value if it is unset.

func (*SimpleService_HeaderSchema_Args) IsSetReq

func (v *SimpleService_HeaderSchema_Args) IsSetReq() bool

IsSetReq returns true if Req is not nil.

func (SimpleService_HeaderSchema_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_HeaderSchema_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_HeaderSchema_Args) MarshalLogObject

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

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

func (*SimpleService_HeaderSchema_Args) MethodName

func (v *SimpleService_HeaderSchema_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 "headerSchema" for this struct.

func (*SimpleService_HeaderSchema_Args) String

func (v *SimpleService_HeaderSchema_Args) String() string

String returns a readable string representation of a SimpleService_HeaderSchema_Args struct.

func (*SimpleService_HeaderSchema_Args) ToWire

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

ToWire translates a SimpleService_HeaderSchema_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 (*SimpleService_HeaderSchema_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_HeaderSchema_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_HeaderSchema_Result

type SimpleService_HeaderSchema_Result struct {
	// Value returned by headerSchema after a successful execution.
	Success      *HeaderSchema `json:"success,omitempty"`
	AuthErr      *AuthErr      `json:"authErr,omitempty"`
	OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"`
}

SimpleService_HeaderSchema_Result represents the result of a SimpleService.headerSchema function call.

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

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

func (*SimpleService_HeaderSchema_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_HeaderSchema_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_HeaderSchema_Result) FromWire

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

FromWire deserializes a SimpleService_HeaderSchema_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 SimpleService_HeaderSchema_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_HeaderSchema_Result) GetAuthErr

func (v *SimpleService_HeaderSchema_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_HeaderSchema_Result) GetOtherAuthErr

func (v *SimpleService_HeaderSchema_Result) GetOtherAuthErr() (o *OtherAuthErr)

GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.

func (*SimpleService_HeaderSchema_Result) GetSuccess

func (v *SimpleService_HeaderSchema_Result) GetSuccess() (o *HeaderSchema)

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

func (*SimpleService_HeaderSchema_Result) IsSetAuthErr

func (v *SimpleService_HeaderSchema_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_HeaderSchema_Result) IsSetOtherAuthErr

func (v *SimpleService_HeaderSchema_Result) IsSetOtherAuthErr() bool

IsSetOtherAuthErr returns true if OtherAuthErr is not nil.

func (*SimpleService_HeaderSchema_Result) IsSetSuccess

func (v *SimpleService_HeaderSchema_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_HeaderSchema_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_HeaderSchema_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_HeaderSchema_Result) MarshalLogObject

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

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

func (*SimpleService_HeaderSchema_Result) MethodName

func (v *SimpleService_HeaderSchema_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 "headerSchema" for this struct.

func (*SimpleService_HeaderSchema_Result) String

func (v *SimpleService_HeaderSchema_Result) String() string

String returns a readable string representation of a SimpleService_HeaderSchema_Result struct.

func (*SimpleService_HeaderSchema_Result) ToWire

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

ToWire translates a SimpleService_HeaderSchema_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 (*SimpleService_HeaderSchema_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_HeaderSchema_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Ping_Args

type SimpleService_Ping_Args struct {
}

SimpleService_Ping_Args represents the arguments for the SimpleService.ping function.

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

func (*SimpleService_Ping_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_Ping_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Ping_Args) FromWire

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

FromWire deserializes a SimpleService_Ping_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 SimpleService_Ping_Args struct from the provided intermediate representation.

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

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

func (SimpleService_Ping_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Ping_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Ping_Args) MarshalLogObject

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

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

func (*SimpleService_Ping_Args) MethodName

func (v *SimpleService_Ping_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 "ping" for this struct.

func (*SimpleService_Ping_Args) String

func (v *SimpleService_Ping_Args) String() string

String returns a readable string representation of a SimpleService_Ping_Args struct.

func (*SimpleService_Ping_Args) ToWire

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

ToWire translates a SimpleService_Ping_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 (*SimpleService_Ping_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Ping_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Ping_Result

type SimpleService_Ping_Result struct {
	// Value returned by ping after a successful execution.
	Success *BazResponse `json:"success,omitempty"`
}

SimpleService_Ping_Result represents the result of a SimpleService.ping function call.

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

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

func (*SimpleService_Ping_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_Ping_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Ping_Result) FromWire

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

FromWire deserializes a SimpleService_Ping_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 SimpleService_Ping_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_Ping_Result) GetSuccess

func (v *SimpleService_Ping_Result) GetSuccess() (o *BazResponse)

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

func (*SimpleService_Ping_Result) IsSetSuccess

func (v *SimpleService_Ping_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_Ping_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Ping_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Ping_Result) MarshalLogObject

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

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

func (*SimpleService_Ping_Result) MethodName

func (v *SimpleService_Ping_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 "ping" for this struct.

func (*SimpleService_Ping_Result) String

func (v *SimpleService_Ping_Result) String() string

String returns a readable string representation of a SimpleService_Ping_Result struct.

func (*SimpleService_Ping_Result) ToWire

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

ToWire translates a SimpleService_Ping_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 (*SimpleService_Ping_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Ping_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_SillyNoop_Args

type SimpleService_SillyNoop_Args struct {
}

SimpleService_SillyNoop_Args represents the arguments for the SimpleService.sillyNoop function.

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

func (*SimpleService_SillyNoop_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_SillyNoop_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_SillyNoop_Args) FromWire

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

FromWire deserializes a SimpleService_SillyNoop_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 SimpleService_SillyNoop_Args struct from the provided intermediate representation.

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

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

func (SimpleService_SillyNoop_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_SillyNoop_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_SillyNoop_Args) MarshalLogObject

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

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

func (*SimpleService_SillyNoop_Args) MethodName

func (v *SimpleService_SillyNoop_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 "sillyNoop" for this struct.

func (*SimpleService_SillyNoop_Args) String

func (v *SimpleService_SillyNoop_Args) String() string

String returns a readable string representation of a SimpleService_SillyNoop_Args struct.

func (*SimpleService_SillyNoop_Args) ToWire

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

ToWire translates a SimpleService_SillyNoop_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 (*SimpleService_SillyNoop_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_SillyNoop_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_SillyNoop_Result

type SimpleService_SillyNoop_Result struct {
	AuthErr   *AuthErr   `json:"authErr,omitempty"`
	ServerErr *ServerErr `json:"serverErr,omitempty"`
}

SimpleService_SillyNoop_Result represents the result of a SimpleService.sillyNoop function call.

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

func (*SimpleService_SillyNoop_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_SillyNoop_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_SillyNoop_Result) FromWire

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

FromWire deserializes a SimpleService_SillyNoop_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 SimpleService_SillyNoop_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_SillyNoop_Result) GetAuthErr

func (v *SimpleService_SillyNoop_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_SillyNoop_Result) GetServerErr

func (v *SimpleService_SillyNoop_Result) GetServerErr() (o *ServerErr)

GetServerErr returns the value of ServerErr if it is set or its zero value if it is unset.

func (*SimpleService_SillyNoop_Result) IsSetAuthErr

func (v *SimpleService_SillyNoop_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_SillyNoop_Result) IsSetServerErr

func (v *SimpleService_SillyNoop_Result) IsSetServerErr() bool

IsSetServerErr returns true if ServerErr is not nil.

func (SimpleService_SillyNoop_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_SillyNoop_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_SillyNoop_Result) MarshalLogObject

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

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

func (*SimpleService_SillyNoop_Result) MethodName

func (v *SimpleService_SillyNoop_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 "sillyNoop" for this struct.

func (*SimpleService_SillyNoop_Result) String

func (v *SimpleService_SillyNoop_Result) String() string

String returns a readable string representation of a SimpleService_SillyNoop_Result struct.

func (*SimpleService_SillyNoop_Result) ToWire

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

ToWire translates a SimpleService_SillyNoop_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 (*SimpleService_SillyNoop_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_SillyNoop_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TestUuid_Args

type SimpleService_TestUuid_Args struct {
}

SimpleService_TestUuid_Args represents the arguments for the SimpleService.testUuid function.

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

func (*SimpleService_TestUuid_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_TestUuid_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TestUuid_Args) FromWire

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

FromWire deserializes a SimpleService_TestUuid_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 SimpleService_TestUuid_Args struct from the provided intermediate representation.

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

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

func (SimpleService_TestUuid_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TestUuid_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TestUuid_Args) MarshalLogObject

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

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

func (*SimpleService_TestUuid_Args) MethodName

func (v *SimpleService_TestUuid_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 "testUuid" for this struct.

func (*SimpleService_TestUuid_Args) String

func (v *SimpleService_TestUuid_Args) String() string

String returns a readable string representation of a SimpleService_TestUuid_Args struct.

func (*SimpleService_TestUuid_Args) ToWire

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

ToWire translates a SimpleService_TestUuid_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 (*SimpleService_TestUuid_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TestUuid_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TestUuid_Result

type SimpleService_TestUuid_Result struct {
}

SimpleService_TestUuid_Result represents the result of a SimpleService.testUuid function call.

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

func (*SimpleService_TestUuid_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_TestUuid_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TestUuid_Result) FromWire

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

FromWire deserializes a SimpleService_TestUuid_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 SimpleService_TestUuid_Result struct from the provided intermediate representation.

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

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

func (SimpleService_TestUuid_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TestUuid_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TestUuid_Result) MarshalLogObject

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

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

func (*SimpleService_TestUuid_Result) MethodName

func (v *SimpleService_TestUuid_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 "testUuid" for this struct.

func (*SimpleService_TestUuid_Result) String

func (v *SimpleService_TestUuid_Result) String() string

String returns a readable string representation of a SimpleService_TestUuid_Result struct.

func (*SimpleService_TestUuid_Result) ToWire

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

ToWire translates a SimpleService_TestUuid_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 (*SimpleService_TestUuid_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TestUuid_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeadersNoReq_Args

type SimpleService_TransHeadersNoReq_Args struct {
}

SimpleService_TransHeadersNoReq_Args represents the arguments for the SimpleService.transHeadersNoReq function.

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

func (*SimpleService_TransHeadersNoReq_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_TransHeadersNoReq_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeadersNoReq_Args) FromWire

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

FromWire deserializes a SimpleService_TransHeadersNoReq_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 SimpleService_TransHeadersNoReq_Args struct from the provided intermediate representation.

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

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

func (SimpleService_TransHeadersNoReq_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeadersNoReq_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeadersNoReq_Args) MarshalLogObject

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

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

func (*SimpleService_TransHeadersNoReq_Args) MethodName

func (v *SimpleService_TransHeadersNoReq_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 "transHeadersNoReq" for this struct.

func (*SimpleService_TransHeadersNoReq_Args) String

func (v *SimpleService_TransHeadersNoReq_Args) String() string

String returns a readable string representation of a SimpleService_TransHeadersNoReq_Args struct.

func (*SimpleService_TransHeadersNoReq_Args) ToWire

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

ToWire translates a SimpleService_TransHeadersNoReq_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 (*SimpleService_TransHeadersNoReq_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeadersNoReq_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeadersNoReq_Result

type SimpleService_TransHeadersNoReq_Result struct {
	// Value returned by transHeadersNoReq after a successful execution.
	Success *TransHeader `json:"success,omitempty"`
	AuthErr *AuthErr     `json:"authErr,omitempty"`
}

SimpleService_TransHeadersNoReq_Result represents the result of a SimpleService.transHeadersNoReq function call.

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

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

func (*SimpleService_TransHeadersNoReq_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_TransHeadersNoReq_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeadersNoReq_Result) FromWire

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

FromWire deserializes a SimpleService_TransHeadersNoReq_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 SimpleService_TransHeadersNoReq_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_TransHeadersNoReq_Result) GetAuthErr

func (v *SimpleService_TransHeadersNoReq_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_TransHeadersNoReq_Result) GetSuccess

func (v *SimpleService_TransHeadersNoReq_Result) GetSuccess() (o *TransHeader)

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

func (*SimpleService_TransHeadersNoReq_Result) IsSetAuthErr

func (v *SimpleService_TransHeadersNoReq_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_TransHeadersNoReq_Result) IsSetSuccess

func (v *SimpleService_TransHeadersNoReq_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_TransHeadersNoReq_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeadersNoReq_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeadersNoReq_Result) MarshalLogObject

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

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

func (*SimpleService_TransHeadersNoReq_Result) MethodName

func (v *SimpleService_TransHeadersNoReq_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 "transHeadersNoReq" for this struct.

func (*SimpleService_TransHeadersNoReq_Result) String

func (v *SimpleService_TransHeadersNoReq_Result) String() string

String returns a readable string representation of a SimpleService_TransHeadersNoReq_Result struct.

func (*SimpleService_TransHeadersNoReq_Result) ToWire

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

ToWire translates a SimpleService_TransHeadersNoReq_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 (*SimpleService_TransHeadersNoReq_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeadersNoReq_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeadersType_Args

type SimpleService_TransHeadersType_Args struct {
	Req *TransHeader `json:"req,required"`
}

SimpleService_TransHeadersType_Args represents the arguments for the SimpleService.transHeadersType function.

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

func (*SimpleService_TransHeadersType_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_TransHeadersType_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeadersType_Args) FromWire

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

FromWire deserializes a SimpleService_TransHeadersType_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 SimpleService_TransHeadersType_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_TransHeadersType_Args) GetReq

func (v *SimpleService_TransHeadersType_Args) GetReq() (o *TransHeader)

GetReq returns the value of Req if it is set or its zero value if it is unset.

func (*SimpleService_TransHeadersType_Args) IsSetReq

func (v *SimpleService_TransHeadersType_Args) IsSetReq() bool

IsSetReq returns true if Req is not nil.

func (SimpleService_TransHeadersType_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeadersType_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeadersType_Args) MarshalLogObject

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

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

func (*SimpleService_TransHeadersType_Args) MethodName

func (v *SimpleService_TransHeadersType_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 "transHeadersType" for this struct.

func (*SimpleService_TransHeadersType_Args) String

func (v *SimpleService_TransHeadersType_Args) String() string

String returns a readable string representation of a SimpleService_TransHeadersType_Args struct.

func (*SimpleService_TransHeadersType_Args) ToWire

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

ToWire translates a SimpleService_TransHeadersType_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 (*SimpleService_TransHeadersType_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeadersType_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeadersType_Result

type SimpleService_TransHeadersType_Result struct {
	// Value returned by transHeadersType after a successful execution.
	Success      *TransHeader  `json:"success,omitempty"`
	AuthErr      *AuthErr      `json:"authErr,omitempty"`
	OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"`
}

SimpleService_TransHeadersType_Result represents the result of a SimpleService.transHeadersType function call.

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

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

func (*SimpleService_TransHeadersType_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_TransHeadersType_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeadersType_Result) FromWire

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

FromWire deserializes a SimpleService_TransHeadersType_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 SimpleService_TransHeadersType_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_TransHeadersType_Result) GetAuthErr

func (v *SimpleService_TransHeadersType_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_TransHeadersType_Result) GetOtherAuthErr

func (v *SimpleService_TransHeadersType_Result) GetOtherAuthErr() (o *OtherAuthErr)

GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.

func (*SimpleService_TransHeadersType_Result) GetSuccess

func (v *SimpleService_TransHeadersType_Result) GetSuccess() (o *TransHeader)

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

func (*SimpleService_TransHeadersType_Result) IsSetAuthErr

func (v *SimpleService_TransHeadersType_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_TransHeadersType_Result) IsSetOtherAuthErr

func (v *SimpleService_TransHeadersType_Result) IsSetOtherAuthErr() bool

IsSetOtherAuthErr returns true if OtherAuthErr is not nil.

func (*SimpleService_TransHeadersType_Result) IsSetSuccess

func (v *SimpleService_TransHeadersType_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_TransHeadersType_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeadersType_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeadersType_Result) MarshalLogObject

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

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

func (*SimpleService_TransHeadersType_Result) MethodName

func (v *SimpleService_TransHeadersType_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 "transHeadersType" for this struct.

func (*SimpleService_TransHeadersType_Result) String

func (v *SimpleService_TransHeadersType_Result) String() string

String returns a readable string representation of a SimpleService_TransHeadersType_Result struct.

func (*SimpleService_TransHeadersType_Result) ToWire

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

ToWire translates a SimpleService_TransHeadersType_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 (*SimpleService_TransHeadersType_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeadersType_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeaders_Args

type SimpleService_TransHeaders_Args struct {
	Req *TransHeader `json:"req,required"`
}

SimpleService_TransHeaders_Args represents the arguments for the SimpleService.transHeaders function.

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

func (*SimpleService_TransHeaders_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_TransHeaders_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeaders_Args) FromWire

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

FromWire deserializes a SimpleService_TransHeaders_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 SimpleService_TransHeaders_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_TransHeaders_Args) GetReq

func (v *SimpleService_TransHeaders_Args) GetReq() (o *TransHeader)

GetReq returns the value of Req if it is set or its zero value if it is unset.

func (*SimpleService_TransHeaders_Args) IsSetReq

func (v *SimpleService_TransHeaders_Args) IsSetReq() bool

IsSetReq returns true if Req is not nil.

func (SimpleService_TransHeaders_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeaders_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeaders_Args) MarshalLogObject

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

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

func (*SimpleService_TransHeaders_Args) MethodName

func (v *SimpleService_TransHeaders_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 "transHeaders" for this struct.

func (*SimpleService_TransHeaders_Args) String

func (v *SimpleService_TransHeaders_Args) String() string

String returns a readable string representation of a SimpleService_TransHeaders_Args struct.

func (*SimpleService_TransHeaders_Args) ToWire

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

ToWire translates a SimpleService_TransHeaders_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 (*SimpleService_TransHeaders_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeaders_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_TransHeaders_Result

type SimpleService_TransHeaders_Result struct {
	// Value returned by transHeaders after a successful execution.
	Success      *TransHeader  `json:"success,omitempty"`
	AuthErr      *AuthErr      `json:"authErr,omitempty"`
	OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"`
}

SimpleService_TransHeaders_Result represents the result of a SimpleService.transHeaders function call.

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

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

func (*SimpleService_TransHeaders_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_TransHeaders_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_TransHeaders_Result) FromWire

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

FromWire deserializes a SimpleService_TransHeaders_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 SimpleService_TransHeaders_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_TransHeaders_Result) GetAuthErr

func (v *SimpleService_TransHeaders_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_TransHeaders_Result) GetOtherAuthErr

func (v *SimpleService_TransHeaders_Result) GetOtherAuthErr() (o *OtherAuthErr)

GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.

func (*SimpleService_TransHeaders_Result) GetSuccess

func (v *SimpleService_TransHeaders_Result) GetSuccess() (o *TransHeader)

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

func (*SimpleService_TransHeaders_Result) IsSetAuthErr

func (v *SimpleService_TransHeaders_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_TransHeaders_Result) IsSetOtherAuthErr

func (v *SimpleService_TransHeaders_Result) IsSetOtherAuthErr() bool

IsSetOtherAuthErr returns true if OtherAuthErr is not nil.

func (*SimpleService_TransHeaders_Result) IsSetSuccess

func (v *SimpleService_TransHeaders_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_TransHeaders_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_TransHeaders_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_TransHeaders_Result) MarshalLogObject

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

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

func (*SimpleService_TransHeaders_Result) MethodName

func (v *SimpleService_TransHeaders_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 "transHeaders" for this struct.

func (*SimpleService_TransHeaders_Result) String

func (v *SimpleService_TransHeaders_Result) String() string

String returns a readable string representation of a SimpleService_TransHeaders_Result struct.

func (*SimpleService_TransHeaders_Result) ToWire

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

ToWire translates a SimpleService_TransHeaders_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 (*SimpleService_TransHeaders_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_TransHeaders_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Trans_Args

type SimpleService_Trans_Args struct {
	Arg1 *TransStruct `json:"arg1,required"`
	Arg2 *TransStruct `json:"arg2,omitempty"`
}

SimpleService_Trans_Args represents the arguments for the SimpleService.trans function.

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

func (*SimpleService_Trans_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_Trans_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Trans_Args) FromWire

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

FromWire deserializes a SimpleService_Trans_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 SimpleService_Trans_Args struct from the provided intermediate representation.

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

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

func (*SimpleService_Trans_Args) GetArg1

func (v *SimpleService_Trans_Args) GetArg1() (o *TransStruct)

GetArg1 returns the value of Arg1 if it is set or its zero value if it is unset.

func (*SimpleService_Trans_Args) GetArg2

func (v *SimpleService_Trans_Args) GetArg2() (o *TransStruct)

GetArg2 returns the value of Arg2 if it is set or its zero value if it is unset.

func (*SimpleService_Trans_Args) IsSetArg1

func (v *SimpleService_Trans_Args) IsSetArg1() bool

IsSetArg1 returns true if Arg1 is not nil.

func (*SimpleService_Trans_Args) IsSetArg2

func (v *SimpleService_Trans_Args) IsSetArg2() bool

IsSetArg2 returns true if Arg2 is not nil.

func (SimpleService_Trans_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Trans_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Trans_Args) MarshalLogObject

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

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

func (*SimpleService_Trans_Args) MethodName

func (v *SimpleService_Trans_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 "trans" for this struct.

func (*SimpleService_Trans_Args) String

func (v *SimpleService_Trans_Args) String() string

String returns a readable string representation of a SimpleService_Trans_Args struct.

func (*SimpleService_Trans_Args) ToWire

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

ToWire translates a SimpleService_Trans_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 (*SimpleService_Trans_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Trans_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_Trans_Result

type SimpleService_Trans_Result struct {
	// Value returned by trans after a successful execution.
	Success      *TransStruct  `json:"success,omitempty"`
	AuthErr      *AuthErr      `json:"authErr,omitempty"`
	OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"`
}

SimpleService_Trans_Result represents the result of a SimpleService.trans function call.

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

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

func (*SimpleService_Trans_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_Trans_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_Trans_Result) FromWire

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

FromWire deserializes a SimpleService_Trans_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 SimpleService_Trans_Result struct from the provided intermediate representation.

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

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

func (*SimpleService_Trans_Result) GetAuthErr

func (v *SimpleService_Trans_Result) GetAuthErr() (o *AuthErr)

GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.

func (*SimpleService_Trans_Result) GetOtherAuthErr

func (v *SimpleService_Trans_Result) GetOtherAuthErr() (o *OtherAuthErr)

GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.

func (*SimpleService_Trans_Result) GetSuccess

func (v *SimpleService_Trans_Result) GetSuccess() (o *TransStruct)

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

func (*SimpleService_Trans_Result) IsSetAuthErr

func (v *SimpleService_Trans_Result) IsSetAuthErr() bool

IsSetAuthErr returns true if AuthErr is not nil.

func (*SimpleService_Trans_Result) IsSetOtherAuthErr

func (v *SimpleService_Trans_Result) IsSetOtherAuthErr() bool

IsSetOtherAuthErr returns true if OtherAuthErr is not nil.

func (*SimpleService_Trans_Result) IsSetSuccess

func (v *SimpleService_Trans_Result) IsSetSuccess() bool

IsSetSuccess returns true if Success is not nil.

func (SimpleService_Trans_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_Trans_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_Trans_Result) MarshalLogObject

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

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

func (*SimpleService_Trans_Result) MethodName

func (v *SimpleService_Trans_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 "trans" for this struct.

func (*SimpleService_Trans_Result) String

func (v *SimpleService_Trans_Result) String() string

String returns a readable string representation of a SimpleService_Trans_Result struct.

func (*SimpleService_Trans_Result) ToWire

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

ToWire translates a SimpleService_Trans_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 (*SimpleService_Trans_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_Trans_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_UrlTest_Args

type SimpleService_UrlTest_Args struct {
}

SimpleService_UrlTest_Args represents the arguments for the SimpleService.urlTest function.

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

func (*SimpleService_UrlTest_Args) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Call for this struct.

func (*SimpleService_UrlTest_Args) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_UrlTest_Args) FromWire

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

FromWire deserializes a SimpleService_UrlTest_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 SimpleService_UrlTest_Args struct from the provided intermediate representation.

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

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

func (SimpleService_UrlTest_Args) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_UrlTest_Args) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_UrlTest_Args) MarshalLogObject

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

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

func (*SimpleService_UrlTest_Args) MethodName

func (v *SimpleService_UrlTest_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 "urlTest" for this struct.

func (*SimpleService_UrlTest_Args) String

func (v *SimpleService_UrlTest_Args) String() string

String returns a readable string representation of a SimpleService_UrlTest_Args struct.

func (*SimpleService_UrlTest_Args) ToWire

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

ToWire translates a SimpleService_UrlTest_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 (*SimpleService_UrlTest_Args) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_UrlTest_Args) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type SimpleService_UrlTest_Result

type SimpleService_UrlTest_Result struct {
}

SimpleService_UrlTest_Result represents the result of a SimpleService.urlTest function call.

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

func (*SimpleService_UrlTest_Result) EnvelopeType

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

EnvelopeType returns the kind of value inside this struct.

This will always be Reply for this struct.

func (*SimpleService_UrlTest_Result) Equals

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

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

This function performs a deep comparison.

func (*SimpleService_UrlTest_Result) FromWire

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

FromWire deserializes a SimpleService_UrlTest_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 SimpleService_UrlTest_Result struct from the provided intermediate representation.

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

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

func (SimpleService_UrlTest_Result) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (SimpleService_UrlTest_Result) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*SimpleService_UrlTest_Result) MarshalLogObject

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

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

func (*SimpleService_UrlTest_Result) MethodName

func (v *SimpleService_UrlTest_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 "urlTest" for this struct.

func (*SimpleService_UrlTest_Result) String

func (v *SimpleService_UrlTest_Result) String() string

String returns a readable string representation of a SimpleService_UrlTest_Result struct.

func (*SimpleService_UrlTest_Result) ToWire

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

ToWire translates a SimpleService_UrlTest_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 (*SimpleService_UrlTest_Result) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SimpleService_UrlTest_Result) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type TransHeader

type TransHeader struct {
}

func (*TransHeader) Equals

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

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

This function performs a deep comparison.

func (*TransHeader) FromWire

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

FromWire deserializes a TransHeader 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 TransHeader struct from the provided intermediate representation.

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

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

func (TransHeader) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (TransHeader) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*TransHeader) MarshalLogObject

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

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

func (*TransHeader) String

func (v *TransHeader) String() string

String returns a readable string representation of a TransHeader struct.

func (*TransHeader) ToWire

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

ToWire translates a TransHeader 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 (*TransHeader) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TransHeader) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type TransStruct

type TransStruct struct {
	Message string        `json:"message,required"`
	Driver  *NestedStruct `json:"driver,omitempty"`
	Rider   *NestedStruct `json:"rider,required"`
}

func (*TransStruct) Equals

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

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

This function performs a deep comparison.

func (*TransStruct) FromWire

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

FromWire deserializes a TransStruct 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 TransStruct struct from the provided intermediate representation.

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

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

func (*TransStruct) GetDriver

func (v *TransStruct) GetDriver() (o *NestedStruct)

GetDriver returns the value of Driver if it is set or its zero value if it is unset.

func (*TransStruct) GetMessage

func (v *TransStruct) GetMessage() (o string)

GetMessage returns the value of Message if it is set or its zero value if it is unset.

func (*TransStruct) GetRider

func (v *TransStruct) GetRider() (o *NestedStruct)

GetRider returns the value of Rider if it is set or its zero value if it is unset.

func (*TransStruct) IsSetDriver

func (v *TransStruct) IsSetDriver() bool

IsSetDriver returns true if Driver is not nil.

func (*TransStruct) IsSetRider

func (v *TransStruct) IsSetRider() bool

IsSetRider returns true if Rider is not nil.

func (TransStruct) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (TransStruct) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*TransStruct) MarshalLogObject

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

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

func (*TransStruct) String

func (v *TransStruct) String() string

String returns a readable string representation of a TransStruct struct.

func (*TransStruct) ToWire

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

ToWire translates a TransStruct 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 (*TransStruct) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TransStruct) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier