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 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 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_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 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_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.
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 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 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 ¶
type Bar_ArgWithHeaders_Args struct { Name string `json:"name,required"` UserUUID *string `json:"-"` }
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:"-"` 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_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 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:"-"`
}
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_toomanyargs.go
- bar_toomanyargs_easyjson.go
- types.go
- types_easyjson.go
- types_i64.go
- types_i64_easyjson.go
- versioncheck.go