Documentation ¶
Index ¶
- Variables
- type BarException
- func (v *BarException) Equals(rhs *BarException) bool
- func (v *BarException) Error() string
- func (v *BarException) FromWire(w wire.Value) error
- func (v BarException) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarException) MarshalJSON() ([]byte, error)
- func (v *BarException) String() string
- func (v *BarException) ToWire() (wire.Value, error)
- func (v *BarException) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BarException) UnmarshalJSON(data []byte) error
- type BarRequest
- func (v *BarRequest) Equals(rhs *BarRequest) bool
- func (v *BarRequest) FromWire(w wire.Value) error
- func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarRequest) MarshalJSON() ([]byte, error)
- func (v *BarRequest) String() string
- func (v *BarRequest) ToWire() (wire.Value, error)
- func (v *BarRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BarRequest) UnmarshalJSON(data []byte) error
- type BarRequestRecur
- func (v *BarRequestRecur) Equals(rhs *BarRequestRecur) bool
- func (v *BarRequestRecur) FromWire(w wire.Value) error
- func (v BarRequestRecur) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarRequestRecur) MarshalJSON() ([]byte, error)
- func (v *BarRequestRecur) String() string
- func (v *BarRequestRecur) ToWire() (wire.Value, error)
- func (v *BarRequestRecur) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BarRequestRecur) UnmarshalJSON(data []byte) error
- type BarResponse
- func (v *BarResponse) Equals(rhs *BarResponse) bool
- func (v *BarResponse) FromWire(w wire.Value) error
- func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarResponse) MarshalJSON() ([]byte, error)
- func (v *BarResponse) String() string
- func (v *BarResponse) ToWire() (wire.Value, error)
- func (v *BarResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BarResponse) UnmarshalJSON(data []byte) error
- type BarResponseRecur
- func (v *BarResponseRecur) Equals(rhs *BarResponseRecur) bool
- func (v *BarResponseRecur) FromWire(w wire.Value) error
- func (v BarResponseRecur) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarResponseRecur) MarshalJSON() ([]byte, error)
- func (v *BarResponseRecur) String() string
- func (v *BarResponseRecur) ToWire() (wire.Value, error)
- func (v *BarResponseRecur) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BarResponseRecur) UnmarshalJSON(data []byte) error
- type Bar_ArgNotStruct_Args
- func (v *Bar_ArgNotStruct_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgNotStruct_Args) Equals(rhs *Bar_ArgNotStruct_Args) bool
- func (v *Bar_ArgNotStruct_Args) FromWire(w wire.Value) error
- func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgNotStruct_Args) MethodName() string
- func (v *Bar_ArgNotStruct_Args) String() string
- func (v *Bar_ArgNotStruct_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgNotStruct_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgNotStruct_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgNotStruct_Result
- func (v *Bar_ArgNotStruct_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgNotStruct_Result) Equals(rhs *Bar_ArgNotStruct_Result) bool
- func (v *Bar_ArgNotStruct_Result) FromWire(w wire.Value) error
- func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgNotStruct_Result) MethodName() string
- func (v *Bar_ArgNotStruct_Result) String() string
- func (v *Bar_ArgNotStruct_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgNotStruct_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgNotStruct_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithHeaders_Args
- func (v *Bar_ArgWithHeaders_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithHeaders_Args) Equals(rhs *Bar_ArgWithHeaders_Args) bool
- func (v *Bar_ArgWithHeaders_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithHeaders_Args) GetUserUUID() (o string)
- func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithHeaders_Args) MethodName() string
- func (v *Bar_ArgWithHeaders_Args) String() string
- func (v *Bar_ArgWithHeaders_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithHeaders_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithHeaders_Result
- func (v *Bar_ArgWithHeaders_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithHeaders_Result) Equals(rhs *Bar_ArgWithHeaders_Result) bool
- func (v *Bar_ArgWithHeaders_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithHeaders_Result) MethodName() string
- func (v *Bar_ArgWithHeaders_Result) String() string
- func (v *Bar_ArgWithHeaders_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithHeaders_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithManyQueryParams_Args
- func (v *Bar_ArgWithManyQueryParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithManyQueryParams_Args) Equals(rhs *Bar_ArgWithManyQueryParams_Args) bool
- func (v *Bar_ArgWithManyQueryParams_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt16() (o int16)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt32() (o int32)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt64() (o int64)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt8() (o int8)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)
- func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithManyQueryParams_Args) MethodName() string
- func (v *Bar_ArgWithManyQueryParams_Args) String() string
- func (v *Bar_ArgWithManyQueryParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithManyQueryParams_Result
- func (v *Bar_ArgWithManyQueryParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithManyQueryParams_Result) Equals(rhs *Bar_ArgWithManyQueryParams_Result) bool
- func (v *Bar_ArgWithManyQueryParams_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithManyQueryParams_Result) MethodName() string
- func (v *Bar_ArgWithManyQueryParams_Result) String() string
- func (v *Bar_ArgWithManyQueryParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithNestedQueryParams_Args
- func (v *Bar_ArgWithNestedQueryParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithNestedQueryParams_Args) Equals(rhs *Bar_ArgWithNestedQueryParams_Args) bool
- func (v *Bar_ArgWithNestedQueryParams_Args) FromWire(w wire.Value) error
- func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNestedQueryParams_Args) MethodName() string
- func (v *Bar_ArgWithNestedQueryParams_Args) String() string
- func (v *Bar_ArgWithNestedQueryParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithNestedQueryParams_Result
- func (v *Bar_ArgWithNestedQueryParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithNestedQueryParams_Result) Equals(rhs *Bar_ArgWithNestedQueryParams_Result) bool
- func (v *Bar_ArgWithNestedQueryParams_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNestedQueryParams_Result) MethodName() string
- func (v *Bar_ArgWithNestedQueryParams_Result) String() string
- func (v *Bar_ArgWithNestedQueryParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithParams_Args
- func (v *Bar_ArgWithParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithParams_Args) Equals(rhs *Bar_ArgWithParams_Args) bool
- func (v *Bar_ArgWithParams_Args) FromWire(w wire.Value) error
- func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParams_Args) MethodName() string
- func (v *Bar_ArgWithParams_Args) String() string
- func (v *Bar_ArgWithParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithParams_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithParams_Result
- func (v *Bar_ArgWithParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithParams_Result) Equals(rhs *Bar_ArgWithParams_Result) bool
- func (v *Bar_ArgWithParams_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParams_Result) MethodName() string
- func (v *Bar_ArgWithParams_Result) String() string
- func (v *Bar_ArgWithParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithParams_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithQueryHeader_Args
- func (v *Bar_ArgWithQueryHeader_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithQueryHeader_Args) Equals(rhs *Bar_ArgWithQueryHeader_Args) bool
- func (v *Bar_ArgWithQueryHeader_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithQueryHeader_Args) GetUserUUID() (o string)
- func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryHeader_Args) MethodName() string
- func (v *Bar_ArgWithQueryHeader_Args) String() string
- func (v *Bar_ArgWithQueryHeader_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithQueryHeader_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithQueryHeader_Result
- func (v *Bar_ArgWithQueryHeader_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithQueryHeader_Result) Equals(rhs *Bar_ArgWithQueryHeader_Result) bool
- func (v *Bar_ArgWithQueryHeader_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryHeader_Result) MethodName() string
- func (v *Bar_ArgWithQueryHeader_Result) String() string
- func (v *Bar_ArgWithQueryHeader_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithQueryHeader_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithQueryParams_Args
- func (v *Bar_ArgWithQueryParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithQueryParams_Args) Equals(rhs *Bar_ArgWithQueryParams_Args) bool
- func (v *Bar_ArgWithQueryParams_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)
- func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryParams_Args) MethodName() string
- func (v *Bar_ArgWithQueryParams_Args) String() string
- func (v *Bar_ArgWithQueryParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithQueryParams_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithQueryParams_Result
- func (v *Bar_ArgWithQueryParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithQueryParams_Result) Equals(rhs *Bar_ArgWithQueryParams_Result) bool
- func (v *Bar_ArgWithQueryParams_Result) FromWire(w wire.Value) error
- func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryParams_Result) MethodName() string
- func (v *Bar_ArgWithQueryParams_Result) String() string
- func (v *Bar_ArgWithQueryParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithQueryParams_Result) UnmarshalJSON(data []byte) error
- type Bar_HelloWorld_Args
- func (v *Bar_HelloWorld_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_HelloWorld_Args) Equals(rhs *Bar_HelloWorld_Args) bool
- func (v *Bar_HelloWorld_Args) FromWire(w wire.Value) error
- func (v Bar_HelloWorld_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_HelloWorld_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_HelloWorld_Args) MethodName() string
- func (v *Bar_HelloWorld_Args) String() string
- func (v *Bar_HelloWorld_Args) ToWire() (wire.Value, error)
- func (v *Bar_HelloWorld_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_HelloWorld_Args) UnmarshalJSON(data []byte) error
- type Bar_HelloWorld_Result
- func (v *Bar_HelloWorld_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_HelloWorld_Result) Equals(rhs *Bar_HelloWorld_Result) bool
- func (v *Bar_HelloWorld_Result) FromWire(w wire.Value) error
- func (v *Bar_HelloWorld_Result) GetSuccess() (o string)
- func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_HelloWorld_Result) MethodName() string
- func (v *Bar_HelloWorld_Result) String() string
- func (v *Bar_HelloWorld_Result) ToWire() (wire.Value, error)
- func (v *Bar_HelloWorld_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_HelloWorld_Result) UnmarshalJSON(data []byte) error
- type Bar_MissingArg_Args
- func (v *Bar_MissingArg_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_MissingArg_Args) Equals(rhs *Bar_MissingArg_Args) bool
- func (v *Bar_MissingArg_Args) FromWire(w wire.Value) error
- func (v Bar_MissingArg_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_MissingArg_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_MissingArg_Args) MethodName() string
- func (v *Bar_MissingArg_Args) String() string
- func (v *Bar_MissingArg_Args) ToWire() (wire.Value, error)
- func (v *Bar_MissingArg_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_MissingArg_Args) UnmarshalJSON(data []byte) error
- type Bar_MissingArg_Result
- func (v *Bar_MissingArg_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_MissingArg_Result) Equals(rhs *Bar_MissingArg_Result) bool
- func (v *Bar_MissingArg_Result) FromWire(w wire.Value) error
- func (v Bar_MissingArg_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_MissingArg_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_MissingArg_Result) MethodName() string
- func (v *Bar_MissingArg_Result) String() string
- func (v *Bar_MissingArg_Result) ToWire() (wire.Value, error)
- func (v *Bar_MissingArg_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_MissingArg_Result) UnmarshalJSON(data []byte) error
- type Bar_NoRequest_Args
- func (v *Bar_NoRequest_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_NoRequest_Args) Equals(rhs *Bar_NoRequest_Args) bool
- func (v *Bar_NoRequest_Args) FromWire(w wire.Value) error
- func (v Bar_NoRequest_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_NoRequest_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_NoRequest_Args) MethodName() string
- func (v *Bar_NoRequest_Args) String() string
- func (v *Bar_NoRequest_Args) ToWire() (wire.Value, error)
- func (v *Bar_NoRequest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_NoRequest_Args) UnmarshalJSON(data []byte) error
- type Bar_NoRequest_Result
- func (v *Bar_NoRequest_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_NoRequest_Result) Equals(rhs *Bar_NoRequest_Result) bool
- func (v *Bar_NoRequest_Result) FromWire(w wire.Value) error
- func (v Bar_NoRequest_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_NoRequest_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_NoRequest_Result) MethodName() string
- func (v *Bar_NoRequest_Result) String() string
- func (v *Bar_NoRequest_Result) ToWire() (wire.Value, error)
- func (v *Bar_NoRequest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_NoRequest_Result) UnmarshalJSON(data []byte) error
- type Bar_NormalRecur_Args
- func (v *Bar_NormalRecur_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_NormalRecur_Args) Equals(rhs *Bar_NormalRecur_Args) bool
- func (v *Bar_NormalRecur_Args) FromWire(w wire.Value) error
- func (v Bar_NormalRecur_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_NormalRecur_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_NormalRecur_Args) MethodName() string
- func (v *Bar_NormalRecur_Args) String() string
- func (v *Bar_NormalRecur_Args) ToWire() (wire.Value, error)
- func (v *Bar_NormalRecur_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_NormalRecur_Args) UnmarshalJSON(data []byte) error
- type Bar_NormalRecur_Result
- func (v *Bar_NormalRecur_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_NormalRecur_Result) Equals(rhs *Bar_NormalRecur_Result) bool
- func (v *Bar_NormalRecur_Result) FromWire(w wire.Value) error
- func (v Bar_NormalRecur_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_NormalRecur_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_NormalRecur_Result) MethodName() string
- func (v *Bar_NormalRecur_Result) String() string
- func (v *Bar_NormalRecur_Result) ToWire() (wire.Value, error)
- func (v *Bar_NormalRecur_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_NormalRecur_Result) UnmarshalJSON(data []byte) error
- type Bar_Normal_Args
- func (v *Bar_Normal_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_Normal_Args) Equals(rhs *Bar_Normal_Args) bool
- func (v *Bar_Normal_Args) FromWire(w wire.Value) error
- func (v Bar_Normal_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_Normal_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_Normal_Args) MethodName() string
- func (v *Bar_Normal_Args) String() string
- func (v *Bar_Normal_Args) ToWire() (wire.Value, error)
- func (v *Bar_Normal_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_Normal_Args) UnmarshalJSON(data []byte) error
- type Bar_Normal_Result
- func (v *Bar_Normal_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_Normal_Result) Equals(rhs *Bar_Normal_Result) bool
- func (v *Bar_Normal_Result) FromWire(w wire.Value) error
- func (v Bar_Normal_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_Normal_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_Normal_Result) MethodName() string
- func (v *Bar_Normal_Result) String() string
- func (v *Bar_Normal_Result) ToWire() (wire.Value, error)
- func (v *Bar_Normal_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_Normal_Result) UnmarshalJSON(data []byte) error
- type Bar_TooManyArgs_Args
- func (v *Bar_TooManyArgs_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_TooManyArgs_Args) Equals(rhs *Bar_TooManyArgs_Args) bool
- func (v *Bar_TooManyArgs_Args) FromWire(w wire.Value) error
- func (v Bar_TooManyArgs_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_TooManyArgs_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_TooManyArgs_Args) MethodName() string
- func (v *Bar_TooManyArgs_Args) String() string
- func (v *Bar_TooManyArgs_Args) ToWire() (wire.Value, error)
- func (v *Bar_TooManyArgs_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_TooManyArgs_Args) UnmarshalJSON(data []byte) error
- type Bar_TooManyArgs_Result
- func (v *Bar_TooManyArgs_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_TooManyArgs_Result) Equals(rhs *Bar_TooManyArgs_Result) bool
- func (v *Bar_TooManyArgs_Result) FromWire(w wire.Value) error
- func (v Bar_TooManyArgs_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_TooManyArgs_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_TooManyArgs_Result) MethodName() string
- func (v *Bar_TooManyArgs_Result) String() string
- func (v *Bar_TooManyArgs_Result) ToWire() (wire.Value, error)
- func (v *Bar_TooManyArgs_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_TooManyArgs_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoBinary_Args
- func (v *Echo_EchoBinary_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoBinary_Args) Equals(rhs *Echo_EchoBinary_Args) bool
- func (v *Echo_EchoBinary_Args) FromWire(w wire.Value) error
- func (v Echo_EchoBinary_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoBinary_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoBinary_Args) MethodName() string
- func (v *Echo_EchoBinary_Args) String() string
- func (v *Echo_EchoBinary_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoBinary_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoBinary_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoBinary_Result
- func (v *Echo_EchoBinary_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoBinary_Result) Equals(rhs *Echo_EchoBinary_Result) bool
- func (v *Echo_EchoBinary_Result) FromWire(w wire.Value) error
- func (v Echo_EchoBinary_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoBinary_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoBinary_Result) MethodName() string
- func (v *Echo_EchoBinary_Result) String() string
- func (v *Echo_EchoBinary_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoBinary_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoBinary_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoBool_Args
- func (v *Echo_EchoBool_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoBool_Args) Equals(rhs *Echo_EchoBool_Args) bool
- func (v *Echo_EchoBool_Args) FromWire(w wire.Value) error
- func (v Echo_EchoBool_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoBool_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoBool_Args) MethodName() string
- func (v *Echo_EchoBool_Args) String() string
- func (v *Echo_EchoBool_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoBool_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoBool_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoBool_Result
- func (v *Echo_EchoBool_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoBool_Result) Equals(rhs *Echo_EchoBool_Result) bool
- func (v *Echo_EchoBool_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoBool_Result) GetSuccess() (o bool)
- func (v Echo_EchoBool_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoBool_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoBool_Result) MethodName() string
- func (v *Echo_EchoBool_Result) String() string
- func (v *Echo_EchoBool_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoBool_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoBool_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoDouble_Args
- func (v *Echo_EchoDouble_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoDouble_Args) Equals(rhs *Echo_EchoDouble_Args) bool
- func (v *Echo_EchoDouble_Args) FromWire(w wire.Value) error
- func (v Echo_EchoDouble_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoDouble_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoDouble_Args) MethodName() string
- func (v *Echo_EchoDouble_Args) String() string
- func (v *Echo_EchoDouble_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoDouble_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoDouble_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoDouble_Result
- func (v *Echo_EchoDouble_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoDouble_Result) Equals(rhs *Echo_EchoDouble_Result) bool
- func (v *Echo_EchoDouble_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoDouble_Result) GetSuccess() (o float64)
- func (v Echo_EchoDouble_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoDouble_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoDouble_Result) MethodName() string
- func (v *Echo_EchoDouble_Result) String() string
- func (v *Echo_EchoDouble_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoDouble_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoDouble_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoEnum_Args
- func (v *Echo_EchoEnum_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoEnum_Args) Equals(rhs *Echo_EchoEnum_Args) bool
- func (v *Echo_EchoEnum_Args) FromWire(w wire.Value) error
- func (v *Echo_EchoEnum_Args) GetArg() (o Fruit)
- func (v Echo_EchoEnum_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoEnum_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoEnum_Args) MethodName() string
- func (v *Echo_EchoEnum_Args) String() string
- func (v *Echo_EchoEnum_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoEnum_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoEnum_Result
- func (v *Echo_EchoEnum_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoEnum_Result) Equals(rhs *Echo_EchoEnum_Result) bool
- func (v *Echo_EchoEnum_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoEnum_Result) GetSuccess() (o Fruit)
- func (v Echo_EchoEnum_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoEnum_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoEnum_Result) MethodName() string
- func (v *Echo_EchoEnum_Result) String() string
- func (v *Echo_EchoEnum_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoEnum_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoI16_Args
- func (v *Echo_EchoI16_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI16_Args) Equals(rhs *Echo_EchoI16_Args) bool
- func (v *Echo_EchoI16_Args) FromWire(w wire.Value) error
- func (v Echo_EchoI16_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI16_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI16_Args) MethodName() string
- func (v *Echo_EchoI16_Args) String() string
- func (v *Echo_EchoI16_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoI16_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI16_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoI16_Result
- func (v *Echo_EchoI16_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI16_Result) Equals(rhs *Echo_EchoI16_Result) bool
- func (v *Echo_EchoI16_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoI16_Result) GetSuccess() (o int16)
- func (v Echo_EchoI16_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI16_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI16_Result) MethodName() string
- func (v *Echo_EchoI16_Result) String() string
- func (v *Echo_EchoI16_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoI16_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI16_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoI32Map_Args
- func (v *Echo_EchoI32Map_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI32Map_Args) Equals(rhs *Echo_EchoI32Map_Args) bool
- func (v *Echo_EchoI32Map_Args) FromWire(w wire.Value) error
- func (v Echo_EchoI32Map_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI32Map_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI32Map_Args) MethodName() string
- func (v *Echo_EchoI32Map_Args) String() string
- func (v *Echo_EchoI32Map_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoI32Map_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI32Map_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoI32Map_Result
- func (v *Echo_EchoI32Map_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI32Map_Result) Equals(rhs *Echo_EchoI32Map_Result) bool
- func (v *Echo_EchoI32Map_Result) FromWire(w wire.Value) error
- func (v Echo_EchoI32Map_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI32Map_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI32Map_Result) MethodName() string
- func (v *Echo_EchoI32Map_Result) String() string
- func (v *Echo_EchoI32Map_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoI32Map_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI32Map_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoI32_Args
- func (v *Echo_EchoI32_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI32_Args) Equals(rhs *Echo_EchoI32_Args) bool
- func (v *Echo_EchoI32_Args) FromWire(w wire.Value) error
- func (v Echo_EchoI32_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI32_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI32_Args) MethodName() string
- func (v *Echo_EchoI32_Args) String() string
- func (v *Echo_EchoI32_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoI32_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI32_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoI32_Result
- func (v *Echo_EchoI32_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI32_Result) Equals(rhs *Echo_EchoI32_Result) bool
- func (v *Echo_EchoI32_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoI32_Result) GetSuccess() (o int32)
- func (v Echo_EchoI32_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI32_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI32_Result) MethodName() string
- func (v *Echo_EchoI32_Result) String() string
- func (v *Echo_EchoI32_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoI32_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI32_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoI64_Args
- func (v *Echo_EchoI64_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI64_Args) Equals(rhs *Echo_EchoI64_Args) bool
- func (v *Echo_EchoI64_Args) FromWire(w wire.Value) error
- func (v Echo_EchoI64_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI64_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI64_Args) MethodName() string
- func (v *Echo_EchoI64_Args) String() string
- func (v *Echo_EchoI64_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoI64_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI64_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoI64_Result
- func (v *Echo_EchoI64_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI64_Result) Equals(rhs *Echo_EchoI64_Result) bool
- func (v *Echo_EchoI64_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoI64_Result) GetSuccess() (o int64)
- func (v Echo_EchoI64_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI64_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI64_Result) MethodName() string
- func (v *Echo_EchoI64_Result) String() string
- func (v *Echo_EchoI64_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoI64_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI64_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoI8_Args
- func (v *Echo_EchoI8_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI8_Args) Equals(rhs *Echo_EchoI8_Args) bool
- func (v *Echo_EchoI8_Args) FromWire(w wire.Value) error
- func (v Echo_EchoI8_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI8_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI8_Args) MethodName() string
- func (v *Echo_EchoI8_Args) String() string
- func (v *Echo_EchoI8_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoI8_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI8_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoI8_Result
- func (v *Echo_EchoI8_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoI8_Result) Equals(rhs *Echo_EchoI8_Result) bool
- func (v *Echo_EchoI8_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoI8_Result) GetSuccess() (o int8)
- func (v Echo_EchoI8_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoI8_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoI8_Result) MethodName() string
- func (v *Echo_EchoI8_Result) String() string
- func (v *Echo_EchoI8_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoI8_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoI8_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStringList_Args
- func (v *Echo_EchoStringList_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringList_Args) Equals(rhs *Echo_EchoStringList_Args) bool
- func (v *Echo_EchoStringList_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStringList_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringList_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringList_Args) MethodName() string
- func (v *Echo_EchoStringList_Args) String() string
- func (v *Echo_EchoStringList_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringList_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStringList_Result
- func (v *Echo_EchoStringList_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringList_Result) Equals(rhs *Echo_EchoStringList_Result) bool
- func (v *Echo_EchoStringList_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStringList_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringList_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringList_Result) MethodName() string
- func (v *Echo_EchoStringList_Result) String() string
- func (v *Echo_EchoStringList_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringList_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStringMap_Args
- func (v *Echo_EchoStringMap_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringMap_Args) Equals(rhs *Echo_EchoStringMap_Args) bool
- func (v *Echo_EchoStringMap_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStringMap_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringMap_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringMap_Args) MethodName() string
- func (v *Echo_EchoStringMap_Args) String() string
- func (v *Echo_EchoStringMap_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringMap_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStringMap_Result
- func (v *Echo_EchoStringMap_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringMap_Result) Equals(rhs *Echo_EchoStringMap_Result) bool
- func (v *Echo_EchoStringMap_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStringMap_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringMap_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringMap_Result) MethodName() string
- func (v *Echo_EchoStringMap_Result) String() string
- func (v *Echo_EchoStringMap_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringMap_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStringSet_Args
- func (v *Echo_EchoStringSet_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringSet_Args) Equals(rhs *Echo_EchoStringSet_Args) bool
- func (v *Echo_EchoStringSet_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStringSet_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringSet_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringSet_Args) MethodName() string
- func (v *Echo_EchoStringSet_Args) String() string
- func (v *Echo_EchoStringSet_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringSet_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStringSet_Result
- func (v *Echo_EchoStringSet_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStringSet_Result) Equals(rhs *Echo_EchoStringSet_Result) bool
- func (v *Echo_EchoStringSet_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStringSet_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStringSet_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStringSet_Result) MethodName() string
- func (v *Echo_EchoStringSet_Result) String() string
- func (v *Echo_EchoStringSet_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStringSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStringSet_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoString_Args
- func (v *Echo_EchoString_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoString_Args) Equals(rhs *Echo_EchoString_Args) bool
- func (v *Echo_EchoString_Args) FromWire(w wire.Value) error
- func (v Echo_EchoString_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoString_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoString_Args) MethodName() string
- func (v *Echo_EchoString_Args) String() string
- func (v *Echo_EchoString_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoString_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoString_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoString_Result
- func (v *Echo_EchoString_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoString_Result) Equals(rhs *Echo_EchoString_Result) bool
- func (v *Echo_EchoString_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoString_Result) GetSuccess() (o string)
- func (v Echo_EchoString_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoString_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoString_Result) MethodName() string
- func (v *Echo_EchoString_Result) String() string
- func (v *Echo_EchoString_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoString_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoString_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStructList_Args
- func (v *Echo_EchoStructList_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructList_Args) Equals(rhs *Echo_EchoStructList_Args) bool
- func (v *Echo_EchoStructList_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStructList_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructList_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructList_Args) MethodName() string
- func (v *Echo_EchoStructList_Args) String() string
- func (v *Echo_EchoStructList_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructList_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStructList_Result
- func (v *Echo_EchoStructList_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructList_Result) Equals(rhs *Echo_EchoStructList_Result) bool
- func (v *Echo_EchoStructList_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStructList_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructList_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructList_Result) MethodName() string
- func (v *Echo_EchoStructList_Result) String() string
- func (v *Echo_EchoStructList_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructList_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStructMap_Args
- func (v *Echo_EchoStructMap_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructMap_Args) Equals(rhs *Echo_EchoStructMap_Args) bool
- func (v *Echo_EchoStructMap_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStructMap_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructMap_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructMap_Args) MethodName() string
- func (v *Echo_EchoStructMap_Args) String() string
- func (v *Echo_EchoStructMap_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructMap_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStructMap_Result
- func (v *Echo_EchoStructMap_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructMap_Result) Equals(rhs *Echo_EchoStructMap_Result) bool
- func (v *Echo_EchoStructMap_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStructMap_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructMap_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructMap_Result) MethodName() string
- func (v *Echo_EchoStructMap_Result) String() string
- func (v *Echo_EchoStructMap_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructMap_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoStructSet_Args
- func (v *Echo_EchoStructSet_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructSet_Args) Equals(rhs *Echo_EchoStructSet_Args) bool
- func (v *Echo_EchoStructSet_Args) FromWire(w wire.Value) error
- func (v Echo_EchoStructSet_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructSet_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructSet_Args) MethodName() string
- func (v *Echo_EchoStructSet_Args) String() string
- func (v *Echo_EchoStructSet_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructSet_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoStructSet_Result
- func (v *Echo_EchoStructSet_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoStructSet_Result) Equals(rhs *Echo_EchoStructSet_Result) bool
- func (v *Echo_EchoStructSet_Result) FromWire(w wire.Value) error
- func (v Echo_EchoStructSet_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoStructSet_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoStructSet_Result) MethodName() string
- func (v *Echo_EchoStructSet_Result) String() string
- func (v *Echo_EchoStructSet_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoStructSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoStructSet_Result) UnmarshalJSON(data []byte) error
- type Echo_EchoTypedef_Args
- func (v *Echo_EchoTypedef_Args) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoTypedef_Args) Equals(rhs *Echo_EchoTypedef_Args) bool
- func (v *Echo_EchoTypedef_Args) FromWire(w wire.Value) error
- func (v Echo_EchoTypedef_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoTypedef_Args) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoTypedef_Args) MethodName() string
- func (v *Echo_EchoTypedef_Args) String() string
- func (v *Echo_EchoTypedef_Args) ToWire() (wire.Value, error)
- func (v *Echo_EchoTypedef_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoTypedef_Args) UnmarshalJSON(data []byte) error
- type Echo_EchoTypedef_Result
- func (v *Echo_EchoTypedef_Result) EnvelopeType() wire.EnvelopeType
- func (v *Echo_EchoTypedef_Result) Equals(rhs *Echo_EchoTypedef_Result) bool
- func (v *Echo_EchoTypedef_Result) FromWire(w wire.Value) error
- func (v *Echo_EchoTypedef_Result) GetSuccess() (o UUID)
- func (v Echo_EchoTypedef_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Echo_EchoTypedef_Result) MarshalJSON() ([]byte, error)
- func (v *Echo_EchoTypedef_Result) MethodName() string
- func (v *Echo_EchoTypedef_Result) String() string
- func (v *Echo_EchoTypedef_Result) ToWire() (wire.Value, error)
- func (v *Echo_EchoTypedef_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Echo_EchoTypedef_Result) UnmarshalJSON(data []byte) error
- type Fruit
- func (v Fruit) Equals(rhs Fruit) bool
- func (v *Fruit) FromWire(w wire.Value) error
- func (v Fruit) MarshalJSON() ([]byte, error)
- func (v Fruit) String() string
- func (v Fruit) ToWire() (wire.Value, error)
- func (v *Fruit) UnmarshalJSON(text []byte) error
- func (v *Fruit) UnmarshalText(value []byte) error
- type Long
- type ParamsStruct
- func (v *ParamsStruct) Equals(rhs *ParamsStruct) bool
- func (v *ParamsStruct) FromWire(w wire.Value) error
- func (v ParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v ParamsStruct) MarshalJSON() ([]byte, error)
- func (v *ParamsStruct) String() string
- func (v *ParamsStruct) ToWire() (wire.Value, error)
- func (v *ParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ParamsStruct) UnmarshalJSON(data []byte) error
- type QueryParamsOptsStruct
- func (v *QueryParamsOptsStruct) Equals(rhs *QueryParamsOptsStruct) bool
- func (v *QueryParamsOptsStruct) FromWire(w wire.Value) error
- func (v *QueryParamsOptsStruct) GetAuthUUID() (o string)
- func (v *QueryParamsOptsStruct) GetAuthUUID2() (o string)
- func (v *QueryParamsOptsStruct) GetUserUUID() (o string)
- func (v QueryParamsOptsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v QueryParamsOptsStruct) MarshalJSON() ([]byte, error)
- func (v *QueryParamsOptsStruct) String() string
- func (v *QueryParamsOptsStruct) ToWire() (wire.Value, error)
- func (v *QueryParamsOptsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *QueryParamsOptsStruct) UnmarshalJSON(data []byte) error
- type QueryParamsStruct
- func (v *QueryParamsStruct) Equals(rhs *QueryParamsStruct) bool
- func (v *QueryParamsStruct) FromWire(w wire.Value) error
- func (v *QueryParamsStruct) GetAuthUUID() (o string)
- func (v *QueryParamsStruct) GetAuthUUID2() (o string)
- func (v *QueryParamsStruct) GetUserUUID() (o string)
- func (v QueryParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v QueryParamsStruct) MarshalJSON() ([]byte, error)
- func (v *QueryParamsStruct) String() string
- func (v *QueryParamsStruct) ToWire() (wire.Value, error)
- func (v *QueryParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *QueryParamsStruct) UnmarshalJSON(data []byte) error
- type StringList
- type Timestamp
- type UUID
- type UUIDList
Constants ¶
This section is empty.
Variables ¶
var Bar_ArgNotStruct_Helper = struct { // Args accepts the parameters of argNotStruct in-order and returns // the arguments struct for the function. Args func( request string, ) *Bar_ArgNotStruct_Args // IsException returns true if the given error can be thrown // by argNotStruct. // // An error can be thrown by argNotStruct only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argNotStruct // given the error returned by it. The provided error may // be nil if argNotStruct did not fail. // // This allows mapping errors returned by argNotStruct into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // argNotStruct // // err := argNotStruct(args) // result, err := Bar_ArgNotStruct_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from argNotStruct: %v", err) // } // serialize(result) WrapResponse func(error) (*Bar_ArgNotStruct_Result, error) // UnwrapResponse takes the result struct for argNotStruct // and returns the erorr returned by it (if any). // // The error is non-nil only if argNotStruct threw an // exception. // // result := deserialize(bytes) // err := Bar_ArgNotStruct_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgNotStruct_Result) error }{}
Bar_ArgNotStruct_Helper provides functions that aid in handling the parameters and return values of the Bar.argNotStruct function.
var Bar_ArgWithHeaders_Helper = struct { // Args accepts the parameters of argWithHeaders in-order and returns // the arguments struct for the function. Args func( name string, userUUID *string, ) *Bar_ArgWithHeaders_Args // IsException returns true if the given error can be thrown // by argWithHeaders. // // An error can be thrown by argWithHeaders only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithHeaders // given its return value and error. // // This allows mapping values and errors returned by // argWithHeaders into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithHeaders // // value, err := argWithHeaders(args) // result, err := Bar_ArgWithHeaders_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithHeaders: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithHeaders_Result, error) // UnwrapResponse takes the result struct for argWithHeaders // and returns the value or error returned by it. // // The error is non-nil only if argWithHeaders threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithHeaders_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithHeaders_Result) (*BarResponse, error) }{}
Bar_ArgWithHeaders_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithHeaders function.
var Bar_ArgWithManyQueryParams_Helper = struct { // Args accepts the parameters of argWithManyQueryParams in-order and returns // the arguments struct for the function. Args func( aStr string, anOptStr *string, aBool bool, anOptBool *bool, aInt8 int8, anOptInt8 *int8, aInt16 int16, anOptInt16 *int16, aInt32 int32, anOptInt32 *int32, aInt64 int64, anOptInt64 *int64, aFloat64 float64, anOptFloat64 *float64, aUUID UUID, anOptUUID *UUID, aListUUID []UUID, anOptListUUID []UUID, aStringList StringList, anOptStringList StringList, aUUIDList UUIDList, anOptUUIDList UUIDList, aTs Timestamp, anOptTs *Timestamp, ) *Bar_ArgWithManyQueryParams_Args // IsException returns true if the given error can be thrown // by argWithManyQueryParams. // // An error can be thrown by argWithManyQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithManyQueryParams // given its return value and error. // // This allows mapping values and errors returned by // argWithManyQueryParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithManyQueryParams // // value, err := argWithManyQueryParams(args) // result, err := Bar_ArgWithManyQueryParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithManyQueryParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithManyQueryParams_Result, error) // UnwrapResponse takes the result struct for argWithManyQueryParams // and returns the value or error returned by it. // // The error is non-nil only if argWithManyQueryParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithManyQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithManyQueryParams_Result) (*BarResponse, error) }{}
Bar_ArgWithManyQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithManyQueryParams function.
var Bar_ArgWithNestedQueryParams_Helper = struct { // Args accepts the parameters of argWithNestedQueryParams in-order and returns // the arguments struct for the function. Args func( request *QueryParamsStruct, opt *QueryParamsOptsStruct, ) *Bar_ArgWithNestedQueryParams_Args // IsException returns true if the given error can be thrown // by argWithNestedQueryParams. // // An error can be thrown by argWithNestedQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithNestedQueryParams // given its return value and error. // // This allows mapping values and errors returned by // argWithNestedQueryParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithNestedQueryParams // // value, err := argWithNestedQueryParams(args) // result, err := Bar_ArgWithNestedQueryParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithNestedQueryParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithNestedQueryParams_Result, error) // UnwrapResponse takes the result struct for argWithNestedQueryParams // and returns the value or error returned by it. // // The error is non-nil only if argWithNestedQueryParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithNestedQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithNestedQueryParams_Result) (*BarResponse, error) }{}
Bar_ArgWithNestedQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNestedQueryParams function.
var Bar_ArgWithParams_Helper = struct { // Args accepts the parameters of argWithParams in-order and returns // the arguments struct for the function. Args func( uuid string, params *ParamsStruct, ) *Bar_ArgWithParams_Args // IsException returns true if the given error can be thrown // by argWithParams. // // An error can be thrown by argWithParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithParams // given its return value and error. // // This allows mapping values and errors returned by // argWithParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithParams // // value, err := argWithParams(args) // result, err := Bar_ArgWithParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithParams_Result, error) // UnwrapResponse takes the result struct for argWithParams // and returns the value or error returned by it. // // The error is non-nil only if argWithParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithParams_Result) (*BarResponse, error) }{}
Bar_ArgWithParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParams function.
var Bar_ArgWithQueryHeader_Helper = struct { // Args accepts the parameters of argWithQueryHeader in-order and returns // the arguments struct for the function. Args func( userUUID *string, ) *Bar_ArgWithQueryHeader_Args // IsException returns true if the given error can be thrown // by argWithQueryHeader. // // An error can be thrown by argWithQueryHeader only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithQueryHeader // given its return value and error. // // This allows mapping values and errors returned by // argWithQueryHeader into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithQueryHeader // // value, err := argWithQueryHeader(args) // result, err := Bar_ArgWithQueryHeader_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithQueryHeader: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryHeader_Result, error) // UnwrapResponse takes the result struct for argWithQueryHeader // and returns the value or error returned by it. // // The error is non-nil only if argWithQueryHeader threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithQueryHeader_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithQueryHeader_Result) (*BarResponse, error) }{}
Bar_ArgWithQueryHeader_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryHeader function.
var Bar_ArgWithQueryParams_Helper = struct { // Args accepts the parameters of argWithQueryParams in-order and returns // the arguments struct for the function. Args func( name string, userUUID *string, foo []string, bar []int8, ) *Bar_ArgWithQueryParams_Args // IsException returns true if the given error can be thrown // by argWithQueryParams. // // An error can be thrown by argWithQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithQueryParams // given its return value and error. // // This allows mapping values and errors returned by // argWithQueryParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithQueryParams // // value, err := argWithQueryParams(args) // result, err := Bar_ArgWithQueryParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithQueryParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithQueryParams_Result, error) // UnwrapResponse takes the result struct for argWithQueryParams // and returns the value or error returned by it. // // The error is non-nil only if argWithQueryParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithQueryParams_Result) (*BarResponse, error) }{}
Bar_ArgWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithQueryParams function.
var Bar_HelloWorld_Helper = struct { // Args accepts the parameters of helloWorld in-order and returns // the arguments struct for the function. Args func() *Bar_HelloWorld_Args // IsException returns true if the given error can be thrown // by helloWorld. // // An error can be thrown by helloWorld only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for helloWorld // given its return value and error. // // This allows mapping values and errors returned by // helloWorld into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by helloWorld // // value, err := helloWorld(args) // result, err := Bar_HelloWorld_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from helloWorld: %v", err) // } // serialize(result) WrapResponse func(string, error) (*Bar_HelloWorld_Result, error) // UnwrapResponse takes the result struct for helloWorld // and returns the value or error returned by it. // // The error is non-nil only if helloWorld threw an // exception. // // result := deserialize(bytes) // value, err := Bar_HelloWorld_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_HelloWorld_Result) (string, error) }{}
Bar_HelloWorld_Helper provides functions that aid in handling the parameters and return values of the Bar.helloWorld function.
var Bar_MissingArg_Helper = struct { // Args accepts the parameters of missingArg in-order and returns // the arguments struct for the function. Args func() *Bar_MissingArg_Args // IsException returns true if the given error can be thrown // by missingArg. // // An error can be thrown by missingArg only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for missingArg // given its return value and error. // // This allows mapping values and errors returned by // missingArg into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by missingArg // // value, err := missingArg(args) // result, err := Bar_MissingArg_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from missingArg: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_MissingArg_Result, error) // UnwrapResponse takes the result struct for missingArg // and returns the value or error returned by it. // // The error is non-nil only if missingArg threw an // exception. // // result := deserialize(bytes) // value, err := Bar_MissingArg_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_MissingArg_Result) (*BarResponse, error) }{}
Bar_MissingArg_Helper provides functions that aid in handling the parameters and return values of the Bar.missingArg function.
var Bar_NoRequest_Helper = struct { // Args accepts the parameters of noRequest in-order and returns // the arguments struct for the function. Args func() *Bar_NoRequest_Args // IsException returns true if the given error can be thrown // by noRequest. // // An error can be thrown by noRequest only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for noRequest // given its return value and error. // // This allows mapping values and errors returned by // noRequest into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by noRequest // // value, err := noRequest(args) // result, err := Bar_NoRequest_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from noRequest: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_NoRequest_Result, error) // UnwrapResponse takes the result struct for noRequest // and returns the value or error returned by it. // // The error is non-nil only if noRequest threw an // exception. // // result := deserialize(bytes) // value, err := Bar_NoRequest_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_NoRequest_Result) (*BarResponse, error) }{}
Bar_NoRequest_Helper provides functions that aid in handling the parameters and return values of the Bar.noRequest function.
var Bar_NormalRecur_Helper = struct { // Args accepts the parameters of normalRecur in-order and returns // the arguments struct for the function. Args func( request *BarRequestRecur, ) *Bar_NormalRecur_Args // IsException returns true if the given error can be thrown // by normalRecur. // // An error can be thrown by normalRecur only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for normalRecur // given its return value and error. // // This allows mapping values and errors returned by // normalRecur into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by normalRecur // // value, err := normalRecur(args) // result, err := Bar_NormalRecur_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from normalRecur: %v", err) // } // serialize(result) WrapResponse func(*BarResponseRecur, error) (*Bar_NormalRecur_Result, error) // UnwrapResponse takes the result struct for normalRecur // and returns the value or error returned by it. // // The error is non-nil only if normalRecur threw an // exception. // // result := deserialize(bytes) // value, err := Bar_NormalRecur_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_NormalRecur_Result) (*BarResponseRecur, error) }{}
Bar_NormalRecur_Helper provides functions that aid in handling the parameters and return values of the Bar.normalRecur function.
var Bar_Normal_Helper = struct { // Args accepts the parameters of normal in-order and returns // the arguments struct for the function. Args func( request *BarRequest, ) *Bar_Normal_Args // IsException returns true if the given error can be thrown // by normal. // // An error can be thrown by normal only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for normal // given its return value and error. // // This allows mapping values and errors returned by // normal into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by normal // // value, err := normal(args) // result, err := Bar_Normal_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from normal: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_Normal_Result, error) // UnwrapResponse takes the result struct for normal // and returns the value or error returned by it. // // The error is non-nil only if normal threw an // exception. // // result := deserialize(bytes) // value, err := Bar_Normal_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_Normal_Result) (*BarResponse, error) }{}
Bar_Normal_Helper provides functions that aid in handling the parameters and return values of the Bar.normal function.
var Bar_TooManyArgs_Helper = struct { // Args accepts the parameters of tooManyArgs in-order and returns // the arguments struct for the function. Args func( request *BarRequest, foo *foo.FooStruct, ) *Bar_TooManyArgs_Args // IsException returns true if the given error can be thrown // by tooManyArgs. // // An error can be thrown by tooManyArgs only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for tooManyArgs // given its return value and error. // // This allows mapping values and errors returned by // tooManyArgs into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by tooManyArgs // // value, err := tooManyArgs(args) // result, err := Bar_TooManyArgs_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from tooManyArgs: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_TooManyArgs_Result, error) // UnwrapResponse takes the result struct for tooManyArgs // and returns the value or error returned by it. // // The error is non-nil only if tooManyArgs threw an // exception. // // result := deserialize(bytes) // value, err := Bar_TooManyArgs_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_TooManyArgs_Result) (*BarResponse, error) }{}
Bar_TooManyArgs_Helper provides functions that aid in handling the parameters and return values of the Bar.tooManyArgs function.
var Echo_EchoBinary_Helper = struct { // Args accepts the parameters of echoBinary in-order and returns // the arguments struct for the function. Args func( arg []byte, ) *Echo_EchoBinary_Args // IsException returns true if the given error can be thrown // by echoBinary. // // An error can be thrown by echoBinary only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoBinary // given its return value and error. // // This allows mapping values and errors returned by // echoBinary into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoBinary // // value, err := echoBinary(args) // result, err := Echo_EchoBinary_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoBinary: %v", err) // } // serialize(result) WrapResponse func([]byte, error) (*Echo_EchoBinary_Result, error) // UnwrapResponse takes the result struct for echoBinary // and returns the value or error returned by it. // // The error is non-nil only if echoBinary threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoBinary_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoBinary_Result) ([]byte, error) }{}
Echo_EchoBinary_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBinary function.
var Echo_EchoBool_Helper = struct { // Args accepts the parameters of echoBool in-order and returns // the arguments struct for the function. Args func( arg bool, ) *Echo_EchoBool_Args // IsException returns true if the given error can be thrown // by echoBool. // // An error can be thrown by echoBool only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoBool // given its return value and error. // // This allows mapping values and errors returned by // echoBool into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoBool // // value, err := echoBool(args) // result, err := Echo_EchoBool_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoBool: %v", err) // } // serialize(result) WrapResponse func(bool, error) (*Echo_EchoBool_Result, error) // UnwrapResponse takes the result struct for echoBool // and returns the value or error returned by it. // // The error is non-nil only if echoBool threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoBool_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoBool_Result) (bool, error) }{}
Echo_EchoBool_Helper provides functions that aid in handling the parameters and return values of the Echo.echoBool function.
var Echo_EchoDouble_Helper = struct { // Args accepts the parameters of echoDouble in-order and returns // the arguments struct for the function. Args func( arg float64, ) *Echo_EchoDouble_Args // IsException returns true if the given error can be thrown // by echoDouble. // // An error can be thrown by echoDouble only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoDouble // given its return value and error. // // This allows mapping values and errors returned by // echoDouble into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoDouble // // value, err := echoDouble(args) // result, err := Echo_EchoDouble_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoDouble: %v", err) // } // serialize(result) WrapResponse func(float64, error) (*Echo_EchoDouble_Result, error) // UnwrapResponse takes the result struct for echoDouble // and returns the value or error returned by it. // // The error is non-nil only if echoDouble threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoDouble_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoDouble_Result) (float64, error) }{}
Echo_EchoDouble_Helper provides functions that aid in handling the parameters and return values of the Echo.echoDouble function.
var Echo_EchoEnum_Helper = struct { // Args accepts the parameters of echoEnum in-order and returns // the arguments struct for the function. Args func( arg *Fruit, ) *Echo_EchoEnum_Args // IsException returns true if the given error can be thrown // by echoEnum. // // An error can be thrown by echoEnum only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoEnum // given its return value and error. // // This allows mapping values and errors returned by // echoEnum into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoEnum // // value, err := echoEnum(args) // result, err := Echo_EchoEnum_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoEnum: %v", err) // } // serialize(result) WrapResponse func(Fruit, error) (*Echo_EchoEnum_Result, error) // UnwrapResponse takes the result struct for echoEnum // and returns the value or error returned by it. // // The error is non-nil only if echoEnum threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoEnum_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoEnum_Result) (Fruit, error) }{}
Echo_EchoEnum_Helper provides functions that aid in handling the parameters and return values of the Echo.echoEnum function.
var Echo_EchoI16_Helper = struct { // Args accepts the parameters of echoI16 in-order and returns // the arguments struct for the function. Args func( arg int16, ) *Echo_EchoI16_Args // IsException returns true if the given error can be thrown // by echoI16. // // An error can be thrown by echoI16 only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoI16 // given its return value and error. // // This allows mapping values and errors returned by // echoI16 into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoI16 // // value, err := echoI16(args) // result, err := Echo_EchoI16_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoI16: %v", err) // } // serialize(result) WrapResponse func(int16, error) (*Echo_EchoI16_Result, error) // UnwrapResponse takes the result struct for echoI16 // and returns the value or error returned by it. // // The error is non-nil only if echoI16 threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoI16_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoI16_Result) (int16, error) }{}
Echo_EchoI16_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI16 function.
var Echo_EchoI32Map_Helper = struct { // Args accepts the parameters of echoI32Map in-order and returns // the arguments struct for the function. Args func( arg map[int32]*BarResponse, ) *Echo_EchoI32Map_Args // IsException returns true if the given error can be thrown // by echoI32Map. // // An error can be thrown by echoI32Map only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoI32Map // given its return value and error. // // This allows mapping values and errors returned by // echoI32Map into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoI32Map // // value, err := echoI32Map(args) // result, err := Echo_EchoI32Map_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoI32Map: %v", err) // } // serialize(result) WrapResponse func(map[int32]*BarResponse, error) (*Echo_EchoI32Map_Result, error) // UnwrapResponse takes the result struct for echoI32Map // and returns the value or error returned by it. // // The error is non-nil only if echoI32Map threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoI32Map_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoI32Map_Result) (map[int32]*BarResponse, error) }{}
Echo_EchoI32Map_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32Map function.
var Echo_EchoI32_Helper = struct { // Args accepts the parameters of echoI32 in-order and returns // the arguments struct for the function. Args func( arg int32, ) *Echo_EchoI32_Args // IsException returns true if the given error can be thrown // by echoI32. // // An error can be thrown by echoI32 only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoI32 // given its return value and error. // // This allows mapping values and errors returned by // echoI32 into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoI32 // // value, err := echoI32(args) // result, err := Echo_EchoI32_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoI32: %v", err) // } // serialize(result) WrapResponse func(int32, error) (*Echo_EchoI32_Result, error) // UnwrapResponse takes the result struct for echoI32 // and returns the value or error returned by it. // // The error is non-nil only if echoI32 threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoI32_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoI32_Result) (int32, error) }{}
Echo_EchoI32_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI32 function.
var Echo_EchoI64_Helper = struct { // Args accepts the parameters of echoI64 in-order and returns // the arguments struct for the function. Args func( arg int64, ) *Echo_EchoI64_Args // IsException returns true if the given error can be thrown // by echoI64. // // An error can be thrown by echoI64 only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoI64 // given its return value and error. // // This allows mapping values and errors returned by // echoI64 into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoI64 // // value, err := echoI64(args) // result, err := Echo_EchoI64_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoI64: %v", err) // } // serialize(result) WrapResponse func(int64, error) (*Echo_EchoI64_Result, error) // UnwrapResponse takes the result struct for echoI64 // and returns the value or error returned by it. // // The error is non-nil only if echoI64 threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoI64_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoI64_Result) (int64, error) }{}
Echo_EchoI64_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI64 function.
var Echo_EchoI8_Helper = struct { // Args accepts the parameters of echoI8 in-order and returns // the arguments struct for the function. Args func( arg int8, ) *Echo_EchoI8_Args // IsException returns true if the given error can be thrown // by echoI8. // // An error can be thrown by echoI8 only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoI8 // given its return value and error. // // This allows mapping values and errors returned by // echoI8 into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoI8 // // value, err := echoI8(args) // result, err := Echo_EchoI8_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoI8: %v", err) // } // serialize(result) WrapResponse func(int8, error) (*Echo_EchoI8_Result, error) // UnwrapResponse takes the result struct for echoI8 // and returns the value or error returned by it. // // The error is non-nil only if echoI8 threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoI8_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoI8_Result) (int8, error) }{}
Echo_EchoI8_Helper provides functions that aid in handling the parameters and return values of the Echo.echoI8 function.
var Echo_EchoStringList_Helper = struct { // Args accepts the parameters of echoStringList in-order and returns // the arguments struct for the function. Args func( arg []string, ) *Echo_EchoStringList_Args // IsException returns true if the given error can be thrown // by echoStringList. // // An error can be thrown by echoStringList only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStringList // given its return value and error. // // This allows mapping values and errors returned by // echoStringList into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStringList // // value, err := echoStringList(args) // result, err := Echo_EchoStringList_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStringList: %v", err) // } // serialize(result) WrapResponse func([]string, error) (*Echo_EchoStringList_Result, error) // UnwrapResponse takes the result struct for echoStringList // and returns the value or error returned by it. // // The error is non-nil only if echoStringList threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStringList_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStringList_Result) ([]string, error) }{}
Echo_EchoStringList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringList function.
var Echo_EchoStringMap_Helper = struct { // Args accepts the parameters of echoStringMap in-order and returns // the arguments struct for the function. Args func( arg map[string]*BarResponse, ) *Echo_EchoStringMap_Args // IsException returns true if the given error can be thrown // by echoStringMap. // // An error can be thrown by echoStringMap only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStringMap // given its return value and error. // // This allows mapping values and errors returned by // echoStringMap into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStringMap // // value, err := echoStringMap(args) // result, err := Echo_EchoStringMap_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStringMap: %v", err) // } // serialize(result) WrapResponse func(map[string]*BarResponse, error) (*Echo_EchoStringMap_Result, error) // UnwrapResponse takes the result struct for echoStringMap // and returns the value or error returned by it. // // The error is non-nil only if echoStringMap threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStringMap_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStringMap_Result) (map[string]*BarResponse, error) }{}
Echo_EchoStringMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringMap function.
var Echo_EchoStringSet_Helper = struct { // Args accepts the parameters of echoStringSet in-order and returns // the arguments struct for the function. Args func( arg map[string]struct{}, ) *Echo_EchoStringSet_Args // IsException returns true if the given error can be thrown // by echoStringSet. // // An error can be thrown by echoStringSet only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStringSet // given its return value and error. // // This allows mapping values and errors returned by // echoStringSet into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStringSet // // value, err := echoStringSet(args) // result, err := Echo_EchoStringSet_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStringSet: %v", err) // } // serialize(result) WrapResponse func(map[string]struct{}, error) (*Echo_EchoStringSet_Result, error) // UnwrapResponse takes the result struct for echoStringSet // and returns the value or error returned by it. // // The error is non-nil only if echoStringSet threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStringSet_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStringSet_Result) (map[string]struct{}, error) }{}
Echo_EchoStringSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStringSet function.
var Echo_EchoString_Helper = struct { // Args accepts the parameters of echoString in-order and returns // the arguments struct for the function. Args func( arg string, ) *Echo_EchoString_Args // IsException returns true if the given error can be thrown // by echoString. // // An error can be thrown by echoString only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoString // given its return value and error. // // This allows mapping values and errors returned by // echoString into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoString // // value, err := echoString(args) // result, err := Echo_EchoString_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoString: %v", err) // } // serialize(result) WrapResponse func(string, error) (*Echo_EchoString_Result, error) // UnwrapResponse takes the result struct for echoString // and returns the value or error returned by it. // // The error is non-nil only if echoString threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoString_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoString_Result) (string, error) }{}
Echo_EchoString_Helper provides functions that aid in handling the parameters and return values of the Echo.echoString function.
var Echo_EchoStructList_Helper = struct { // Args accepts the parameters of echoStructList in-order and returns // the arguments struct for the function. Args func( arg []*BarResponse, ) *Echo_EchoStructList_Args // IsException returns true if the given error can be thrown // by echoStructList. // // An error can be thrown by echoStructList only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStructList // given its return value and error. // // This allows mapping values and errors returned by // echoStructList into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStructList // // value, err := echoStructList(args) // result, err := Echo_EchoStructList_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStructList: %v", err) // } // serialize(result) WrapResponse func([]*BarResponse, error) (*Echo_EchoStructList_Result, error) // UnwrapResponse takes the result struct for echoStructList // and returns the value or error returned by it. // // The error is non-nil only if echoStructList threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStructList_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStructList_Result) ([]*BarResponse, error) }{}
Echo_EchoStructList_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructList function.
var Echo_EchoStructMap_Helper = struct { // Args accepts the parameters of echoStructMap in-order and returns // the arguments struct for the function. Args func( arg []struct { Key *BarResponse Value string }, ) *Echo_EchoStructMap_Args // IsException returns true if the given error can be thrown // by echoStructMap. // // An error can be thrown by echoStructMap only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStructMap // given its return value and error. // // This allows mapping values and errors returned by // echoStructMap into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStructMap // // value, err := echoStructMap(args) // result, err := Echo_EchoStructMap_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStructMap: %v", err) // } // serialize(result) WrapResponse func([]struct { Key *BarResponse Value string }, error) (*Echo_EchoStructMap_Result, error) // UnwrapResponse takes the result struct for echoStructMap // and returns the value or error returned by it. // // The error is non-nil only if echoStructMap threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStructMap_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStructMap_Result) ([]struct { Key *BarResponse Value string }, error) }{}
Echo_EchoStructMap_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructMap function.
var Echo_EchoStructSet_Helper = struct { // Args accepts the parameters of echoStructSet in-order and returns // the arguments struct for the function. Args func( arg []*BarResponse, ) *Echo_EchoStructSet_Args // IsException returns true if the given error can be thrown // by echoStructSet. // // An error can be thrown by echoStructSet only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoStructSet // given its return value and error. // // This allows mapping values and errors returned by // echoStructSet into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoStructSet // // value, err := echoStructSet(args) // result, err := Echo_EchoStructSet_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoStructSet: %v", err) // } // serialize(result) WrapResponse func([]*BarResponse, error) (*Echo_EchoStructSet_Result, error) // UnwrapResponse takes the result struct for echoStructSet // and returns the value or error returned by it. // // The error is non-nil only if echoStructSet threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoStructSet_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoStructSet_Result) ([]*BarResponse, error) }{}
Echo_EchoStructSet_Helper provides functions that aid in handling the parameters and return values of the Echo.echoStructSet function.
var Echo_EchoTypedef_Helper = struct { // Args accepts the parameters of echoTypedef in-order and returns // the arguments struct for the function. Args func( arg UUID, ) *Echo_EchoTypedef_Args // IsException returns true if the given error can be thrown // by echoTypedef. // // An error can be thrown by echoTypedef only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for echoTypedef // given its return value and error. // // This allows mapping values and errors returned by // echoTypedef into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by echoTypedef // // value, err := echoTypedef(args) // result, err := Echo_EchoTypedef_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from echoTypedef: %v", err) // } // serialize(result) WrapResponse func(UUID, error) (*Echo_EchoTypedef_Result, error) // UnwrapResponse takes the result struct for echoTypedef // and returns the value or error returned by it. // // The error is non-nil only if echoTypedef threw an // exception. // // result := deserialize(bytes) // value, err := Echo_EchoTypedef_Helper.UnwrapResponse(result) UnwrapResponse func(*Echo_EchoTypedef_Result) (UUID, error) }{}
Echo_EchoTypedef_Helper provides functions that aid in handling the parameters and return values of the Echo.echoTypedef function.
Functions ¶
This section is empty.
Types ¶
type BarException ¶
type BarException struct {
StringField string `json:"stringField,required"`
}
func (*BarException) Equals ¶
func (v *BarException) Equals(rhs *BarException) bool
Equals returns true if all the fields of this BarException match the provided BarException.
This function performs a deep comparison.
func (*BarException) Error ¶
func (v *BarException) Error() string
func (*BarException) FromWire ¶
func (v *BarException) FromWire(w wire.Value) error
FromWire deserializes a BarException struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarException struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarException if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (BarException) MarshalEasyJSON ¶
func (v BarException) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarException) MarshalJSON ¶
func (v BarException) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarException) String ¶
func (v *BarException) String() string
String returns a readable string representation of a BarException struct.
func (*BarException) ToWire ¶
func (v *BarException) ToWire() (wire.Value, error)
ToWire translates a BarException struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarException) UnmarshalEasyJSON ¶
func (v *BarException) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarException) UnmarshalJSON ¶
func (v *BarException) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BarRequest ¶
type BarRequest struct { StringField string `json:"stringField,required"` BoolField bool `json:"boolField,required"` BinaryField []byte `json:"binaryField,required"` Timestamp Timestamp `json:"timestamp,required"` EnumField Fruit `json:"enumField,required"` LongField Long `json:"longField,required"` }
func (*BarRequest) Equals ¶
func (v *BarRequest) Equals(rhs *BarRequest) bool
Equals returns true if all the fields of this BarRequest match the provided BarRequest.
This function performs a deep comparison.
func (*BarRequest) FromWire ¶
func (v *BarRequest) FromWire(w wire.Value) error
FromWire deserializes a BarRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarRequest struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarRequest if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (BarRequest) MarshalEasyJSON ¶
func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarRequest) MarshalJSON ¶
func (v BarRequest) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarRequest) String ¶
func (v *BarRequest) String() string
String returns a readable string representation of a BarRequest struct.
func (*BarRequest) ToWire ¶
func (v *BarRequest) ToWire() (wire.Value, error)
ToWire translates a BarRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarRequest) UnmarshalEasyJSON ¶
func (v *BarRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarRequest) UnmarshalJSON ¶
func (v *BarRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BarRequestRecur ¶
type BarRequestRecur struct { Name string `json:"name,required"` Recur *BarRequestRecur `json:"recur,omitempty"` }
func (*BarRequestRecur) Equals ¶
func (v *BarRequestRecur) Equals(rhs *BarRequestRecur) bool
Equals returns true if all the fields of this BarRequestRecur match the provided BarRequestRecur.
This function performs a deep comparison.
func (*BarRequestRecur) FromWire ¶
func (v *BarRequestRecur) FromWire(w wire.Value) error
FromWire deserializes a BarRequestRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarRequestRecur struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarRequestRecur if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (BarRequestRecur) MarshalEasyJSON ¶
func (v BarRequestRecur) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarRequestRecur) MarshalJSON ¶
func (v BarRequestRecur) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarRequestRecur) String ¶
func (v *BarRequestRecur) String() string
String returns a readable string representation of a BarRequestRecur struct.
func (*BarRequestRecur) ToWire ¶
func (v *BarRequestRecur) ToWire() (wire.Value, error)
ToWire translates a BarRequestRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarRequestRecur) UnmarshalEasyJSON ¶
func (v *BarRequestRecur) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarRequestRecur) UnmarshalJSON ¶
func (v *BarRequestRecur) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BarResponse ¶
type BarResponse struct { StringField string `json:"stringField,required"` IntWithRange int32 `json:"intWithRange,required"` IntWithoutRange int32 `json:"intWithoutRange,required"` MapIntWithRange map[UUID]int32 `json:"mapIntWithRange,required"` MapIntWithoutRange map[string]int32 `json:"mapIntWithoutRange,required"` BinaryField []byte `json:"binaryField,required"` NextResponse *BarResponse `json:"nextResponse,omitempty"` }
func (*BarResponse) Equals ¶
func (v *BarResponse) Equals(rhs *BarResponse) bool
Equals returns true if all the fields of this BarResponse match the provided BarResponse.
This function performs a deep comparison.
func (*BarResponse) FromWire ¶
func (v *BarResponse) FromWire(w wire.Value) error
FromWire deserializes a BarResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarResponse struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarResponse if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (BarResponse) MarshalEasyJSON ¶
func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarResponse) MarshalJSON ¶
func (v BarResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarResponse) String ¶
func (v *BarResponse) String() string
String returns a readable string representation of a BarResponse struct.
func (*BarResponse) ToWire ¶
func (v *BarResponse) ToWire() (wire.Value, error)
ToWire translates a BarResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarResponse) UnmarshalEasyJSON ¶
func (v *BarResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarResponse) UnmarshalJSON ¶
func (v *BarResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BarResponseRecur ¶
type BarResponseRecur struct { Nodes []string `json:"nodes,required"` Height int32 `json:"height,required"` }
func (*BarResponseRecur) Equals ¶
func (v *BarResponseRecur) Equals(rhs *BarResponseRecur) bool
Equals returns true if all the fields of this BarResponseRecur match the provided BarResponseRecur.
This function performs a deep comparison.
func (*BarResponseRecur) FromWire ¶
func (v *BarResponseRecur) FromWire(w wire.Value) error
FromWire deserializes a BarResponseRecur struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarResponseRecur struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarResponseRecur if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (BarResponseRecur) MarshalEasyJSON ¶
func (v BarResponseRecur) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarResponseRecur) MarshalJSON ¶
func (v BarResponseRecur) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarResponseRecur) String ¶
func (v *BarResponseRecur) String() string
String returns a readable string representation of a BarResponseRecur struct.
func (*BarResponseRecur) ToWire ¶
func (v *BarResponseRecur) ToWire() (wire.Value, error)
ToWire translates a BarResponseRecur struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarResponseRecur) UnmarshalEasyJSON ¶
func (v *BarResponseRecur) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarResponseRecur) UnmarshalJSON ¶
func (v *BarResponseRecur) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgNotStruct_Args ¶
type Bar_ArgNotStruct_Args struct {
Request string `json:"request,required"`
}
Bar_ArgNotStruct_Args represents the arguments for the Bar.argNotStruct function.
The arguments for argNotStruct are sent and received over the wire as this struct.
func (*Bar_ArgNotStruct_Args) EnvelopeType ¶
func (v *Bar_ArgNotStruct_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgNotStruct_Args) Equals ¶
func (v *Bar_ArgNotStruct_Args) Equals(rhs *Bar_ArgNotStruct_Args) bool
Equals returns true if all the fields of this Bar_ArgNotStruct_Args match the provided Bar_ArgNotStruct_Args.
This function performs a deep comparison.
func (*Bar_ArgNotStruct_Args) FromWire ¶
func (v *Bar_ArgNotStruct_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgNotStruct_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgNotStruct_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgNotStruct_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgNotStruct_Args) MarshalEasyJSON ¶
func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgNotStruct_Args) MarshalJSON ¶
func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgNotStruct_Args) MethodName ¶
func (v *Bar_ArgNotStruct_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argNotStruct" for this struct.
func (*Bar_ArgNotStruct_Args) String ¶
func (v *Bar_ArgNotStruct_Args) String() string
String returns a readable string representation of a Bar_ArgNotStruct_Args struct.
func (*Bar_ArgNotStruct_Args) ToWire ¶
func (v *Bar_ArgNotStruct_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgNotStruct_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgNotStruct_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgNotStruct_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgNotStruct_Args) UnmarshalJSON ¶
func (v *Bar_ArgNotStruct_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgNotStruct_Result ¶
type Bar_ArgNotStruct_Result struct {
BarException *BarException `json:"barException,omitempty"`
}
Bar_ArgNotStruct_Result represents the result of a Bar.argNotStruct function call.
The result of a argNotStruct execution is sent and received over the wire as this struct.
func (*Bar_ArgNotStruct_Result) EnvelopeType ¶
func (v *Bar_ArgNotStruct_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgNotStruct_Result) Equals ¶
func (v *Bar_ArgNotStruct_Result) Equals(rhs *Bar_ArgNotStruct_Result) bool
Equals returns true if all the fields of this Bar_ArgNotStruct_Result match the provided Bar_ArgNotStruct_Result.
This function performs a deep comparison.
func (*Bar_ArgNotStruct_Result) FromWire ¶
func (v *Bar_ArgNotStruct_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgNotStruct_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgNotStruct_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgNotStruct_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgNotStruct_Result) MarshalEasyJSON ¶
func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgNotStruct_Result) MarshalJSON ¶
func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgNotStruct_Result) MethodName ¶
func (v *Bar_ArgNotStruct_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argNotStruct" for this struct.
func (*Bar_ArgNotStruct_Result) String ¶
func (v *Bar_ArgNotStruct_Result) String() string
String returns a readable string representation of a Bar_ArgNotStruct_Result struct.
func (*Bar_ArgNotStruct_Result) ToWire ¶
func (v *Bar_ArgNotStruct_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgNotStruct_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgNotStruct_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgNotStruct_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgNotStruct_Result) UnmarshalJSON ¶
func (v *Bar_ArgNotStruct_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithHeaders_Args ¶
Bar_ArgWithHeaders_Args represents the arguments for the Bar.argWithHeaders function.
The arguments for argWithHeaders are sent and received over the wire as this struct.
func (*Bar_ArgWithHeaders_Args) EnvelopeType ¶
func (v *Bar_ArgWithHeaders_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithHeaders_Args) Equals ¶
func (v *Bar_ArgWithHeaders_Args) Equals(rhs *Bar_ArgWithHeaders_Args) bool
Equals returns true if all the fields of this Bar_ArgWithHeaders_Args match the provided Bar_ArgWithHeaders_Args.
This function performs a deep comparison.
func (*Bar_ArgWithHeaders_Args) FromWire ¶
func (v *Bar_ArgWithHeaders_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithHeaders_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithHeaders_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithHeaders_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithHeaders_Args) GetUserUUID ¶
func (v *Bar_ArgWithHeaders_Args) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (Bar_ArgWithHeaders_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithHeaders_Args) MarshalJSON ¶
func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithHeaders_Args) MethodName ¶
func (v *Bar_ArgWithHeaders_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithHeaders" for this struct.
func (*Bar_ArgWithHeaders_Args) String ¶
func (v *Bar_ArgWithHeaders_Args) String() string
String returns a readable string representation of a Bar_ArgWithHeaders_Args struct.
func (*Bar_ArgWithHeaders_Args) ToWire ¶
func (v *Bar_ArgWithHeaders_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithHeaders_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithHeaders_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithHeaders_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithHeaders_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithHeaders_Result ¶
type Bar_ArgWithHeaders_Result struct { // Value returned by argWithHeaders after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithHeaders_Result represents the result of a Bar.argWithHeaders function call.
The result of a argWithHeaders execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithHeaders_Result) EnvelopeType ¶
func (v *Bar_ArgWithHeaders_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithHeaders_Result) Equals ¶
func (v *Bar_ArgWithHeaders_Result) Equals(rhs *Bar_ArgWithHeaders_Result) bool
Equals returns true if all the fields of this Bar_ArgWithHeaders_Result match the provided Bar_ArgWithHeaders_Result.
This function performs a deep comparison.
func (*Bar_ArgWithHeaders_Result) FromWire ¶
func (v *Bar_ArgWithHeaders_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithHeaders_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithHeaders_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithHeaders_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithHeaders_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithHeaders_Result) MarshalJSON ¶
func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithHeaders_Result) MethodName ¶
func (v *Bar_ArgWithHeaders_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithHeaders" for this struct.
func (*Bar_ArgWithHeaders_Result) String ¶
func (v *Bar_ArgWithHeaders_Result) String() string
String returns a readable string representation of a Bar_ArgWithHeaders_Result struct.
func (*Bar_ArgWithHeaders_Result) ToWire ¶
func (v *Bar_ArgWithHeaders_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithHeaders_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithHeaders_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithHeaders_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithHeaders_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithManyQueryParams_Args ¶
type Bar_ArgWithManyQueryParams_Args struct { AStr string `json:"aStr,required"` AnOptStr *string `json:"anOptStr,omitempty"` ABool bool `json:"aBool,required"` AnOptBool *bool `json:"anOptBool,omitempty"` AInt8 int8 `json:"aInt8,required"` AnOptInt8 *int8 `json:"anOptInt8,omitempty"` AInt16 int16 `json:"aInt16,required"` AnOptInt16 *int16 `json:"anOptInt16,omitempty"` AInt32 int32 `json:"aInt32,required"` AnOptInt32 *int32 `json:"anOptInt32,omitempty"` AInt64 int64 `json:"aInt64,required"` AnOptInt64 *int64 `json:"anOptInt64,omitempty"` AFloat64 float64 `json:"aFloat64,required"` AnOptFloat64 *float64 `json:"anOptFloat64,omitempty"` AUUID UUID `json:"aUUID,required"` AnOptUUID *UUID `json:"anOptUUID,omitempty"` AListUUID []UUID `json:"aListUUID,required"` AnOptListUUID []UUID `json:"anOptListUUID,omitempty"` AStringList StringList `json:"aStringList,required"` AnOptStringList StringList `json:"anOptStringList,omitempty"` AUUIDList UUIDList `json:"aUUIDList,required"` AnOptUUIDList UUIDList `json:"anOptUUIDList,omitempty"` ATs Timestamp `json:"aTs,required"` AnOptTs *Timestamp `json:"anOptTs,omitempty"` }
Bar_ArgWithManyQueryParams_Args represents the arguments for the Bar.argWithManyQueryParams function.
The arguments for argWithManyQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithManyQueryParams_Args) EnvelopeType ¶
func (v *Bar_ArgWithManyQueryParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithManyQueryParams_Args) Equals ¶
func (v *Bar_ArgWithManyQueryParams_Args) Equals(rhs *Bar_ArgWithManyQueryParams_Args) bool
Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Args match the provided Bar_ArgWithManyQueryParams_Args.
This function performs a deep comparison.
func (*Bar_ArgWithManyQueryParams_Args) FromWire ¶
func (v *Bar_ArgWithManyQueryParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithManyQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithManyQueryParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptBool ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)
GetAnOptBool returns the value of AnOptBool if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)
GetAnOptFloat64 returns the value of AnOptFloat64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt16 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt16() (o int16)
GetAnOptInt16 returns the value of AnOptInt16 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt32 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt32() (o int32)
GetAnOptInt32 returns the value of AnOptInt32 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt64() (o int64)
GetAnOptInt64 returns the value of AnOptInt64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt8 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt8() (o int8)
GetAnOptInt8 returns the value of AnOptInt8 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStr ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)
GetAnOptStr returns the value of AnOptStr if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptTs ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)
GetAnOptTs returns the value of AnOptTs if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)
GetAnOptUUID returns the value of AnOptUUID if it is set or its zero value if it is unset.
func (Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithManyQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithManyQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithManyQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithManyQueryParams" for this struct.
func (*Bar_ArgWithManyQueryParams_Args) String ¶
func (v *Bar_ArgWithManyQueryParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithManyQueryParams_Args struct.
func (*Bar_ArgWithManyQueryParams_Args) ToWire ¶
func (v *Bar_ArgWithManyQueryParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithManyQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithManyQueryParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithManyQueryParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithManyQueryParams_Result ¶
type Bar_ArgWithManyQueryParams_Result struct { // Value returned by argWithManyQueryParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithManyQueryParams_Result represents the result of a Bar.argWithManyQueryParams function call.
The result of a argWithManyQueryParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithManyQueryParams_Result) EnvelopeType ¶
func (v *Bar_ArgWithManyQueryParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithManyQueryParams_Result) Equals ¶
func (v *Bar_ArgWithManyQueryParams_Result) Equals(rhs *Bar_ArgWithManyQueryParams_Result) bool
Equals returns true if all the fields of this Bar_ArgWithManyQueryParams_Result match the provided Bar_ArgWithManyQueryParams_Result.
This function performs a deep comparison.
func (*Bar_ArgWithManyQueryParams_Result) FromWire ¶
func (v *Bar_ArgWithManyQueryParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithManyQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithManyQueryParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithManyQueryParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithManyQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithManyQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithManyQueryParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithManyQueryParams" for this struct.
func (*Bar_ArgWithManyQueryParams_Result) String ¶
func (v *Bar_ArgWithManyQueryParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithManyQueryParams_Result struct.
func (*Bar_ArgWithManyQueryParams_Result) ToWire ¶
func (v *Bar_ArgWithManyQueryParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithManyQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithManyQueryParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithManyQueryParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithNestedQueryParams_Args ¶
type Bar_ArgWithNestedQueryParams_Args struct { Request *QueryParamsStruct `json:"request,required"` Opt *QueryParamsOptsStruct `json:"opt,omitempty"` }
Bar_ArgWithNestedQueryParams_Args represents the arguments for the Bar.argWithNestedQueryParams function.
The arguments for argWithNestedQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithNestedQueryParams_Args) EnvelopeType ¶
func (v *Bar_ArgWithNestedQueryParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithNestedQueryParams_Args) Equals ¶
func (v *Bar_ArgWithNestedQueryParams_Args) Equals(rhs *Bar_ArgWithNestedQueryParams_Args) bool
Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Args match the provided Bar_ArgWithNestedQueryParams_Args.
This function performs a deep comparison.
func (*Bar_ArgWithNestedQueryParams_Args) FromWire ¶
func (v *Bar_ArgWithNestedQueryParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithNestedQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithNestedQueryParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNestedQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNestedQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithNestedQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithNestedQueryParams" for this struct.
func (*Bar_ArgWithNestedQueryParams_Args) String ¶
func (v *Bar_ArgWithNestedQueryParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Args struct.
func (*Bar_ArgWithNestedQueryParams_Args) ToWire ¶
func (v *Bar_ArgWithNestedQueryParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithNestedQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithNestedQueryParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithNestedQueryParams_Result ¶
type Bar_ArgWithNestedQueryParams_Result struct { // Value returned by argWithNestedQueryParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithNestedQueryParams_Result represents the result of a Bar.argWithNestedQueryParams function call.
The result of a argWithNestedQueryParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithNestedQueryParams_Result) EnvelopeType ¶
func (v *Bar_ArgWithNestedQueryParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithNestedQueryParams_Result) Equals ¶
func (v *Bar_ArgWithNestedQueryParams_Result) Equals(rhs *Bar_ArgWithNestedQueryParams_Result) bool
Equals returns true if all the fields of this Bar_ArgWithNestedQueryParams_Result match the provided Bar_ArgWithNestedQueryParams_Result.
This function performs a deep comparison.
func (*Bar_ArgWithNestedQueryParams_Result) FromWire ¶
func (v *Bar_ArgWithNestedQueryParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithNestedQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithNestedQueryParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithNestedQueryParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNestedQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNestedQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithNestedQueryParams_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 "argWithNestedQueryParams" for this struct.
func (*Bar_ArgWithNestedQueryParams_Result) String ¶
func (v *Bar_ArgWithNestedQueryParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithNestedQueryParams_Result struct.
func (*Bar_ArgWithNestedQueryParams_Result) ToWire ¶
func (v *Bar_ArgWithNestedQueryParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithNestedQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithNestedQueryParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithParams_Args ¶
type Bar_ArgWithParams_Args struct { UUID string `json:"uuid,required"` Params *ParamsStruct `json:"params,omitempty"` }
Bar_ArgWithParams_Args represents the arguments for the Bar.argWithParams function.
The arguments for argWithParams are sent and received over the wire as this struct.
func (*Bar_ArgWithParams_Args) EnvelopeType ¶
func (v *Bar_ArgWithParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithParams_Args) Equals ¶
func (v *Bar_ArgWithParams_Args) Equals(rhs *Bar_ArgWithParams_Args) bool
Equals returns true if all the fields of this Bar_ArgWithParams_Args match the provided Bar_ArgWithParams_Args.
This function performs a deep comparison.
func (*Bar_ArgWithParams_Args) FromWire ¶
func (v *Bar_ArgWithParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParams_Args) MarshalJSON ¶
func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParams_Args) MethodName ¶
func (v *Bar_ArgWithParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithParams" for this struct.
func (*Bar_ArgWithParams_Args) String ¶
func (v *Bar_ArgWithParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithParams_Args struct.
func (*Bar_ArgWithParams_Args) ToWire ¶
func (v *Bar_ArgWithParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithParams_Result ¶
type Bar_ArgWithParams_Result struct { // Value returned by argWithParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithParams_Result represents the result of a Bar.argWithParams function call.
The result of a argWithParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithParams_Result) EnvelopeType ¶
func (v *Bar_ArgWithParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithParams_Result) Equals ¶
func (v *Bar_ArgWithParams_Result) Equals(rhs *Bar_ArgWithParams_Result) bool
Equals returns true if all the fields of this Bar_ArgWithParams_Result match the provided Bar_ArgWithParams_Result.
This function performs a deep comparison.
func (*Bar_ArgWithParams_Result) FromWire ¶
func (v *Bar_ArgWithParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParams_Result) MarshalJSON ¶
func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParams_Result) MethodName ¶
func (v *Bar_ArgWithParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithParams" for this struct.
func (*Bar_ArgWithParams_Result) String ¶
func (v *Bar_ArgWithParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithParams_Result struct.
func (*Bar_ArgWithParams_Result) ToWire ¶
func (v *Bar_ArgWithParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithQueryHeader_Args ¶
type Bar_ArgWithQueryHeader_Args struct {
UserUUID *string `json:"userUUID,omitempty"`
}
Bar_ArgWithQueryHeader_Args represents the arguments for the Bar.argWithQueryHeader function.
The arguments for argWithQueryHeader are sent and received over the wire as this struct.
func (*Bar_ArgWithQueryHeader_Args) EnvelopeType ¶
func (v *Bar_ArgWithQueryHeader_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithQueryHeader_Args) Equals ¶
func (v *Bar_ArgWithQueryHeader_Args) Equals(rhs *Bar_ArgWithQueryHeader_Args) bool
Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Args match the provided Bar_ArgWithQueryHeader_Args.
This function performs a deep comparison.
func (*Bar_ArgWithQueryHeader_Args) FromWire ¶
func (v *Bar_ArgWithQueryHeader_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithQueryHeader_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithQueryHeader_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithQueryHeader_Args) GetUserUUID ¶
func (v *Bar_ArgWithQueryHeader_Args) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (Bar_ArgWithQueryHeader_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryHeader_Args) MarshalJSON ¶
func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryHeader_Args) MethodName ¶
func (v *Bar_ArgWithQueryHeader_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithQueryHeader" for this struct.
func (*Bar_ArgWithQueryHeader_Args) String ¶
func (v *Bar_ArgWithQueryHeader_Args) String() string
String returns a readable string representation of a Bar_ArgWithQueryHeader_Args struct.
func (*Bar_ArgWithQueryHeader_Args) ToWire ¶
func (v *Bar_ArgWithQueryHeader_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithQueryHeader_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithQueryHeader_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithQueryHeader_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithQueryHeader_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithQueryHeader_Result ¶
type Bar_ArgWithQueryHeader_Result struct { // Value returned by argWithQueryHeader after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithQueryHeader_Result represents the result of a Bar.argWithQueryHeader function call.
The result of a argWithQueryHeader execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithQueryHeader_Result) EnvelopeType ¶
func (v *Bar_ArgWithQueryHeader_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithQueryHeader_Result) Equals ¶
func (v *Bar_ArgWithQueryHeader_Result) Equals(rhs *Bar_ArgWithQueryHeader_Result) bool
Equals returns true if all the fields of this Bar_ArgWithQueryHeader_Result match the provided Bar_ArgWithQueryHeader_Result.
This function performs a deep comparison.
func (*Bar_ArgWithQueryHeader_Result) FromWire ¶
func (v *Bar_ArgWithQueryHeader_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithQueryHeader_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithQueryHeader_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithQueryHeader_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithQueryHeader_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryHeader_Result) MarshalJSON ¶
func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryHeader_Result) MethodName ¶
func (v *Bar_ArgWithQueryHeader_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithQueryHeader" for this struct.
func (*Bar_ArgWithQueryHeader_Result) String ¶
func (v *Bar_ArgWithQueryHeader_Result) String() string
String returns a readable string representation of a Bar_ArgWithQueryHeader_Result struct.
func (*Bar_ArgWithQueryHeader_Result) ToWire ¶
func (v *Bar_ArgWithQueryHeader_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithQueryHeader_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithQueryHeader_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithQueryHeader_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithQueryHeader_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithQueryParams_Args ¶
type Bar_ArgWithQueryParams_Args struct { Name string `json:"name,required"` UserUUID *string `json:"userUUID,omitempty"` Foo []string `json:"foo,omitempty"` Bar []int8 `json:"bar,required"` }
Bar_ArgWithQueryParams_Args represents the arguments for the Bar.argWithQueryParams function.
The arguments for argWithQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithQueryParams_Args) EnvelopeType ¶
func (v *Bar_ArgWithQueryParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithQueryParams_Args) Equals ¶
func (v *Bar_ArgWithQueryParams_Args) Equals(rhs *Bar_ArgWithQueryParams_Args) bool
Equals returns true if all the fields of this Bar_ArgWithQueryParams_Args match the provided Bar_ArgWithQueryParams_Args.
This function performs a deep comparison.
func (*Bar_ArgWithQueryParams_Args) FromWire ¶
func (v *Bar_ArgWithQueryParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithQueryParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithQueryParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithQueryParams_Args) GetUserUUID ¶
func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (Bar_ArgWithQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithQueryParams" for this struct.
func (*Bar_ArgWithQueryParams_Args) String ¶
func (v *Bar_ArgWithQueryParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithQueryParams_Args struct.
func (*Bar_ArgWithQueryParams_Args) ToWire ¶
func (v *Bar_ArgWithQueryParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithQueryParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithQueryParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithQueryParams_Result ¶
type Bar_ArgWithQueryParams_Result struct { // Value returned by argWithQueryParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithQueryParams_Result represents the result of a Bar.argWithQueryParams function call.
The result of a argWithQueryParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithQueryParams_Result) EnvelopeType ¶
func (v *Bar_ArgWithQueryParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithQueryParams_Result) Equals ¶
func (v *Bar_ArgWithQueryParams_Result) Equals(rhs *Bar_ArgWithQueryParams_Result) bool
Equals returns true if all the fields of this Bar_ArgWithQueryParams_Result match the provided Bar_ArgWithQueryParams_Result.
This function performs a deep comparison.
func (*Bar_ArgWithQueryParams_Result) FromWire ¶
func (v *Bar_ArgWithQueryParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithQueryParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithQueryParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_ArgWithQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithQueryParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithQueryParams" for this struct.
func (*Bar_ArgWithQueryParams_Result) String ¶
func (v *Bar_ArgWithQueryParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithQueryParams_Result struct.
func (*Bar_ArgWithQueryParams_Result) ToWire ¶
func (v *Bar_ArgWithQueryParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithQueryParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithQueryParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_HelloWorld_Args ¶
type Bar_HelloWorld_Args struct { }
Bar_HelloWorld_Args represents the arguments for the Bar.helloWorld function.
The arguments for helloWorld are sent and received over the wire as this struct.
func (*Bar_HelloWorld_Args) EnvelopeType ¶
func (v *Bar_HelloWorld_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_HelloWorld_Args) Equals ¶
func (v *Bar_HelloWorld_Args) Equals(rhs *Bar_HelloWorld_Args) bool
Equals returns true if all the fields of this Bar_HelloWorld_Args match the provided Bar_HelloWorld_Args.
This function performs a deep comparison.
func (*Bar_HelloWorld_Args) FromWire ¶
func (v *Bar_HelloWorld_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_HelloWorld_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_HelloWorld_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_HelloWorld_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_HelloWorld_Args) MarshalEasyJSON ¶
func (v Bar_HelloWorld_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_HelloWorld_Args) MarshalJSON ¶
func (v Bar_HelloWorld_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_HelloWorld_Args) MethodName ¶
func (v *Bar_HelloWorld_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "helloWorld" for this struct.
func (*Bar_HelloWorld_Args) String ¶
func (v *Bar_HelloWorld_Args) String() string
String returns a readable string representation of a Bar_HelloWorld_Args struct.
func (*Bar_HelloWorld_Args) ToWire ¶
func (v *Bar_HelloWorld_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_HelloWorld_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_HelloWorld_Args) UnmarshalEasyJSON ¶
func (v *Bar_HelloWorld_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_HelloWorld_Args) UnmarshalJSON ¶
func (v *Bar_HelloWorld_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_HelloWorld_Result ¶
type Bar_HelloWorld_Result struct { // Value returned by helloWorld after a successful execution. Success *string `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_HelloWorld_Result represents the result of a Bar.helloWorld function call.
The result of a helloWorld execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_HelloWorld_Result) EnvelopeType ¶
func (v *Bar_HelloWorld_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_HelloWorld_Result) Equals ¶
func (v *Bar_HelloWorld_Result) Equals(rhs *Bar_HelloWorld_Result) bool
Equals returns true if all the fields of this Bar_HelloWorld_Result match the provided Bar_HelloWorld_Result.
This function performs a deep comparison.
func (*Bar_HelloWorld_Result) FromWire ¶
func (v *Bar_HelloWorld_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_HelloWorld_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_HelloWorld_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_HelloWorld_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_HelloWorld_Result) GetSuccess ¶
func (v *Bar_HelloWorld_Result) GetSuccess() (o string)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Bar_HelloWorld_Result) MarshalEasyJSON ¶
func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_HelloWorld_Result) MarshalJSON ¶
func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_HelloWorld_Result) MethodName ¶
func (v *Bar_HelloWorld_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "helloWorld" for this struct.
func (*Bar_HelloWorld_Result) String ¶
func (v *Bar_HelloWorld_Result) String() string
String returns a readable string representation of a Bar_HelloWorld_Result struct.
func (*Bar_HelloWorld_Result) ToWire ¶
func (v *Bar_HelloWorld_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_HelloWorld_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_HelloWorld_Result) UnmarshalEasyJSON ¶
func (v *Bar_HelloWorld_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_HelloWorld_Result) UnmarshalJSON ¶
func (v *Bar_HelloWorld_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_MissingArg_Args ¶
type Bar_MissingArg_Args struct { }
Bar_MissingArg_Args represents the arguments for the Bar.missingArg function.
The arguments for missingArg are sent and received over the wire as this struct.
func (*Bar_MissingArg_Args) EnvelopeType ¶
func (v *Bar_MissingArg_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_MissingArg_Args) Equals ¶
func (v *Bar_MissingArg_Args) Equals(rhs *Bar_MissingArg_Args) bool
Equals returns true if all the fields of this Bar_MissingArg_Args match the provided Bar_MissingArg_Args.
This function performs a deep comparison.
func (*Bar_MissingArg_Args) FromWire ¶
func (v *Bar_MissingArg_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_MissingArg_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_MissingArg_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_MissingArg_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_MissingArg_Args) MarshalEasyJSON ¶
func (v Bar_MissingArg_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_MissingArg_Args) MarshalJSON ¶
func (v Bar_MissingArg_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_MissingArg_Args) MethodName ¶
func (v *Bar_MissingArg_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "missingArg" for this struct.
func (*Bar_MissingArg_Args) String ¶
func (v *Bar_MissingArg_Args) String() string
String returns a readable string representation of a Bar_MissingArg_Args struct.
func (*Bar_MissingArg_Args) ToWire ¶
func (v *Bar_MissingArg_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_MissingArg_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_MissingArg_Args) UnmarshalEasyJSON ¶
func (v *Bar_MissingArg_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_MissingArg_Args) UnmarshalJSON ¶
func (v *Bar_MissingArg_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_MissingArg_Result ¶
type Bar_MissingArg_Result struct { // Value returned by missingArg after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_MissingArg_Result represents the result of a Bar.missingArg function call.
The result of a missingArg execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_MissingArg_Result) EnvelopeType ¶
func (v *Bar_MissingArg_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_MissingArg_Result) Equals ¶
func (v *Bar_MissingArg_Result) Equals(rhs *Bar_MissingArg_Result) bool
Equals returns true if all the fields of this Bar_MissingArg_Result match the provided Bar_MissingArg_Result.
This function performs a deep comparison.
func (*Bar_MissingArg_Result) FromWire ¶
func (v *Bar_MissingArg_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_MissingArg_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_MissingArg_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_MissingArg_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_MissingArg_Result) MarshalEasyJSON ¶
func (v Bar_MissingArg_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_MissingArg_Result) MarshalJSON ¶
func (v Bar_MissingArg_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_MissingArg_Result) MethodName ¶
func (v *Bar_MissingArg_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "missingArg" for this struct.
func (*Bar_MissingArg_Result) String ¶
func (v *Bar_MissingArg_Result) String() string
String returns a readable string representation of a Bar_MissingArg_Result struct.
func (*Bar_MissingArg_Result) ToWire ¶
func (v *Bar_MissingArg_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_MissingArg_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_MissingArg_Result) UnmarshalEasyJSON ¶
func (v *Bar_MissingArg_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_MissingArg_Result) UnmarshalJSON ¶
func (v *Bar_MissingArg_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NoRequest_Args ¶
type Bar_NoRequest_Args struct { }
Bar_NoRequest_Args represents the arguments for the Bar.noRequest function.
The arguments for noRequest are sent and received over the wire as this struct.
func (*Bar_NoRequest_Args) EnvelopeType ¶
func (v *Bar_NoRequest_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_NoRequest_Args) Equals ¶
func (v *Bar_NoRequest_Args) Equals(rhs *Bar_NoRequest_Args) bool
Equals returns true if all the fields of this Bar_NoRequest_Args match the provided Bar_NoRequest_Args.
This function performs a deep comparison.
func (*Bar_NoRequest_Args) FromWire ¶
func (v *Bar_NoRequest_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_NoRequest_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_NoRequest_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_NoRequest_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_NoRequest_Args) MarshalEasyJSON ¶
func (v Bar_NoRequest_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NoRequest_Args) MarshalJSON ¶
func (v Bar_NoRequest_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NoRequest_Args) MethodName ¶
func (v *Bar_NoRequest_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "noRequest" for this struct.
func (*Bar_NoRequest_Args) String ¶
func (v *Bar_NoRequest_Args) String() string
String returns a readable string representation of a Bar_NoRequest_Args struct.
func (*Bar_NoRequest_Args) ToWire ¶
func (v *Bar_NoRequest_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_NoRequest_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NoRequest_Args) UnmarshalEasyJSON ¶
func (v *Bar_NoRequest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NoRequest_Args) UnmarshalJSON ¶
func (v *Bar_NoRequest_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NoRequest_Result ¶
type Bar_NoRequest_Result struct { // Value returned by noRequest after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_NoRequest_Result represents the result of a Bar.noRequest function call.
The result of a noRequest execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_NoRequest_Result) EnvelopeType ¶
func (v *Bar_NoRequest_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_NoRequest_Result) Equals ¶
func (v *Bar_NoRequest_Result) Equals(rhs *Bar_NoRequest_Result) bool
Equals returns true if all the fields of this Bar_NoRequest_Result match the provided Bar_NoRequest_Result.
This function performs a deep comparison.
func (*Bar_NoRequest_Result) FromWire ¶
func (v *Bar_NoRequest_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_NoRequest_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_NoRequest_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_NoRequest_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_NoRequest_Result) MarshalEasyJSON ¶
func (v Bar_NoRequest_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NoRequest_Result) MarshalJSON ¶
func (v Bar_NoRequest_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NoRequest_Result) MethodName ¶
func (v *Bar_NoRequest_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "noRequest" for this struct.
func (*Bar_NoRequest_Result) String ¶
func (v *Bar_NoRequest_Result) String() string
String returns a readable string representation of a Bar_NoRequest_Result struct.
func (*Bar_NoRequest_Result) ToWire ¶
func (v *Bar_NoRequest_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_NoRequest_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NoRequest_Result) UnmarshalEasyJSON ¶
func (v *Bar_NoRequest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NoRequest_Result) UnmarshalJSON ¶
func (v *Bar_NoRequest_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NormalRecur_Args ¶
type Bar_NormalRecur_Args struct {
Request *BarRequestRecur `json:"request,required"`
}
Bar_NormalRecur_Args represents the arguments for the Bar.normalRecur function.
The arguments for normalRecur are sent and received over the wire as this struct.
func (*Bar_NormalRecur_Args) EnvelopeType ¶
func (v *Bar_NormalRecur_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_NormalRecur_Args) Equals ¶
func (v *Bar_NormalRecur_Args) Equals(rhs *Bar_NormalRecur_Args) bool
Equals returns true if all the fields of this Bar_NormalRecur_Args match the provided Bar_NormalRecur_Args.
This function performs a deep comparison.
func (*Bar_NormalRecur_Args) FromWire ¶
func (v *Bar_NormalRecur_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_NormalRecur_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_NormalRecur_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_NormalRecur_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_NormalRecur_Args) MarshalEasyJSON ¶
func (v Bar_NormalRecur_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NormalRecur_Args) MarshalJSON ¶
func (v Bar_NormalRecur_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NormalRecur_Args) MethodName ¶
func (v *Bar_NormalRecur_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "normalRecur" for this struct.
func (*Bar_NormalRecur_Args) String ¶
func (v *Bar_NormalRecur_Args) String() string
String returns a readable string representation of a Bar_NormalRecur_Args struct.
func (*Bar_NormalRecur_Args) ToWire ¶
func (v *Bar_NormalRecur_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_NormalRecur_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NormalRecur_Args) UnmarshalEasyJSON ¶
func (v *Bar_NormalRecur_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NormalRecur_Args) UnmarshalJSON ¶
func (v *Bar_NormalRecur_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NormalRecur_Result ¶
type Bar_NormalRecur_Result struct { // Value returned by normalRecur after a successful execution. Success *BarResponseRecur `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_NormalRecur_Result represents the result of a Bar.normalRecur function call.
The result of a normalRecur execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_NormalRecur_Result) EnvelopeType ¶
func (v *Bar_NormalRecur_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_NormalRecur_Result) Equals ¶
func (v *Bar_NormalRecur_Result) Equals(rhs *Bar_NormalRecur_Result) bool
Equals returns true if all the fields of this Bar_NormalRecur_Result match the provided Bar_NormalRecur_Result.
This function performs a deep comparison.
func (*Bar_NormalRecur_Result) FromWire ¶
func (v *Bar_NormalRecur_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_NormalRecur_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_NormalRecur_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_NormalRecur_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_NormalRecur_Result) MarshalEasyJSON ¶
func (v Bar_NormalRecur_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NormalRecur_Result) MarshalJSON ¶
func (v Bar_NormalRecur_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NormalRecur_Result) MethodName ¶
func (v *Bar_NormalRecur_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "normalRecur" for this struct.
func (*Bar_NormalRecur_Result) String ¶
func (v *Bar_NormalRecur_Result) String() string
String returns a readable string representation of a Bar_NormalRecur_Result struct.
func (*Bar_NormalRecur_Result) ToWire ¶
func (v *Bar_NormalRecur_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_NormalRecur_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NormalRecur_Result) UnmarshalEasyJSON ¶
func (v *Bar_NormalRecur_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NormalRecur_Result) UnmarshalJSON ¶
func (v *Bar_NormalRecur_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_Normal_Args ¶
type Bar_Normal_Args struct {
Request *BarRequest `json:"request,required"`
}
Bar_Normal_Args represents the arguments for the Bar.normal function.
The arguments for normal are sent and received over the wire as this struct.
func (*Bar_Normal_Args) EnvelopeType ¶
func (v *Bar_Normal_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_Normal_Args) Equals ¶
func (v *Bar_Normal_Args) Equals(rhs *Bar_Normal_Args) bool
Equals returns true if all the fields of this Bar_Normal_Args match the provided Bar_Normal_Args.
This function performs a deep comparison.
func (*Bar_Normal_Args) FromWire ¶
func (v *Bar_Normal_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_Normal_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_Normal_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_Normal_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_Normal_Args) MarshalEasyJSON ¶
func (v Bar_Normal_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_Normal_Args) MarshalJSON ¶
func (v Bar_Normal_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_Normal_Args) MethodName ¶
func (v *Bar_Normal_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "normal" for this struct.
func (*Bar_Normal_Args) String ¶
func (v *Bar_Normal_Args) String() string
String returns a readable string representation of a Bar_Normal_Args struct.
func (*Bar_Normal_Args) ToWire ¶
func (v *Bar_Normal_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_Normal_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_Normal_Args) UnmarshalEasyJSON ¶
func (v *Bar_Normal_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_Normal_Args) UnmarshalJSON ¶
func (v *Bar_Normal_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_Normal_Result ¶
type Bar_Normal_Result struct { // Value returned by normal after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_Normal_Result represents the result of a Bar.normal function call.
The result of a normal execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_Normal_Result) EnvelopeType ¶
func (v *Bar_Normal_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_Normal_Result) Equals ¶
func (v *Bar_Normal_Result) Equals(rhs *Bar_Normal_Result) bool
Equals returns true if all the fields of this Bar_Normal_Result match the provided Bar_Normal_Result.
This function performs a deep comparison.
func (*Bar_Normal_Result) FromWire ¶
func (v *Bar_Normal_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_Normal_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_Normal_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_Normal_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_Normal_Result) MarshalEasyJSON ¶
func (v Bar_Normal_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_Normal_Result) MarshalJSON ¶
func (v Bar_Normal_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_Normal_Result) MethodName ¶
func (v *Bar_Normal_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "normal" for this struct.
func (*Bar_Normal_Result) String ¶
func (v *Bar_Normal_Result) String() string
String returns a readable string representation of a Bar_Normal_Result struct.
func (*Bar_Normal_Result) ToWire ¶
func (v *Bar_Normal_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_Normal_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_Normal_Result) UnmarshalEasyJSON ¶
func (v *Bar_Normal_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_Normal_Result) UnmarshalJSON ¶
func (v *Bar_Normal_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_TooManyArgs_Args ¶
type Bar_TooManyArgs_Args struct { Request *BarRequest `json:"request,required"` Foo *foo.FooStruct `json:"foo,omitempty"` }
Bar_TooManyArgs_Args represents the arguments for the Bar.tooManyArgs function.
The arguments for tooManyArgs are sent and received over the wire as this struct.
func (*Bar_TooManyArgs_Args) EnvelopeType ¶
func (v *Bar_TooManyArgs_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_TooManyArgs_Args) Equals ¶
func (v *Bar_TooManyArgs_Args) Equals(rhs *Bar_TooManyArgs_Args) bool
Equals returns true if all the fields of this Bar_TooManyArgs_Args match the provided Bar_TooManyArgs_Args.
This function performs a deep comparison.
func (*Bar_TooManyArgs_Args) FromWire ¶
func (v *Bar_TooManyArgs_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_TooManyArgs_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_TooManyArgs_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_TooManyArgs_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_TooManyArgs_Args) MarshalEasyJSON ¶
func (v Bar_TooManyArgs_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_TooManyArgs_Args) MarshalJSON ¶
func (v Bar_TooManyArgs_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_TooManyArgs_Args) MethodName ¶
func (v *Bar_TooManyArgs_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "tooManyArgs" for this struct.
func (*Bar_TooManyArgs_Args) String ¶
func (v *Bar_TooManyArgs_Args) String() string
String returns a readable string representation of a Bar_TooManyArgs_Args struct.
func (*Bar_TooManyArgs_Args) ToWire ¶
func (v *Bar_TooManyArgs_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_TooManyArgs_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_TooManyArgs_Args) UnmarshalEasyJSON ¶
func (v *Bar_TooManyArgs_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_TooManyArgs_Args) UnmarshalJSON ¶
func (v *Bar_TooManyArgs_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_TooManyArgs_Result ¶
type Bar_TooManyArgs_Result struct { // Value returned by tooManyArgs after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` FooException *foo.FooException `json:"fooException,omitempty"` }
Bar_TooManyArgs_Result represents the result of a Bar.tooManyArgs function call.
The result of a tooManyArgs execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_TooManyArgs_Result) EnvelopeType ¶
func (v *Bar_TooManyArgs_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_TooManyArgs_Result) Equals ¶
func (v *Bar_TooManyArgs_Result) Equals(rhs *Bar_TooManyArgs_Result) bool
Equals returns true if all the fields of this Bar_TooManyArgs_Result match the provided Bar_TooManyArgs_Result.
This function performs a deep comparison.
func (*Bar_TooManyArgs_Result) FromWire ¶
func (v *Bar_TooManyArgs_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_TooManyArgs_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_TooManyArgs_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_TooManyArgs_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_TooManyArgs_Result) MarshalEasyJSON ¶
func (v Bar_TooManyArgs_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_TooManyArgs_Result) MarshalJSON ¶
func (v Bar_TooManyArgs_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_TooManyArgs_Result) MethodName ¶
func (v *Bar_TooManyArgs_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "tooManyArgs" for this struct.
func (*Bar_TooManyArgs_Result) String ¶
func (v *Bar_TooManyArgs_Result) String() string
String returns a readable string representation of a Bar_TooManyArgs_Result struct.
func (*Bar_TooManyArgs_Result) ToWire ¶
func (v *Bar_TooManyArgs_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_TooManyArgs_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_TooManyArgs_Result) UnmarshalEasyJSON ¶
func (v *Bar_TooManyArgs_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_TooManyArgs_Result) UnmarshalJSON ¶
func (v *Bar_TooManyArgs_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoBinary_Args ¶
type Echo_EchoBinary_Args struct {
Arg []byte `json:"arg,required"`
}
Echo_EchoBinary_Args represents the arguments for the Echo.echoBinary function.
The arguments for echoBinary are sent and received over the wire as this struct.
func (*Echo_EchoBinary_Args) EnvelopeType ¶
func (v *Echo_EchoBinary_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoBinary_Args) Equals ¶
func (v *Echo_EchoBinary_Args) Equals(rhs *Echo_EchoBinary_Args) bool
Equals returns true if all the fields of this Echo_EchoBinary_Args match the provided Echo_EchoBinary_Args.
This function performs a deep comparison.
func (*Echo_EchoBinary_Args) FromWire ¶
func (v *Echo_EchoBinary_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoBinary_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoBinary_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoBinary_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoBinary_Args) MarshalEasyJSON ¶
func (v Echo_EchoBinary_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoBinary_Args) MarshalJSON ¶
func (v Echo_EchoBinary_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoBinary_Args) MethodName ¶
func (v *Echo_EchoBinary_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoBinary" for this struct.
func (*Echo_EchoBinary_Args) String ¶
func (v *Echo_EchoBinary_Args) String() string
String returns a readable string representation of a Echo_EchoBinary_Args struct.
func (*Echo_EchoBinary_Args) ToWire ¶
func (v *Echo_EchoBinary_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoBinary_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoBinary_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoBinary_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoBinary_Args) UnmarshalJSON ¶
func (v *Echo_EchoBinary_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoBinary_Result ¶
type Echo_EchoBinary_Result struct { // Value returned by echoBinary after a successful execution. Success []byte `json:"success,omitempty"` }
Echo_EchoBinary_Result represents the result of a Echo.echoBinary function call.
The result of a echoBinary execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoBinary_Result) EnvelopeType ¶
func (v *Echo_EchoBinary_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoBinary_Result) Equals ¶
func (v *Echo_EchoBinary_Result) Equals(rhs *Echo_EchoBinary_Result) bool
Equals returns true if all the fields of this Echo_EchoBinary_Result match the provided Echo_EchoBinary_Result.
This function performs a deep comparison.
func (*Echo_EchoBinary_Result) FromWire ¶
func (v *Echo_EchoBinary_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoBinary_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoBinary_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoBinary_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoBinary_Result) MarshalEasyJSON ¶
func (v Echo_EchoBinary_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoBinary_Result) MarshalJSON ¶
func (v Echo_EchoBinary_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoBinary_Result) MethodName ¶
func (v *Echo_EchoBinary_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoBinary" for this struct.
func (*Echo_EchoBinary_Result) String ¶
func (v *Echo_EchoBinary_Result) String() string
String returns a readable string representation of a Echo_EchoBinary_Result struct.
func (*Echo_EchoBinary_Result) ToWire ¶
func (v *Echo_EchoBinary_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoBinary_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoBinary_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoBinary_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoBinary_Result) UnmarshalJSON ¶
func (v *Echo_EchoBinary_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoBool_Args ¶
type Echo_EchoBool_Args struct {
Arg bool `json:"arg,required"`
}
Echo_EchoBool_Args represents the arguments for the Echo.echoBool function.
The arguments for echoBool are sent and received over the wire as this struct.
func (*Echo_EchoBool_Args) EnvelopeType ¶
func (v *Echo_EchoBool_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoBool_Args) Equals ¶
func (v *Echo_EchoBool_Args) Equals(rhs *Echo_EchoBool_Args) bool
Equals returns true if all the fields of this Echo_EchoBool_Args match the provided Echo_EchoBool_Args.
This function performs a deep comparison.
func (*Echo_EchoBool_Args) FromWire ¶
func (v *Echo_EchoBool_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoBool_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoBool_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoBool_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoBool_Args) MarshalEasyJSON ¶
func (v Echo_EchoBool_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoBool_Args) MarshalJSON ¶
func (v Echo_EchoBool_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoBool_Args) MethodName ¶
func (v *Echo_EchoBool_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoBool" for this struct.
func (*Echo_EchoBool_Args) String ¶
func (v *Echo_EchoBool_Args) String() string
String returns a readable string representation of a Echo_EchoBool_Args struct.
func (*Echo_EchoBool_Args) ToWire ¶
func (v *Echo_EchoBool_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoBool_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoBool_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoBool_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoBool_Args) UnmarshalJSON ¶
func (v *Echo_EchoBool_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoBool_Result ¶
type Echo_EchoBool_Result struct { // Value returned by echoBool after a successful execution. Success *bool `json:"success,omitempty"` }
Echo_EchoBool_Result represents the result of a Echo.echoBool function call.
The result of a echoBool execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoBool_Result) EnvelopeType ¶
func (v *Echo_EchoBool_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoBool_Result) Equals ¶
func (v *Echo_EchoBool_Result) Equals(rhs *Echo_EchoBool_Result) bool
Equals returns true if all the fields of this Echo_EchoBool_Result match the provided Echo_EchoBool_Result.
This function performs a deep comparison.
func (*Echo_EchoBool_Result) FromWire ¶
func (v *Echo_EchoBool_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoBool_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoBool_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoBool_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoBool_Result) GetSuccess ¶
func (v *Echo_EchoBool_Result) GetSuccess() (o bool)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoBool_Result) MarshalEasyJSON ¶
func (v Echo_EchoBool_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoBool_Result) MarshalJSON ¶
func (v Echo_EchoBool_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoBool_Result) MethodName ¶
func (v *Echo_EchoBool_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoBool" for this struct.
func (*Echo_EchoBool_Result) String ¶
func (v *Echo_EchoBool_Result) String() string
String returns a readable string representation of a Echo_EchoBool_Result struct.
func (*Echo_EchoBool_Result) ToWire ¶
func (v *Echo_EchoBool_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoBool_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoBool_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoBool_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoBool_Result) UnmarshalJSON ¶
func (v *Echo_EchoBool_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoDouble_Args ¶
type Echo_EchoDouble_Args struct {
Arg float64 `json:"arg,required"`
}
Echo_EchoDouble_Args represents the arguments for the Echo.echoDouble function.
The arguments for echoDouble are sent and received over the wire as this struct.
func (*Echo_EchoDouble_Args) EnvelopeType ¶
func (v *Echo_EchoDouble_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoDouble_Args) Equals ¶
func (v *Echo_EchoDouble_Args) Equals(rhs *Echo_EchoDouble_Args) bool
Equals returns true if all the fields of this Echo_EchoDouble_Args match the provided Echo_EchoDouble_Args.
This function performs a deep comparison.
func (*Echo_EchoDouble_Args) FromWire ¶
func (v *Echo_EchoDouble_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoDouble_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoDouble_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoDouble_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoDouble_Args) MarshalEasyJSON ¶
func (v Echo_EchoDouble_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoDouble_Args) MarshalJSON ¶
func (v Echo_EchoDouble_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoDouble_Args) MethodName ¶
func (v *Echo_EchoDouble_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoDouble" for this struct.
func (*Echo_EchoDouble_Args) String ¶
func (v *Echo_EchoDouble_Args) String() string
String returns a readable string representation of a Echo_EchoDouble_Args struct.
func (*Echo_EchoDouble_Args) ToWire ¶
func (v *Echo_EchoDouble_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoDouble_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoDouble_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoDouble_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoDouble_Args) UnmarshalJSON ¶
func (v *Echo_EchoDouble_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoDouble_Result ¶
type Echo_EchoDouble_Result struct { // Value returned by echoDouble after a successful execution. Success *float64 `json:"success,omitempty"` }
Echo_EchoDouble_Result represents the result of a Echo.echoDouble function call.
The result of a echoDouble execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoDouble_Result) EnvelopeType ¶
func (v *Echo_EchoDouble_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoDouble_Result) Equals ¶
func (v *Echo_EchoDouble_Result) Equals(rhs *Echo_EchoDouble_Result) bool
Equals returns true if all the fields of this Echo_EchoDouble_Result match the provided Echo_EchoDouble_Result.
This function performs a deep comparison.
func (*Echo_EchoDouble_Result) FromWire ¶
func (v *Echo_EchoDouble_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoDouble_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoDouble_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoDouble_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoDouble_Result) GetSuccess ¶
func (v *Echo_EchoDouble_Result) GetSuccess() (o float64)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoDouble_Result) MarshalEasyJSON ¶
func (v Echo_EchoDouble_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoDouble_Result) MarshalJSON ¶
func (v Echo_EchoDouble_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoDouble_Result) MethodName ¶
func (v *Echo_EchoDouble_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoDouble" for this struct.
func (*Echo_EchoDouble_Result) String ¶
func (v *Echo_EchoDouble_Result) String() string
String returns a readable string representation of a Echo_EchoDouble_Result struct.
func (*Echo_EchoDouble_Result) ToWire ¶
func (v *Echo_EchoDouble_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoDouble_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoDouble_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoDouble_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoDouble_Result) UnmarshalJSON ¶
func (v *Echo_EchoDouble_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoEnum_Args ¶
type Echo_EchoEnum_Args struct {
Arg *Fruit `json:"arg,omitempty"`
}
Echo_EchoEnum_Args represents the arguments for the Echo.echoEnum function.
The arguments for echoEnum are sent and received over the wire as this struct.
func (*Echo_EchoEnum_Args) EnvelopeType ¶
func (v *Echo_EchoEnum_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoEnum_Args) Equals ¶
func (v *Echo_EchoEnum_Args) Equals(rhs *Echo_EchoEnum_Args) bool
Equals returns true if all the fields of this Echo_EchoEnum_Args match the provided Echo_EchoEnum_Args.
This function performs a deep comparison.
func (*Echo_EchoEnum_Args) FromWire ¶
func (v *Echo_EchoEnum_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoEnum_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoEnum_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoEnum_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoEnum_Args) GetArg ¶
func (v *Echo_EchoEnum_Args) GetArg() (o Fruit)
GetArg returns the value of Arg if it is set or its zero value if it is unset.
func (Echo_EchoEnum_Args) MarshalEasyJSON ¶
func (v Echo_EchoEnum_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoEnum_Args) MarshalJSON ¶
func (v Echo_EchoEnum_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoEnum_Args) MethodName ¶
func (v *Echo_EchoEnum_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoEnum" for this struct.
func (*Echo_EchoEnum_Args) String ¶
func (v *Echo_EchoEnum_Args) String() string
String returns a readable string representation of a Echo_EchoEnum_Args struct.
func (*Echo_EchoEnum_Args) ToWire ¶
func (v *Echo_EchoEnum_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoEnum_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoEnum_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoEnum_Args) UnmarshalJSON ¶
func (v *Echo_EchoEnum_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoEnum_Result ¶
type Echo_EchoEnum_Result struct { // Value returned by echoEnum after a successful execution. Success *Fruit `json:"success,omitempty"` }
Echo_EchoEnum_Result represents the result of a Echo.echoEnum function call.
The result of a echoEnum execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoEnum_Result) EnvelopeType ¶
func (v *Echo_EchoEnum_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoEnum_Result) Equals ¶
func (v *Echo_EchoEnum_Result) Equals(rhs *Echo_EchoEnum_Result) bool
Equals returns true if all the fields of this Echo_EchoEnum_Result match the provided Echo_EchoEnum_Result.
This function performs a deep comparison.
func (*Echo_EchoEnum_Result) FromWire ¶
func (v *Echo_EchoEnum_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoEnum_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoEnum_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoEnum_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoEnum_Result) GetSuccess ¶
func (v *Echo_EchoEnum_Result) GetSuccess() (o Fruit)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoEnum_Result) MarshalEasyJSON ¶
func (v Echo_EchoEnum_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoEnum_Result) MarshalJSON ¶
func (v Echo_EchoEnum_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoEnum_Result) MethodName ¶
func (v *Echo_EchoEnum_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoEnum" for this struct.
func (*Echo_EchoEnum_Result) String ¶
func (v *Echo_EchoEnum_Result) String() string
String returns a readable string representation of a Echo_EchoEnum_Result struct.
func (*Echo_EchoEnum_Result) ToWire ¶
func (v *Echo_EchoEnum_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoEnum_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoEnum_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoEnum_Result) UnmarshalJSON ¶
func (v *Echo_EchoEnum_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI16_Args ¶
type Echo_EchoI16_Args struct {
Arg int16 `json:"arg,required"`
}
Echo_EchoI16_Args represents the arguments for the Echo.echoI16 function.
The arguments for echoI16 are sent and received over the wire as this struct.
func (*Echo_EchoI16_Args) EnvelopeType ¶
func (v *Echo_EchoI16_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoI16_Args) Equals ¶
func (v *Echo_EchoI16_Args) Equals(rhs *Echo_EchoI16_Args) bool
Equals returns true if all the fields of this Echo_EchoI16_Args match the provided Echo_EchoI16_Args.
This function performs a deep comparison.
func (*Echo_EchoI16_Args) FromWire ¶
func (v *Echo_EchoI16_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI16_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI16_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI16_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI16_Args) MarshalEasyJSON ¶
func (v Echo_EchoI16_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI16_Args) MarshalJSON ¶
func (v Echo_EchoI16_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI16_Args) MethodName ¶
func (v *Echo_EchoI16_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoI16" for this struct.
func (*Echo_EchoI16_Args) String ¶
func (v *Echo_EchoI16_Args) String() string
String returns a readable string representation of a Echo_EchoI16_Args struct.
func (*Echo_EchoI16_Args) ToWire ¶
func (v *Echo_EchoI16_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI16_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI16_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoI16_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI16_Args) UnmarshalJSON ¶
func (v *Echo_EchoI16_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI16_Result ¶
type Echo_EchoI16_Result struct { // Value returned by echoI16 after a successful execution. Success *int16 `json:"success,omitempty"` }
Echo_EchoI16_Result represents the result of a Echo.echoI16 function call.
The result of a echoI16 execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoI16_Result) EnvelopeType ¶
func (v *Echo_EchoI16_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoI16_Result) Equals ¶
func (v *Echo_EchoI16_Result) Equals(rhs *Echo_EchoI16_Result) bool
Equals returns true if all the fields of this Echo_EchoI16_Result match the provided Echo_EchoI16_Result.
This function performs a deep comparison.
func (*Echo_EchoI16_Result) FromWire ¶
func (v *Echo_EchoI16_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI16_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI16_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI16_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoI16_Result) GetSuccess ¶
func (v *Echo_EchoI16_Result) GetSuccess() (o int16)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoI16_Result) MarshalEasyJSON ¶
func (v Echo_EchoI16_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI16_Result) MarshalJSON ¶
func (v Echo_EchoI16_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI16_Result) MethodName ¶
func (v *Echo_EchoI16_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoI16" for this struct.
func (*Echo_EchoI16_Result) String ¶
func (v *Echo_EchoI16_Result) String() string
String returns a readable string representation of a Echo_EchoI16_Result struct.
func (*Echo_EchoI16_Result) ToWire ¶
func (v *Echo_EchoI16_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI16_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI16_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoI16_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI16_Result) UnmarshalJSON ¶
func (v *Echo_EchoI16_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI32Map_Args ¶
type Echo_EchoI32Map_Args struct {
Arg map[int32]*BarResponse `json:"arg,required"`
}
Echo_EchoI32Map_Args represents the arguments for the Echo.echoI32Map function.
The arguments for echoI32Map are sent and received over the wire as this struct.
func (*Echo_EchoI32Map_Args) EnvelopeType ¶
func (v *Echo_EchoI32Map_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoI32Map_Args) Equals ¶
func (v *Echo_EchoI32Map_Args) Equals(rhs *Echo_EchoI32Map_Args) bool
Equals returns true if all the fields of this Echo_EchoI32Map_Args match the provided Echo_EchoI32Map_Args.
This function performs a deep comparison.
func (*Echo_EchoI32Map_Args) FromWire ¶
func (v *Echo_EchoI32Map_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI32Map_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI32Map_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI32Map_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI32Map_Args) MarshalEasyJSON ¶
func (v Echo_EchoI32Map_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI32Map_Args) MarshalJSON ¶
func (v Echo_EchoI32Map_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI32Map_Args) MethodName ¶
func (v *Echo_EchoI32Map_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoI32Map" for this struct.
func (*Echo_EchoI32Map_Args) String ¶
func (v *Echo_EchoI32Map_Args) String() string
String returns a readable string representation of a Echo_EchoI32Map_Args struct.
func (*Echo_EchoI32Map_Args) ToWire ¶
func (v *Echo_EchoI32Map_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI32Map_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI32Map_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoI32Map_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI32Map_Args) UnmarshalJSON ¶
func (v *Echo_EchoI32Map_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI32Map_Result ¶
type Echo_EchoI32Map_Result struct { // Value returned by echoI32Map after a successful execution. Success map[int32]*BarResponse `json:"success,omitempty"` }
Echo_EchoI32Map_Result represents the result of a Echo.echoI32Map function call.
The result of a echoI32Map execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoI32Map_Result) EnvelopeType ¶
func (v *Echo_EchoI32Map_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoI32Map_Result) Equals ¶
func (v *Echo_EchoI32Map_Result) Equals(rhs *Echo_EchoI32Map_Result) bool
Equals returns true if all the fields of this Echo_EchoI32Map_Result match the provided Echo_EchoI32Map_Result.
This function performs a deep comparison.
func (*Echo_EchoI32Map_Result) FromWire ¶
func (v *Echo_EchoI32Map_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI32Map_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI32Map_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI32Map_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI32Map_Result) MarshalEasyJSON ¶
func (v Echo_EchoI32Map_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI32Map_Result) MarshalJSON ¶
func (v Echo_EchoI32Map_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI32Map_Result) MethodName ¶
func (v *Echo_EchoI32Map_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoI32Map" for this struct.
func (*Echo_EchoI32Map_Result) String ¶
func (v *Echo_EchoI32Map_Result) String() string
String returns a readable string representation of a Echo_EchoI32Map_Result struct.
func (*Echo_EchoI32Map_Result) ToWire ¶
func (v *Echo_EchoI32Map_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI32Map_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI32Map_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoI32Map_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI32Map_Result) UnmarshalJSON ¶
func (v *Echo_EchoI32Map_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI32_Args ¶
type Echo_EchoI32_Args struct {
Arg int32 `json:"arg,required"`
}
Echo_EchoI32_Args represents the arguments for the Echo.echoI32 function.
The arguments for echoI32 are sent and received over the wire as this struct.
func (*Echo_EchoI32_Args) EnvelopeType ¶
func (v *Echo_EchoI32_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoI32_Args) Equals ¶
func (v *Echo_EchoI32_Args) Equals(rhs *Echo_EchoI32_Args) bool
Equals returns true if all the fields of this Echo_EchoI32_Args match the provided Echo_EchoI32_Args.
This function performs a deep comparison.
func (*Echo_EchoI32_Args) FromWire ¶
func (v *Echo_EchoI32_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI32_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI32_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI32_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI32_Args) MarshalEasyJSON ¶
func (v Echo_EchoI32_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI32_Args) MarshalJSON ¶
func (v Echo_EchoI32_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI32_Args) MethodName ¶
func (v *Echo_EchoI32_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoI32" for this struct.
func (*Echo_EchoI32_Args) String ¶
func (v *Echo_EchoI32_Args) String() string
String returns a readable string representation of a Echo_EchoI32_Args struct.
func (*Echo_EchoI32_Args) ToWire ¶
func (v *Echo_EchoI32_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI32_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI32_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoI32_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI32_Args) UnmarshalJSON ¶
func (v *Echo_EchoI32_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI32_Result ¶
type Echo_EchoI32_Result struct { // Value returned by echoI32 after a successful execution. Success *int32 `json:"success,omitempty"` }
Echo_EchoI32_Result represents the result of a Echo.echoI32 function call.
The result of a echoI32 execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoI32_Result) EnvelopeType ¶
func (v *Echo_EchoI32_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoI32_Result) Equals ¶
func (v *Echo_EchoI32_Result) Equals(rhs *Echo_EchoI32_Result) bool
Equals returns true if all the fields of this Echo_EchoI32_Result match the provided Echo_EchoI32_Result.
This function performs a deep comparison.
func (*Echo_EchoI32_Result) FromWire ¶
func (v *Echo_EchoI32_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI32_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI32_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI32_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoI32_Result) GetSuccess ¶
func (v *Echo_EchoI32_Result) GetSuccess() (o int32)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoI32_Result) MarshalEasyJSON ¶
func (v Echo_EchoI32_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI32_Result) MarshalJSON ¶
func (v Echo_EchoI32_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI32_Result) MethodName ¶
func (v *Echo_EchoI32_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoI32" for this struct.
func (*Echo_EchoI32_Result) String ¶
func (v *Echo_EchoI32_Result) String() string
String returns a readable string representation of a Echo_EchoI32_Result struct.
func (*Echo_EchoI32_Result) ToWire ¶
func (v *Echo_EchoI32_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI32_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI32_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoI32_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI32_Result) UnmarshalJSON ¶
func (v *Echo_EchoI32_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI64_Args ¶
type Echo_EchoI64_Args struct {
Arg int64 `json:"arg,required"`
}
Echo_EchoI64_Args represents the arguments for the Echo.echoI64 function.
The arguments for echoI64 are sent and received over the wire as this struct.
func (*Echo_EchoI64_Args) EnvelopeType ¶
func (v *Echo_EchoI64_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoI64_Args) Equals ¶
func (v *Echo_EchoI64_Args) Equals(rhs *Echo_EchoI64_Args) bool
Equals returns true if all the fields of this Echo_EchoI64_Args match the provided Echo_EchoI64_Args.
This function performs a deep comparison.
func (*Echo_EchoI64_Args) FromWire ¶
func (v *Echo_EchoI64_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI64_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI64_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI64_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI64_Args) MarshalEasyJSON ¶
func (v Echo_EchoI64_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI64_Args) MarshalJSON ¶
func (v Echo_EchoI64_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI64_Args) MethodName ¶
func (v *Echo_EchoI64_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoI64" for this struct.
func (*Echo_EchoI64_Args) String ¶
func (v *Echo_EchoI64_Args) String() string
String returns a readable string representation of a Echo_EchoI64_Args struct.
func (*Echo_EchoI64_Args) ToWire ¶
func (v *Echo_EchoI64_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI64_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI64_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoI64_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI64_Args) UnmarshalJSON ¶
func (v *Echo_EchoI64_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI64_Result ¶
type Echo_EchoI64_Result struct { // Value returned by echoI64 after a successful execution. Success *int64 `json:"success,omitempty"` }
Echo_EchoI64_Result represents the result of a Echo.echoI64 function call.
The result of a echoI64 execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoI64_Result) EnvelopeType ¶
func (v *Echo_EchoI64_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoI64_Result) Equals ¶
func (v *Echo_EchoI64_Result) Equals(rhs *Echo_EchoI64_Result) bool
Equals returns true if all the fields of this Echo_EchoI64_Result match the provided Echo_EchoI64_Result.
This function performs a deep comparison.
func (*Echo_EchoI64_Result) FromWire ¶
func (v *Echo_EchoI64_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI64_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI64_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI64_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoI64_Result) GetSuccess ¶
func (v *Echo_EchoI64_Result) GetSuccess() (o int64)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoI64_Result) MarshalEasyJSON ¶
func (v Echo_EchoI64_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI64_Result) MarshalJSON ¶
func (v Echo_EchoI64_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI64_Result) MethodName ¶
func (v *Echo_EchoI64_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoI64" for this struct.
func (*Echo_EchoI64_Result) String ¶
func (v *Echo_EchoI64_Result) String() string
String returns a readable string representation of a Echo_EchoI64_Result struct.
func (*Echo_EchoI64_Result) ToWire ¶
func (v *Echo_EchoI64_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI64_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI64_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoI64_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI64_Result) UnmarshalJSON ¶
func (v *Echo_EchoI64_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI8_Args ¶
type Echo_EchoI8_Args struct {
Arg int8 `json:"arg,required"`
}
Echo_EchoI8_Args represents the arguments for the Echo.echoI8 function.
The arguments for echoI8 are sent and received over the wire as this struct.
func (*Echo_EchoI8_Args) EnvelopeType ¶
func (v *Echo_EchoI8_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoI8_Args) Equals ¶
func (v *Echo_EchoI8_Args) Equals(rhs *Echo_EchoI8_Args) bool
Equals returns true if all the fields of this Echo_EchoI8_Args match the provided Echo_EchoI8_Args.
This function performs a deep comparison.
func (*Echo_EchoI8_Args) FromWire ¶
func (v *Echo_EchoI8_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI8_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI8_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI8_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoI8_Args) MarshalEasyJSON ¶
func (v Echo_EchoI8_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI8_Args) MarshalJSON ¶
func (v Echo_EchoI8_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI8_Args) MethodName ¶
func (v *Echo_EchoI8_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoI8" for this struct.
func (*Echo_EchoI8_Args) String ¶
func (v *Echo_EchoI8_Args) String() string
String returns a readable string representation of a Echo_EchoI8_Args struct.
func (*Echo_EchoI8_Args) ToWire ¶
func (v *Echo_EchoI8_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI8_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI8_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoI8_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI8_Args) UnmarshalJSON ¶
func (v *Echo_EchoI8_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoI8_Result ¶
type Echo_EchoI8_Result struct { // Value returned by echoI8 after a successful execution. Success *int8 `json:"success,omitempty"` }
Echo_EchoI8_Result represents the result of a Echo.echoI8 function call.
The result of a echoI8 execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoI8_Result) EnvelopeType ¶
func (v *Echo_EchoI8_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoI8_Result) Equals ¶
func (v *Echo_EchoI8_Result) Equals(rhs *Echo_EchoI8_Result) bool
Equals returns true if all the fields of this Echo_EchoI8_Result match the provided Echo_EchoI8_Result.
This function performs a deep comparison.
func (*Echo_EchoI8_Result) FromWire ¶
func (v *Echo_EchoI8_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoI8_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoI8_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoI8_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoI8_Result) GetSuccess ¶
func (v *Echo_EchoI8_Result) GetSuccess() (o int8)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoI8_Result) MarshalEasyJSON ¶
func (v Echo_EchoI8_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoI8_Result) MarshalJSON ¶
func (v Echo_EchoI8_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoI8_Result) MethodName ¶
func (v *Echo_EchoI8_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoI8" for this struct.
func (*Echo_EchoI8_Result) String ¶
func (v *Echo_EchoI8_Result) String() string
String returns a readable string representation of a Echo_EchoI8_Result struct.
func (*Echo_EchoI8_Result) ToWire ¶
func (v *Echo_EchoI8_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoI8_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoI8_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoI8_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoI8_Result) UnmarshalJSON ¶
func (v *Echo_EchoI8_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringList_Args ¶
type Echo_EchoStringList_Args struct {
Arg []string `json:"arg,required"`
}
Echo_EchoStringList_Args represents the arguments for the Echo.echoStringList function.
The arguments for echoStringList are sent and received over the wire as this struct.
func (*Echo_EchoStringList_Args) EnvelopeType ¶
func (v *Echo_EchoStringList_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStringList_Args) Equals ¶
func (v *Echo_EchoStringList_Args) Equals(rhs *Echo_EchoStringList_Args) bool
Equals returns true if all the fields of this Echo_EchoStringList_Args match the provided Echo_EchoStringList_Args.
This function performs a deep comparison.
func (*Echo_EchoStringList_Args) FromWire ¶
func (v *Echo_EchoStringList_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringList_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringList_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringList_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringList_Args) MarshalEasyJSON ¶
func (v Echo_EchoStringList_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringList_Args) MarshalJSON ¶
func (v Echo_EchoStringList_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringList_Args) MethodName ¶
func (v *Echo_EchoStringList_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStringList" for this struct.
func (*Echo_EchoStringList_Args) String ¶
func (v *Echo_EchoStringList_Args) String() string
String returns a readable string representation of a Echo_EchoStringList_Args struct.
func (*Echo_EchoStringList_Args) ToWire ¶
func (v *Echo_EchoStringList_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringList_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringList_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringList_Args) UnmarshalJSON ¶
func (v *Echo_EchoStringList_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringList_Result ¶
type Echo_EchoStringList_Result struct { // Value returned by echoStringList after a successful execution. Success []string `json:"success,omitempty"` }
Echo_EchoStringList_Result represents the result of a Echo.echoStringList function call.
The result of a echoStringList execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStringList_Result) EnvelopeType ¶
func (v *Echo_EchoStringList_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStringList_Result) Equals ¶
func (v *Echo_EchoStringList_Result) Equals(rhs *Echo_EchoStringList_Result) bool
Equals returns true if all the fields of this Echo_EchoStringList_Result match the provided Echo_EchoStringList_Result.
This function performs a deep comparison.
func (*Echo_EchoStringList_Result) FromWire ¶
func (v *Echo_EchoStringList_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringList_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringList_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringList_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringList_Result) MarshalEasyJSON ¶
func (v Echo_EchoStringList_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringList_Result) MarshalJSON ¶
func (v Echo_EchoStringList_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringList_Result) MethodName ¶
func (v *Echo_EchoStringList_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStringList" for this struct.
func (*Echo_EchoStringList_Result) String ¶
func (v *Echo_EchoStringList_Result) String() string
String returns a readable string representation of a Echo_EchoStringList_Result struct.
func (*Echo_EchoStringList_Result) ToWire ¶
func (v *Echo_EchoStringList_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringList_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringList_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringList_Result) UnmarshalJSON ¶
func (v *Echo_EchoStringList_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringMap_Args ¶
type Echo_EchoStringMap_Args struct {
Arg map[string]*BarResponse `json:"arg,required"`
}
Echo_EchoStringMap_Args represents the arguments for the Echo.echoStringMap function.
The arguments for echoStringMap are sent and received over the wire as this struct.
func (*Echo_EchoStringMap_Args) EnvelopeType ¶
func (v *Echo_EchoStringMap_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStringMap_Args) Equals ¶
func (v *Echo_EchoStringMap_Args) Equals(rhs *Echo_EchoStringMap_Args) bool
Equals returns true if all the fields of this Echo_EchoStringMap_Args match the provided Echo_EchoStringMap_Args.
This function performs a deep comparison.
func (*Echo_EchoStringMap_Args) FromWire ¶
func (v *Echo_EchoStringMap_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringMap_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringMap_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringMap_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringMap_Args) MarshalEasyJSON ¶
func (v Echo_EchoStringMap_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringMap_Args) MarshalJSON ¶
func (v Echo_EchoStringMap_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringMap_Args) MethodName ¶
func (v *Echo_EchoStringMap_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStringMap" for this struct.
func (*Echo_EchoStringMap_Args) String ¶
func (v *Echo_EchoStringMap_Args) String() string
String returns a readable string representation of a Echo_EchoStringMap_Args struct.
func (*Echo_EchoStringMap_Args) ToWire ¶
func (v *Echo_EchoStringMap_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringMap_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringMap_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringMap_Args) UnmarshalJSON ¶
func (v *Echo_EchoStringMap_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringMap_Result ¶
type Echo_EchoStringMap_Result struct { // Value returned by echoStringMap after a successful execution. Success map[string]*BarResponse `json:"success,omitempty"` }
Echo_EchoStringMap_Result represents the result of a Echo.echoStringMap function call.
The result of a echoStringMap execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStringMap_Result) EnvelopeType ¶
func (v *Echo_EchoStringMap_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStringMap_Result) Equals ¶
func (v *Echo_EchoStringMap_Result) Equals(rhs *Echo_EchoStringMap_Result) bool
Equals returns true if all the fields of this Echo_EchoStringMap_Result match the provided Echo_EchoStringMap_Result.
This function performs a deep comparison.
func (*Echo_EchoStringMap_Result) FromWire ¶
func (v *Echo_EchoStringMap_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringMap_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringMap_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringMap_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringMap_Result) MarshalEasyJSON ¶
func (v Echo_EchoStringMap_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringMap_Result) MarshalJSON ¶
func (v Echo_EchoStringMap_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringMap_Result) MethodName ¶
func (v *Echo_EchoStringMap_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStringMap" for this struct.
func (*Echo_EchoStringMap_Result) String ¶
func (v *Echo_EchoStringMap_Result) String() string
String returns a readable string representation of a Echo_EchoStringMap_Result struct.
func (*Echo_EchoStringMap_Result) ToWire ¶
func (v *Echo_EchoStringMap_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringMap_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringMap_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringMap_Result) UnmarshalJSON ¶
func (v *Echo_EchoStringMap_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringSet_Args ¶
type Echo_EchoStringSet_Args struct {
Arg map[string]struct{} `json:"arg,required"`
}
Echo_EchoStringSet_Args represents the arguments for the Echo.echoStringSet function.
The arguments for echoStringSet are sent and received over the wire as this struct.
func (*Echo_EchoStringSet_Args) EnvelopeType ¶
func (v *Echo_EchoStringSet_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStringSet_Args) Equals ¶
func (v *Echo_EchoStringSet_Args) Equals(rhs *Echo_EchoStringSet_Args) bool
Equals returns true if all the fields of this Echo_EchoStringSet_Args match the provided Echo_EchoStringSet_Args.
This function performs a deep comparison.
func (*Echo_EchoStringSet_Args) FromWire ¶
func (v *Echo_EchoStringSet_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringSet_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringSet_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringSet_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringSet_Args) MarshalEasyJSON ¶
func (v Echo_EchoStringSet_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringSet_Args) MarshalJSON ¶
func (v Echo_EchoStringSet_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringSet_Args) MethodName ¶
func (v *Echo_EchoStringSet_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStringSet" for this struct.
func (*Echo_EchoStringSet_Args) String ¶
func (v *Echo_EchoStringSet_Args) String() string
String returns a readable string representation of a Echo_EchoStringSet_Args struct.
func (*Echo_EchoStringSet_Args) ToWire ¶
func (v *Echo_EchoStringSet_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringSet_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringSet_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringSet_Args) UnmarshalJSON ¶
func (v *Echo_EchoStringSet_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStringSet_Result ¶
type Echo_EchoStringSet_Result struct { // Value returned by echoStringSet after a successful execution. Success map[string]struct{} `json:"success,omitempty"` }
Echo_EchoStringSet_Result represents the result of a Echo.echoStringSet function call.
The result of a echoStringSet execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStringSet_Result) EnvelopeType ¶
func (v *Echo_EchoStringSet_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStringSet_Result) Equals ¶
func (v *Echo_EchoStringSet_Result) Equals(rhs *Echo_EchoStringSet_Result) bool
Equals returns true if all the fields of this Echo_EchoStringSet_Result match the provided Echo_EchoStringSet_Result.
This function performs a deep comparison.
func (*Echo_EchoStringSet_Result) FromWire ¶
func (v *Echo_EchoStringSet_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStringSet_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStringSet_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStringSet_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStringSet_Result) MarshalEasyJSON ¶
func (v Echo_EchoStringSet_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStringSet_Result) MarshalJSON ¶
func (v Echo_EchoStringSet_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStringSet_Result) MethodName ¶
func (v *Echo_EchoStringSet_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStringSet" for this struct.
func (*Echo_EchoStringSet_Result) String ¶
func (v *Echo_EchoStringSet_Result) String() string
String returns a readable string representation of a Echo_EchoStringSet_Result struct.
func (*Echo_EchoStringSet_Result) ToWire ¶
func (v *Echo_EchoStringSet_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStringSet_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStringSet_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStringSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStringSet_Result) UnmarshalJSON ¶
func (v *Echo_EchoStringSet_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoString_Args ¶
type Echo_EchoString_Args struct {
Arg string `json:"arg,required"`
}
Echo_EchoString_Args represents the arguments for the Echo.echoString function.
The arguments for echoString are sent and received over the wire as this struct.
func (*Echo_EchoString_Args) EnvelopeType ¶
func (v *Echo_EchoString_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoString_Args) Equals ¶
func (v *Echo_EchoString_Args) Equals(rhs *Echo_EchoString_Args) bool
Equals returns true if all the fields of this Echo_EchoString_Args match the provided Echo_EchoString_Args.
This function performs a deep comparison.
func (*Echo_EchoString_Args) FromWire ¶
func (v *Echo_EchoString_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoString_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoString_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoString_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoString_Args) MarshalEasyJSON ¶
func (v Echo_EchoString_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoString_Args) MarshalJSON ¶
func (v Echo_EchoString_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoString_Args) MethodName ¶
func (v *Echo_EchoString_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoString" for this struct.
func (*Echo_EchoString_Args) String ¶
func (v *Echo_EchoString_Args) String() string
String returns a readable string representation of a Echo_EchoString_Args struct.
func (*Echo_EchoString_Args) ToWire ¶
func (v *Echo_EchoString_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoString_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoString_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoString_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoString_Args) UnmarshalJSON ¶
func (v *Echo_EchoString_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoString_Result ¶
type Echo_EchoString_Result struct { // Value returned by echoString after a successful execution. Success *string `json:"success,omitempty"` }
Echo_EchoString_Result represents the result of a Echo.echoString function call.
The result of a echoString execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoString_Result) EnvelopeType ¶
func (v *Echo_EchoString_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoString_Result) Equals ¶
func (v *Echo_EchoString_Result) Equals(rhs *Echo_EchoString_Result) bool
Equals returns true if all the fields of this Echo_EchoString_Result match the provided Echo_EchoString_Result.
This function performs a deep comparison.
func (*Echo_EchoString_Result) FromWire ¶
func (v *Echo_EchoString_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoString_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoString_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoString_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoString_Result) GetSuccess ¶
func (v *Echo_EchoString_Result) GetSuccess() (o string)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoString_Result) MarshalEasyJSON ¶
func (v Echo_EchoString_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoString_Result) MarshalJSON ¶
func (v Echo_EchoString_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoString_Result) MethodName ¶
func (v *Echo_EchoString_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoString" for this struct.
func (*Echo_EchoString_Result) String ¶
func (v *Echo_EchoString_Result) String() string
String returns a readable string representation of a Echo_EchoString_Result struct.
func (*Echo_EchoString_Result) ToWire ¶
func (v *Echo_EchoString_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoString_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoString_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoString_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoString_Result) UnmarshalJSON ¶
func (v *Echo_EchoString_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructList_Args ¶
type Echo_EchoStructList_Args struct {
Arg []*BarResponse `json:"arg,required"`
}
Echo_EchoStructList_Args represents the arguments for the Echo.echoStructList function.
The arguments for echoStructList are sent and received over the wire as this struct.
func (*Echo_EchoStructList_Args) EnvelopeType ¶
func (v *Echo_EchoStructList_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStructList_Args) Equals ¶
func (v *Echo_EchoStructList_Args) Equals(rhs *Echo_EchoStructList_Args) bool
Equals returns true if all the fields of this Echo_EchoStructList_Args match the provided Echo_EchoStructList_Args.
This function performs a deep comparison.
func (*Echo_EchoStructList_Args) FromWire ¶
func (v *Echo_EchoStructList_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructList_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructList_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructList_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructList_Args) MarshalEasyJSON ¶
func (v Echo_EchoStructList_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructList_Args) MarshalJSON ¶
func (v Echo_EchoStructList_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructList_Args) MethodName ¶
func (v *Echo_EchoStructList_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStructList" for this struct.
func (*Echo_EchoStructList_Args) String ¶
func (v *Echo_EchoStructList_Args) String() string
String returns a readable string representation of a Echo_EchoStructList_Args struct.
func (*Echo_EchoStructList_Args) ToWire ¶
func (v *Echo_EchoStructList_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructList_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructList_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructList_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructList_Args) UnmarshalJSON ¶
func (v *Echo_EchoStructList_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructList_Result ¶
type Echo_EchoStructList_Result struct { // Value returned by echoStructList after a successful execution. Success []*BarResponse `json:"success,omitempty"` }
Echo_EchoStructList_Result represents the result of a Echo.echoStructList function call.
The result of a echoStructList execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStructList_Result) EnvelopeType ¶
func (v *Echo_EchoStructList_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStructList_Result) Equals ¶
func (v *Echo_EchoStructList_Result) Equals(rhs *Echo_EchoStructList_Result) bool
Equals returns true if all the fields of this Echo_EchoStructList_Result match the provided Echo_EchoStructList_Result.
This function performs a deep comparison.
func (*Echo_EchoStructList_Result) FromWire ¶
func (v *Echo_EchoStructList_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructList_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructList_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructList_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructList_Result) MarshalEasyJSON ¶
func (v Echo_EchoStructList_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructList_Result) MarshalJSON ¶
func (v Echo_EchoStructList_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructList_Result) MethodName ¶
func (v *Echo_EchoStructList_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStructList" for this struct.
func (*Echo_EchoStructList_Result) String ¶
func (v *Echo_EchoStructList_Result) String() string
String returns a readable string representation of a Echo_EchoStructList_Result struct.
func (*Echo_EchoStructList_Result) ToWire ¶
func (v *Echo_EchoStructList_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructList_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructList_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructList_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructList_Result) UnmarshalJSON ¶
func (v *Echo_EchoStructList_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructMap_Args ¶
type Echo_EchoStructMap_Args struct { Arg []struct { Key *BarResponse Value string } `json:"arg,required"` }
Echo_EchoStructMap_Args represents the arguments for the Echo.echoStructMap function.
The arguments for echoStructMap are sent and received over the wire as this struct.
func (*Echo_EchoStructMap_Args) EnvelopeType ¶
func (v *Echo_EchoStructMap_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStructMap_Args) Equals ¶
func (v *Echo_EchoStructMap_Args) Equals(rhs *Echo_EchoStructMap_Args) bool
Equals returns true if all the fields of this Echo_EchoStructMap_Args match the provided Echo_EchoStructMap_Args.
This function performs a deep comparison.
func (*Echo_EchoStructMap_Args) FromWire ¶
func (v *Echo_EchoStructMap_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructMap_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructMap_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructMap_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructMap_Args) MarshalEasyJSON ¶
func (v Echo_EchoStructMap_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructMap_Args) MarshalJSON ¶
func (v Echo_EchoStructMap_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructMap_Args) MethodName ¶
func (v *Echo_EchoStructMap_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStructMap" for this struct.
func (*Echo_EchoStructMap_Args) String ¶
func (v *Echo_EchoStructMap_Args) String() string
String returns a readable string representation of a Echo_EchoStructMap_Args struct.
func (*Echo_EchoStructMap_Args) ToWire ¶
func (v *Echo_EchoStructMap_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructMap_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructMap_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructMap_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructMap_Args) UnmarshalJSON ¶
func (v *Echo_EchoStructMap_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructMap_Result ¶
type Echo_EchoStructMap_Result struct { // Value returned by echoStructMap after a successful execution. Success []struct { Key *BarResponse Value string } `json:"success,omitempty"` }
Echo_EchoStructMap_Result represents the result of a Echo.echoStructMap function call.
The result of a echoStructMap execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStructMap_Result) EnvelopeType ¶
func (v *Echo_EchoStructMap_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStructMap_Result) Equals ¶
func (v *Echo_EchoStructMap_Result) Equals(rhs *Echo_EchoStructMap_Result) bool
Equals returns true if all the fields of this Echo_EchoStructMap_Result match the provided Echo_EchoStructMap_Result.
This function performs a deep comparison.
func (*Echo_EchoStructMap_Result) FromWire ¶
func (v *Echo_EchoStructMap_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructMap_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructMap_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructMap_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructMap_Result) MarshalEasyJSON ¶
func (v Echo_EchoStructMap_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructMap_Result) MarshalJSON ¶
func (v Echo_EchoStructMap_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructMap_Result) MethodName ¶
func (v *Echo_EchoStructMap_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStructMap" for this struct.
func (*Echo_EchoStructMap_Result) String ¶
func (v *Echo_EchoStructMap_Result) String() string
String returns a readable string representation of a Echo_EchoStructMap_Result struct.
func (*Echo_EchoStructMap_Result) ToWire ¶
func (v *Echo_EchoStructMap_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructMap_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructMap_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructMap_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructMap_Result) UnmarshalJSON ¶
func (v *Echo_EchoStructMap_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructSet_Args ¶
type Echo_EchoStructSet_Args struct {
Arg []*BarResponse `json:"arg,required"`
}
Echo_EchoStructSet_Args represents the arguments for the Echo.echoStructSet function.
The arguments for echoStructSet are sent and received over the wire as this struct.
func (*Echo_EchoStructSet_Args) EnvelopeType ¶
func (v *Echo_EchoStructSet_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoStructSet_Args) Equals ¶
func (v *Echo_EchoStructSet_Args) Equals(rhs *Echo_EchoStructSet_Args) bool
Equals returns true if all the fields of this Echo_EchoStructSet_Args match the provided Echo_EchoStructSet_Args.
This function performs a deep comparison.
func (*Echo_EchoStructSet_Args) FromWire ¶
func (v *Echo_EchoStructSet_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructSet_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructSet_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructSet_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructSet_Args) MarshalEasyJSON ¶
func (v Echo_EchoStructSet_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructSet_Args) MarshalJSON ¶
func (v Echo_EchoStructSet_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructSet_Args) MethodName ¶
func (v *Echo_EchoStructSet_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoStructSet" for this struct.
func (*Echo_EchoStructSet_Args) String ¶
func (v *Echo_EchoStructSet_Args) String() string
String returns a readable string representation of a Echo_EchoStructSet_Args struct.
func (*Echo_EchoStructSet_Args) ToWire ¶
func (v *Echo_EchoStructSet_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructSet_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructSet_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructSet_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructSet_Args) UnmarshalJSON ¶
func (v *Echo_EchoStructSet_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoStructSet_Result ¶
type Echo_EchoStructSet_Result struct { // Value returned by echoStructSet after a successful execution. Success []*BarResponse `json:"success,omitempty"` }
Echo_EchoStructSet_Result represents the result of a Echo.echoStructSet function call.
The result of a echoStructSet execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoStructSet_Result) EnvelopeType ¶
func (v *Echo_EchoStructSet_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoStructSet_Result) Equals ¶
func (v *Echo_EchoStructSet_Result) Equals(rhs *Echo_EchoStructSet_Result) bool
Equals returns true if all the fields of this Echo_EchoStructSet_Result match the provided Echo_EchoStructSet_Result.
This function performs a deep comparison.
func (*Echo_EchoStructSet_Result) FromWire ¶
func (v *Echo_EchoStructSet_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoStructSet_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoStructSet_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoStructSet_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoStructSet_Result) MarshalEasyJSON ¶
func (v Echo_EchoStructSet_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoStructSet_Result) MarshalJSON ¶
func (v Echo_EchoStructSet_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoStructSet_Result) MethodName ¶
func (v *Echo_EchoStructSet_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoStructSet" for this struct.
func (*Echo_EchoStructSet_Result) String ¶
func (v *Echo_EchoStructSet_Result) String() string
String returns a readable string representation of a Echo_EchoStructSet_Result struct.
func (*Echo_EchoStructSet_Result) ToWire ¶
func (v *Echo_EchoStructSet_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoStructSet_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoStructSet_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoStructSet_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoStructSet_Result) UnmarshalJSON ¶
func (v *Echo_EchoStructSet_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoTypedef_Args ¶
type Echo_EchoTypedef_Args struct {
Arg UUID `json:"arg,required"`
}
Echo_EchoTypedef_Args represents the arguments for the Echo.echoTypedef function.
The arguments for echoTypedef are sent and received over the wire as this struct.
func (*Echo_EchoTypedef_Args) EnvelopeType ¶
func (v *Echo_EchoTypedef_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Echo_EchoTypedef_Args) Equals ¶
func (v *Echo_EchoTypedef_Args) Equals(rhs *Echo_EchoTypedef_Args) bool
Equals returns true if all the fields of this Echo_EchoTypedef_Args match the provided Echo_EchoTypedef_Args.
This function performs a deep comparison.
func (*Echo_EchoTypedef_Args) FromWire ¶
func (v *Echo_EchoTypedef_Args) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoTypedef_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoTypedef_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoTypedef_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Echo_EchoTypedef_Args) MarshalEasyJSON ¶
func (v Echo_EchoTypedef_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoTypedef_Args) MarshalJSON ¶
func (v Echo_EchoTypedef_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoTypedef_Args) MethodName ¶
func (v *Echo_EchoTypedef_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "echoTypedef" for this struct.
func (*Echo_EchoTypedef_Args) String ¶
func (v *Echo_EchoTypedef_Args) String() string
String returns a readable string representation of a Echo_EchoTypedef_Args struct.
func (*Echo_EchoTypedef_Args) ToWire ¶
func (v *Echo_EchoTypedef_Args) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoTypedef_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoTypedef_Args) UnmarshalEasyJSON ¶
func (v *Echo_EchoTypedef_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoTypedef_Args) UnmarshalJSON ¶
func (v *Echo_EchoTypedef_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Echo_EchoTypedef_Result ¶
type Echo_EchoTypedef_Result struct { // Value returned by echoTypedef after a successful execution. Success *UUID `json:"success,omitempty"` }
Echo_EchoTypedef_Result represents the result of a Echo.echoTypedef function call.
The result of a echoTypedef execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Echo_EchoTypedef_Result) EnvelopeType ¶
func (v *Echo_EchoTypedef_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Echo_EchoTypedef_Result) Equals ¶
func (v *Echo_EchoTypedef_Result) Equals(rhs *Echo_EchoTypedef_Result) bool
Equals returns true if all the fields of this Echo_EchoTypedef_Result match the provided Echo_EchoTypedef_Result.
This function performs a deep comparison.
func (*Echo_EchoTypedef_Result) FromWire ¶
func (v *Echo_EchoTypedef_Result) FromWire(w wire.Value) error
FromWire deserializes a Echo_EchoTypedef_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Echo_EchoTypedef_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Echo_EchoTypedef_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Echo_EchoTypedef_Result) GetSuccess ¶
func (v *Echo_EchoTypedef_Result) GetSuccess() (o UUID)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (Echo_EchoTypedef_Result) MarshalEasyJSON ¶
func (v Echo_EchoTypedef_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Echo_EchoTypedef_Result) MarshalJSON ¶
func (v Echo_EchoTypedef_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Echo_EchoTypedef_Result) MethodName ¶
func (v *Echo_EchoTypedef_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "echoTypedef" for this struct.
func (*Echo_EchoTypedef_Result) String ¶
func (v *Echo_EchoTypedef_Result) String() string
String returns a readable string representation of a Echo_EchoTypedef_Result struct.
func (*Echo_EchoTypedef_Result) ToWire ¶
func (v *Echo_EchoTypedef_Result) ToWire() (wire.Value, error)
ToWire translates a Echo_EchoTypedef_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Echo_EchoTypedef_Result) UnmarshalEasyJSON ¶
func (v *Echo_EchoTypedef_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Echo_EchoTypedef_Result) UnmarshalJSON ¶
func (v *Echo_EchoTypedef_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Fruit ¶
type Fruit int32
func Fruit_Values ¶
func Fruit_Values() []Fruit
Fruit_Values returns all recognized values of Fruit.
func (*Fruit) FromWire ¶
FromWire deserializes Fruit from its Thrift-level representation.
x, err := binaryProtocol.Decode(reader, wire.TI32) if err != nil { return Fruit(0), err } var v Fruit if err := v.FromWire(x); err != nil { return Fruit(0), err } return v, nil
func (Fruit) MarshalJSON ¶
MarshalJSON serializes Fruit into JSON.
If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.
This implements json.Marshaler.
func (Fruit) ToWire ¶
ToWire translates Fruit into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
Enums are represented as 32-bit integers over the wire.
func (*Fruit) UnmarshalJSON ¶
UnmarshalJSON attempts to decode Fruit from its JSON representation.
This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.
This implements json.Unmarshaler.
func (*Fruit) UnmarshalText ¶
UnmarshalText tries to decode Fruit from a byte slice containing its name.
var v Fruit err := v.UnmarshalText([]byte("APPLE"))
type Long ¶
type Long int64
func (*Long) FromWire ¶
FromWire deserializes Long from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
func (Long) MarshalJSON ¶
func (Long) ToWire ¶
ToWire translates Long into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
func (*Long) UnmarshalJSON ¶
type ParamsStruct ¶
type ParamsStruct struct {
UserUUID string `json:"userUUID,required"`
}
func (*ParamsStruct) Equals ¶
func (v *ParamsStruct) Equals(rhs *ParamsStruct) bool
Equals returns true if all the fields of this ParamsStruct match the provided ParamsStruct.
This function performs a deep comparison.
func (*ParamsStruct) FromWire ¶
func (v *ParamsStruct) FromWire(w wire.Value) error
FromWire deserializes a ParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a ParamsStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v ParamsStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (ParamsStruct) MarshalEasyJSON ¶
func (v ParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ParamsStruct) MarshalJSON ¶
func (v ParamsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ParamsStruct) String ¶
func (v *ParamsStruct) String() string
String returns a readable string representation of a ParamsStruct struct.
func (*ParamsStruct) ToWire ¶
func (v *ParamsStruct) ToWire() (wire.Value, error)
ToWire translates a ParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*ParamsStruct) UnmarshalEasyJSON ¶
func (v *ParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ParamsStruct) UnmarshalJSON ¶
func (v *ParamsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type QueryParamsOptsStruct ¶
type QueryParamsOptsStruct struct { Name string `json:"name,required"` UserUUID *string `json:"userUUID,omitempty"` AuthUUID *string `json:"authUUID,omitempty"` AuthUUID2 *string `json:"authUUID2,omitempty"` }
func (*QueryParamsOptsStruct) Equals ¶
func (v *QueryParamsOptsStruct) Equals(rhs *QueryParamsOptsStruct) bool
Equals returns true if all the fields of this QueryParamsOptsStruct match the provided QueryParamsOptsStruct.
This function performs a deep comparison.
func (*QueryParamsOptsStruct) FromWire ¶
func (v *QueryParamsOptsStruct) FromWire(w wire.Value) error
FromWire deserializes a QueryParamsOptsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a QueryParamsOptsStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v QueryParamsOptsStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*QueryParamsOptsStruct) GetAuthUUID ¶
func (v *QueryParamsOptsStruct) GetAuthUUID() (o string)
GetAuthUUID returns the value of AuthUUID if it is set or its zero value if it is unset.
func (*QueryParamsOptsStruct) GetAuthUUID2 ¶
func (v *QueryParamsOptsStruct) GetAuthUUID2() (o string)
GetAuthUUID2 returns the value of AuthUUID2 if it is set or its zero value if it is unset.
func (*QueryParamsOptsStruct) GetUserUUID ¶
func (v *QueryParamsOptsStruct) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (QueryParamsOptsStruct) MarshalEasyJSON ¶
func (v QueryParamsOptsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (QueryParamsOptsStruct) MarshalJSON ¶
func (v QueryParamsOptsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*QueryParamsOptsStruct) String ¶
func (v *QueryParamsOptsStruct) String() string
String returns a readable string representation of a QueryParamsOptsStruct struct.
func (*QueryParamsOptsStruct) ToWire ¶
func (v *QueryParamsOptsStruct) ToWire() (wire.Value, error)
ToWire translates a QueryParamsOptsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*QueryParamsOptsStruct) UnmarshalEasyJSON ¶
func (v *QueryParamsOptsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*QueryParamsOptsStruct) UnmarshalJSON ¶
func (v *QueryParamsOptsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type QueryParamsStruct ¶
type QueryParamsStruct struct { Name string `json:"name,required"` UserUUID *string `json:"userUUID,omitempty"` AuthUUID *string `json:"authUUID,omitempty"` AuthUUID2 *string `json:"authUUID2,omitempty"` Foo []string `json:"foo,required"` }
func (*QueryParamsStruct) Equals ¶
func (v *QueryParamsStruct) Equals(rhs *QueryParamsStruct) bool
Equals returns true if all the fields of this QueryParamsStruct match the provided QueryParamsStruct.
This function performs a deep comparison.
func (*QueryParamsStruct) FromWire ¶
func (v *QueryParamsStruct) FromWire(w wire.Value) error
FromWire deserializes a QueryParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a QueryParamsStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v QueryParamsStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*QueryParamsStruct) GetAuthUUID ¶
func (v *QueryParamsStruct) GetAuthUUID() (o string)
GetAuthUUID returns the value of AuthUUID if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetAuthUUID2 ¶
func (v *QueryParamsStruct) GetAuthUUID2() (o string)
GetAuthUUID2 returns the value of AuthUUID2 if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetUserUUID ¶
func (v *QueryParamsStruct) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (QueryParamsStruct) MarshalEasyJSON ¶
func (v QueryParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (QueryParamsStruct) MarshalJSON ¶
func (v QueryParamsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*QueryParamsStruct) String ¶
func (v *QueryParamsStruct) String() string
String returns a readable string representation of a QueryParamsStruct struct.
func (*QueryParamsStruct) ToWire ¶
func (v *QueryParamsStruct) ToWire() (wire.Value, error)
ToWire translates a QueryParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*QueryParamsStruct) UnmarshalEasyJSON ¶
func (v *QueryParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*QueryParamsStruct) UnmarshalJSON ¶
func (v *QueryParamsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type StringList ¶
type StringList []string
func (StringList) Equals ¶
func (lhs StringList) Equals(rhs StringList) bool
Equals returns true if this StringList is equal to the provided StringList.
func (*StringList) FromWire ¶
func (v *StringList) FromWire(w wire.Value) error
FromWire deserializes StringList from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
func (StringList) String ¶
func (v StringList) String() string
String returns a readable string representation of StringList.
type Timestamp ¶
type Timestamp int64
func (*Timestamp) FromWire ¶
FromWire deserializes Timestamp from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
func (Timestamp) MarshalJSON ¶
func (Timestamp) ToWire ¶
ToWire translates Timestamp into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
func (*Timestamp) UnmarshalJSON ¶
type UUID ¶
type UUID string
func (*UUID) FromWire ¶
FromWire deserializes UUID from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
type UUIDList ¶
type UUIDList []UUID
func (*UUIDList) FromWire ¶
FromWire deserializes UUIDList from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
Source Files ¶
- bar_argnotstruct.go
- bar_argnotstruct_easyjson.go
- bar_argwithheaders.go
- bar_argwithheaders_easyjson.go
- bar_argwithmanyqueryparams.go
- bar_argwithmanyqueryparams_easyjson.go
- bar_argwithnestedqueryparams.go
- bar_argwithnestedqueryparams_easyjson.go
- bar_argwithparams.go
- bar_argwithparams_easyjson.go
- bar_argwithqueryheader.go
- bar_argwithqueryheader_easyjson.go
- bar_argwithqueryparams.go
- bar_argwithqueryparams_easyjson.go
- bar_helloworld.go
- bar_helloworld_easyjson.go
- bar_missingarg.go
- bar_missingarg_easyjson.go
- bar_norequest.go
- bar_norequest_easyjson.go
- bar_normal.go
- bar_normal_easyjson.go
- bar_normalrecur.go
- bar_normalrecur_easyjson.go
- bar_toomanyargs.go
- bar_toomanyargs_easyjson.go
- echo_echobinary.go
- echo_echobinary_easyjson.go
- echo_echobool.go
- echo_echobool_easyjson.go
- echo_echodouble.go
- echo_echodouble_easyjson.go
- echo_echoenum.go
- echo_echoenum_easyjson.go
- echo_echoi16.go
- echo_echoi16_easyjson.go
- echo_echoi32.go
- echo_echoi32_easyjson.go
- echo_echoi32map.go
- echo_echoi32map_easyjson.go
- echo_echoi64.go
- echo_echoi64_easyjson.go
- echo_echoi8.go
- echo_echoi8_easyjson.go
- echo_echostring.go
- echo_echostring_easyjson.go
- echo_echostringlist.go
- echo_echostringlist_easyjson.go
- echo_echostringmap.go
- echo_echostringmap_easyjson.go
- echo_echostringset.go
- echo_echostringset_easyjson.go
- echo_echostructlist.go
- echo_echostructlist_easyjson.go
- echo_echostructmap.go
- echo_echostructmap_easyjson.go
- echo_echostructset.go
- echo_echostructset_easyjson.go
- echo_echotypedef.go
- echo_echotypedef_easyjson.go
- types.go
- types_easyjson.go
- types_i64.go
- types_i64_easyjson.go
- versioncheck.go