Documentation ¶
Index ¶
- Variables
- type BarException
- func (v *BarException) Decode(sr stream.Reader) error
- func (v *BarException) Encode(sw stream.Writer) error
- func (v *BarException) Equals(rhs *BarException) bool
- func (v *BarException) Error() string
- func (*BarException) ErrorName() string
- func (v *BarException) FromWire(w wire.Value) error
- func (v *BarException) GetStringField() (o string)
- func (v BarException) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarException) MarshalJSON() ([]byte, error)
- func (v *BarException) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *BarRequest) Encode(sw stream.Writer) error
- func (v *BarRequest) Equals(rhs *BarRequest) bool
- func (v *BarRequest) FromWire(w wire.Value) error
- func (v *BarRequest) GetBinaryField() (o []byte)
- func (v *BarRequest) GetBoolField() (o bool)
- func (v *BarRequest) GetEnumField() (o Fruit)
- func (v *BarRequest) GetLongField() (o Long)
- func (v *BarRequest) GetStringField() (o string)
- func (v *BarRequest) GetTimestamp() (o Timestamp)
- func (v *BarRequest) IsSetBinaryField() bool
- func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarRequest) MarshalJSON() ([]byte, error)
- func (v *BarRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *BarResponse) Encode(sw stream.Writer) error
- func (v *BarResponse) Equals(rhs *BarResponse) bool
- func (v *BarResponse) FromWire(w wire.Value) error
- func (v *BarResponse) GetBinaryField() (o []byte)
- func (v *BarResponse) GetIntWithRange() (o int32)
- func (v *BarResponse) GetIntWithoutRange() (o int32)
- func (v *BarResponse) GetMapIntWithRange() (o map[UUID]int32)
- func (v *BarResponse) GetMapIntWithoutRange() (o map[string]int32)
- func (v *BarResponse) GetNextResponse() (o *BarResponse)
- func (v *BarResponse) GetStringField() (o string)
- func (v *BarResponse) IsSetBinaryField() bool
- func (v *BarResponse) IsSetMapIntWithRange() bool
- func (v *BarResponse) IsSetMapIntWithoutRange() bool
- func (v *BarResponse) IsSetNextResponse() bool
- func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)
- func (v BarResponse) MarshalJSON() ([]byte, error)
- func (v *BarResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgNotStruct_Args) Encode(sw stream.Writer) error
- 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) GetRequest() (o string)
- func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgNotStruct_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgNotStruct_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_ArgNotStruct_Result) IsSetBarException() bool
- func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgNotStruct_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithHeaders_Args) Encode(sw stream.Writer) error
- 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) GetName() (o string)
- func (v *Bar_ArgWithHeaders_Args) GetUserUUID() (o string)
- func (v *Bar_ArgWithHeaders_Args) IsSetUserUUID() bool
- func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithHeaders_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithHeaders_Result) IsSetSuccess() bool
- func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithManyQueryParams_Args) Encode(sw stream.Writer) error
- 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) GetABool() (o bool)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAFloat64() (o float64)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAInt16() (o int16)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAInt32() (o int32)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAInt64() (o int64)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAInt8() (o int8)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAListUUID() (o []UUID)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAReqDemo() (o DemoType)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAReqFruits() (o []Fruit)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAStr() (o string)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAStringList() (o StringList)
- func (v *Bar_ArgWithManyQueryParams_Args) GetATs() (o Timestamp)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAUUID() (o UUID)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAUUIDList() (o UUIDList)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptDemos() (o []DemoType)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFruit() (o Fruit)
- 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) GetAnOptListUUID() (o []UUID)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStringList() (o StringList)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)
- func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList() (o UUIDList)
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAListUUID() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAStringList() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID() bool
- func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList() bool
- func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithManyQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithManyQueryParams_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithManyQueryParams_Result) IsSetSuccess() bool
- func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithManyQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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_ArgWithNearDupQueryParams_Args
- func (v *Bar_ArgWithNearDupQueryParams_Args) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithNearDupQueryParams_Args) Encode(sw stream.Writer) error
- func (v *Bar_ArgWithNearDupQueryParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithNearDupQueryParams_Args) Equals(rhs *Bar_ArgWithNearDupQueryParams_Args) bool
- func (v *Bar_ArgWithNearDupQueryParams_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithNearDupQueryParams_Args) GetFour() (o string)
- func (v *Bar_ArgWithNearDupQueryParams_Args) GetOne() (o string)
- func (v *Bar_ArgWithNearDupQueryParams_Args) GetThree() (o string)
- func (v *Bar_ArgWithNearDupQueryParams_Args) GetTwo() (o int32)
- func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetFour() bool
- func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetThree() bool
- func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetTwo() bool
- func (v Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNearDupQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ArgWithNearDupQueryParams_Args) MethodName() string
- func (v *Bar_ArgWithNearDupQueryParams_Args) String() string
- func (v *Bar_ArgWithNearDupQueryParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithNearDupQueryParams_Result
- func (v *Bar_ArgWithNearDupQueryParams_Result) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithNearDupQueryParams_Result) Encode(sw stream.Writer) error
- func (v *Bar_ArgWithNearDupQueryParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithNearDupQueryParams_Result) Equals(rhs *Bar_ArgWithNearDupQueryParams_Result) bool
- func (v *Bar_ArgWithNearDupQueryParams_Result) FromWire(w wire.Value) error
- func (v *Bar_ArgWithNearDupQueryParams_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess() bool
- func (v Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNearDupQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ArgWithNearDupQueryParams_Result) MethodName() string
- func (v *Bar_ArgWithNearDupQueryParams_Result) String() string
- func (v *Bar_ArgWithNearDupQueryParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithNestedQueryParams_Args
- func (v *Bar_ArgWithNestedQueryParams_Args) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithNestedQueryParams_Args) Encode(sw stream.Writer) error
- 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) GetOpt() (o *QueryParamsOptsStruct)
- func (v *Bar_ArgWithNestedQueryParams_Args) GetRequest() (o *QueryParamsStruct)
- func (v *Bar_ArgWithNestedQueryParams_Args) IsSetOpt() bool
- func (v *Bar_ArgWithNestedQueryParams_Args) IsSetRequest() bool
- func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNestedQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithNestedQueryParams_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithNestedQueryParams_Result) IsSetSuccess() bool
- func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithNestedQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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_ArgWithParamsAndDuplicateFields_Args
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Encode(sw stream.Writer) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Args) bool
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) FromWire(w wire.Value) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID() (o string)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest() (o *RequestWithDuplicateType)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest() bool
- func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) MethodName() string
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) String() string
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON(data []byte) error
- type Bar_ArgWithParamsAndDuplicateFields_Result
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Encode(sw stream.Writer) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Result) bool
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) FromWire(w wire.Value) error
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess() bool
- func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) MethodName() string
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) String() string
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) ToWire() (wire.Value, error)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON(data []byte) error
- type Bar_ArgWithParams_Args
- func (v *Bar_ArgWithParams_Args) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithParams_Args) Encode(sw stream.Writer) error
- 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) GetParams() (o *ParamsStruct)
- func (v *Bar_ArgWithParams_Args) GetUUID() (o string)
- func (v *Bar_ArgWithParams_Args) IsSetParams() bool
- func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithParams_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithParams_Result) IsSetSuccess() bool
- func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithQueryHeader_Args) Encode(sw stream.Writer) error
- 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) IsSetUserUUID() bool
- func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryHeader_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithQueryHeader_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithQueryHeader_Result) IsSetSuccess() bool
- func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryHeader_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithQueryParams_Args) Encode(sw stream.Writer) error
- 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) GetBar() (o []int8)
- func (v *Bar_ArgWithQueryParams_Args) GetFoo() (o []string)
- func (v *Bar_ArgWithQueryParams_Args) GetName() (o string)
- func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)
- func (v *Bar_ArgWithQueryParams_Args) IsSetBar() bool
- func (v *Bar_ArgWithQueryParams_Args) IsSetFoo() bool
- func (v *Bar_ArgWithQueryParams_Args) IsSetUserUUID() bool
- func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_ArgWithQueryParams_Result) Encode(sw stream.Writer) error
- 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) GetSuccess() (o *BarResponse)
- func (v *Bar_ArgWithQueryParams_Result) IsSetSuccess() bool
- func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ArgWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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_DeleteWithBody_Args
- func (v *Bar_DeleteWithBody_Args) Decode(sr stream.Reader) error
- func (v *Bar_DeleteWithBody_Args) Encode(sw stream.Writer) error
- func (v *Bar_DeleteWithBody_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_DeleteWithBody_Args) Equals(rhs *Bar_DeleteWithBody_Args) bool
- func (v *Bar_DeleteWithBody_Args) FromWire(w wire.Value) error
- func (v *Bar_DeleteWithBody_Args) GetCount() (o int32)
- func (v *Bar_DeleteWithBody_Args) GetFilter() (o string)
- func (v *Bar_DeleteWithBody_Args) IsSetCount() bool
- func (v Bar_DeleteWithBody_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_DeleteWithBody_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_DeleteWithBody_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_DeleteWithBody_Args) MethodName() string
- func (v *Bar_DeleteWithBody_Args) String() string
- func (v *Bar_DeleteWithBody_Args) ToWire() (wire.Value, error)
- func (v *Bar_DeleteWithBody_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_DeleteWithBody_Args) UnmarshalJSON(data []byte) error
- type Bar_DeleteWithBody_Result
- func (v *Bar_DeleteWithBody_Result) Decode(sr stream.Reader) error
- func (v *Bar_DeleteWithBody_Result) Encode(sw stream.Writer) error
- func (v *Bar_DeleteWithBody_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_DeleteWithBody_Result) Equals(rhs *Bar_DeleteWithBody_Result) bool
- func (v *Bar_DeleteWithBody_Result) FromWire(w wire.Value) error
- func (v Bar_DeleteWithBody_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_DeleteWithBody_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_DeleteWithBody_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_DeleteWithBody_Result) MethodName() string
- func (v *Bar_DeleteWithBody_Result) String() string
- func (v *Bar_DeleteWithBody_Result) ToWire() (wire.Value, error)
- func (v *Bar_DeleteWithBody_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_DeleteWithBody_Result) UnmarshalJSON(data []byte) error
- type Bar_DeleteWithQueryParams_Args
- func (v *Bar_DeleteWithQueryParams_Args) Decode(sr stream.Reader) error
- func (v *Bar_DeleteWithQueryParams_Args) Encode(sw stream.Writer) error
- func (v *Bar_DeleteWithQueryParams_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_DeleteWithQueryParams_Args) Equals(rhs *Bar_DeleteWithQueryParams_Args) bool
- func (v *Bar_DeleteWithQueryParams_Args) FromWire(w wire.Value) error
- func (v *Bar_DeleteWithQueryParams_Args) GetCount() (o int32)
- func (v *Bar_DeleteWithQueryParams_Args) GetFilter() (o string)
- func (v *Bar_DeleteWithQueryParams_Args) IsSetCount() bool
- func (v Bar_DeleteWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_DeleteWithQueryParams_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_DeleteWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_DeleteWithQueryParams_Args) MethodName() string
- func (v *Bar_DeleteWithQueryParams_Args) String() string
- func (v *Bar_DeleteWithQueryParams_Args) ToWire() (wire.Value, error)
- func (v *Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_DeleteWithQueryParams_Args) UnmarshalJSON(data []byte) error
- type Bar_DeleteWithQueryParams_Result
- func (v *Bar_DeleteWithQueryParams_Result) Decode(sr stream.Reader) error
- func (v *Bar_DeleteWithQueryParams_Result) Encode(sw stream.Writer) error
- func (v *Bar_DeleteWithQueryParams_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_DeleteWithQueryParams_Result) Equals(rhs *Bar_DeleteWithQueryParams_Result) bool
- func (v *Bar_DeleteWithQueryParams_Result) FromWire(w wire.Value) error
- func (v Bar_DeleteWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_DeleteWithQueryParams_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_DeleteWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_DeleteWithQueryParams_Result) MethodName() string
- func (v *Bar_DeleteWithQueryParams_Result) String() string
- func (v *Bar_DeleteWithQueryParams_Result) ToWire() (wire.Value, error)
- func (v *Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_DeleteWithQueryParams_Result) UnmarshalJSON(data []byte) error
- type Bar_HelloWorld_Args
- func (v *Bar_HelloWorld_Args) Decode(sr stream.Reader) error
- func (v *Bar_HelloWorld_Args) Encode(sw stream.Writer) error
- 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) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_HelloWorld_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_HelloWorld_Result) GetSeeOthersRedirection() (o *SeeOthersRedirection)
- func (v *Bar_HelloWorld_Result) GetSuccess() (o string)
- func (v *Bar_HelloWorld_Result) IsSetBarException() bool
- func (v *Bar_HelloWorld_Result) IsSetSeeOthersRedirection() bool
- func (v *Bar_HelloWorld_Result) IsSetSuccess() bool
- func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_HelloWorld_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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_ListAndEnum_Args
- func (v *Bar_ListAndEnum_Args) Decode(sr stream.Reader) error
- func (v *Bar_ListAndEnum_Args) Encode(sw stream.Writer) error
- func (v *Bar_ListAndEnum_Args) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ListAndEnum_Args) Equals(rhs *Bar_ListAndEnum_Args) bool
- func (v *Bar_ListAndEnum_Args) FromWire(w wire.Value) error
- func (v *Bar_ListAndEnum_Args) GetDemoIds() (o []string)
- func (v *Bar_ListAndEnum_Args) GetDemoType() (o DemoType)
- func (v *Bar_ListAndEnum_Args) GetDemos() (o []DemoType)
- func (v *Bar_ListAndEnum_Args) IsSetDemoIds() bool
- func (v *Bar_ListAndEnum_Args) IsSetDemoType() bool
- func (v *Bar_ListAndEnum_Args) IsSetDemos() bool
- func (v Bar_ListAndEnum_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ListAndEnum_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_ListAndEnum_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ListAndEnum_Args) MethodName() string
- func (v *Bar_ListAndEnum_Args) String() string
- func (v *Bar_ListAndEnum_Args) ToWire() (wire.Value, error)
- func (v *Bar_ListAndEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ListAndEnum_Args) UnmarshalJSON(data []byte) error
- type Bar_ListAndEnum_Result
- func (v *Bar_ListAndEnum_Result) Decode(sr stream.Reader) error
- func (v *Bar_ListAndEnum_Result) Encode(sw stream.Writer) error
- func (v *Bar_ListAndEnum_Result) EnvelopeType() wire.EnvelopeType
- func (v *Bar_ListAndEnum_Result) Equals(rhs *Bar_ListAndEnum_Result) bool
- func (v *Bar_ListAndEnum_Result) FromWire(w wire.Value) error
- func (v *Bar_ListAndEnum_Result) GetBarException() (o *BarException)
- func (v *Bar_ListAndEnum_Result) GetSuccess() (o string)
- func (v *Bar_ListAndEnum_Result) IsSetBarException() bool
- func (v *Bar_ListAndEnum_Result) IsSetSuccess() bool
- func (v Bar_ListAndEnum_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_ListAndEnum_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_ListAndEnum_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Bar_ListAndEnum_Result) MethodName() string
- func (v *Bar_ListAndEnum_Result) String() string
- func (v *Bar_ListAndEnum_Result) ToWire() (wire.Value, error)
- func (v *Bar_ListAndEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Bar_ListAndEnum_Result) UnmarshalJSON(data []byte) error
- type Bar_MissingArg_Args
- func (v *Bar_MissingArg_Args) Decode(sr stream.Reader) error
- func (v *Bar_MissingArg_Args) Encode(sw stream.Writer) error
- 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) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_MissingArg_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_MissingArg_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_MissingArg_Result) IsSetBarException() bool
- func (v *Bar_MissingArg_Result) IsSetSuccess() bool
- func (v Bar_MissingArg_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_MissingArg_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_MissingArg_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_NoRequest_Args) Encode(sw stream.Writer) error
- 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) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_NoRequest_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_NoRequest_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_NoRequest_Result) IsSetBarException() bool
- func (v *Bar_NoRequest_Result) IsSetSuccess() bool
- func (v Bar_NoRequest_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_NoRequest_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_NoRequest_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_Normal_Args) Encode(sw stream.Writer) error
- 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) GetRequest() (o *BarRequest)
- func (v *Bar_Normal_Args) IsSetRequest() bool
- func (v Bar_Normal_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_Normal_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_Normal_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_Normal_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_Normal_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_Normal_Result) IsSetBarException() bool
- func (v *Bar_Normal_Result) IsSetSuccess() bool
- func (v Bar_Normal_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_Normal_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_Normal_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_TooManyArgs_Args) Encode(sw stream.Writer) error
- 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) GetFoo() (o *foo.FooStruct)
- func (v *Bar_TooManyArgs_Args) GetRequest() (o *BarRequest)
- func (v *Bar_TooManyArgs_Args) IsSetFoo() bool
- func (v *Bar_TooManyArgs_Args) IsSetRequest() bool
- func (v Bar_TooManyArgs_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_TooManyArgs_Args) MarshalJSON() ([]byte, error)
- func (v *Bar_TooManyArgs_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *Bar_TooManyArgs_Result) Encode(sw stream.Writer) error
- 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) GetBarException() (o *BarException)
- func (v *Bar_TooManyArgs_Result) GetFooException() (o *foo.FooException)
- func (v *Bar_TooManyArgs_Result) GetSuccess() (o *BarResponse)
- func (v *Bar_TooManyArgs_Result) IsSetBarException() bool
- func (v *Bar_TooManyArgs_Result) IsSetFooException() bool
- func (v *Bar_TooManyArgs_Result) IsSetSuccess() bool
- func (v Bar_TooManyArgs_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v Bar_TooManyArgs_Result) MarshalJSON() ([]byte, error)
- func (v *Bar_TooManyArgs_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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 DemoType
- func (v *DemoType) Decode(sr stream.Reader) error
- func (v DemoType) Encode(sw stream.Writer) error
- func (v DemoType) Equals(rhs DemoType) bool
- func (v *DemoType) FromWire(w wire.Value) error
- func (v DemoType) MarshalJSON() ([]byte, error)
- func (v DemoType) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (v DemoType) MarshalText() ([]byte, error)
- func (v DemoType) Ptr() *DemoType
- func (v DemoType) String() string
- func (v DemoType) ToWire() (wire.Value, error)
- func (v *DemoType) UnmarshalJSON(text []byte) error
- func (v *DemoType) UnmarshalText(value []byte) error
- type Fruit
- func (v *Fruit) Decode(sr stream.Reader) error
- func (v Fruit) Encode(sw stream.Writer) error
- func (v Fruit) Equals(rhs Fruit) bool
- func (v *Fruit) FromWire(w wire.Value) error
- func (v Fruit) MarshalJSON() ([]byte, error)
- func (v Fruit) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (v Fruit) MarshalText() ([]byte, error)
- func (v Fruit) Ptr() *Fruit
- 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
- func (v *Long) Decode(sr stream.Reader) error
- func (v Long) Encode(sw stream.Writer) error
- func (lhs Long) Equals(rhs Long) bool
- func (v *Long) FromWire(w wire.Value) error
- func (v Long) MarshalJSON() ([]byte, error)
- func (v Long) Ptr() *Long
- func (v Long) String() string
- func (v Long) ToWire() (wire.Value, error)
- func (v *Long) UnmarshalJSON(text []byte) error
- type ParamsStruct
- func (v *ParamsStruct) Decode(sr stream.Reader) error
- func (v *ParamsStruct) Encode(sw stream.Writer) error
- func (v *ParamsStruct) Equals(rhs *ParamsStruct) bool
- func (v *ParamsStruct) FromWire(w wire.Value) error
- func (v *ParamsStruct) GetUserUUID() (o string)
- func (v ParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v ParamsStruct) MarshalJSON() ([]byte, error)
- func (v *ParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *QueryParamsOptsStruct) Encode(sw stream.Writer) error
- 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) GetName() (o string)
- func (v *QueryParamsOptsStruct) GetUserUUID() (o string)
- func (v *QueryParamsOptsStruct) IsSetAuthUUID() bool
- func (v *QueryParamsOptsStruct) IsSetAuthUUID2() bool
- func (v *QueryParamsOptsStruct) IsSetUserUUID() bool
- func (v QueryParamsOptsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v QueryParamsOptsStruct) MarshalJSON() ([]byte, error)
- func (v *QueryParamsOptsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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) Decode(sr stream.Reader) error
- func (v *QueryParamsStruct) Encode(sw stream.Writer) error
- 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) GetFoo() (o []string)
- func (v *QueryParamsStruct) GetName() (o string)
- func (v *QueryParamsStruct) GetUserUUID() (o string)
- func (v *QueryParamsStruct) IsSetAuthUUID() bool
- func (v *QueryParamsStruct) IsSetAuthUUID2() bool
- func (v *QueryParamsStruct) IsSetFoo() bool
- func (v *QueryParamsStruct) IsSetUserUUID() bool
- func (v QueryParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v QueryParamsStruct) MarshalJSON() ([]byte, error)
- func (v *QueryParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err 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 RequestWithDuplicateType
- func (v *RequestWithDuplicateType) Decode(sr stream.Reader) error
- func (v *RequestWithDuplicateType) Encode(sw stream.Writer) error
- func (v *RequestWithDuplicateType) Equals(rhs *RequestWithDuplicateType) bool
- func (v *RequestWithDuplicateType) FromWire(w wire.Value) error
- func (v *RequestWithDuplicateType) GetRequest1() (o *BarRequest)
- func (v *RequestWithDuplicateType) GetRequest2() (o *BarRequest)
- func (v *RequestWithDuplicateType) IsSetRequest1() bool
- func (v *RequestWithDuplicateType) IsSetRequest2() bool
- func (v RequestWithDuplicateType) MarshalEasyJSON(w *jwriter.Writer)
- func (v RequestWithDuplicateType) MarshalJSON() ([]byte, error)
- func (v *RequestWithDuplicateType) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *RequestWithDuplicateType) String() string
- func (v *RequestWithDuplicateType) ToWire() (wire.Value, error)
- func (v *RequestWithDuplicateType) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *RequestWithDuplicateType) UnmarshalJSON(data []byte) error
- type SeeOthersRedirection
- func (v *SeeOthersRedirection) Decode(sr stream.Reader) error
- func (v *SeeOthersRedirection) Encode(sw stream.Writer) error
- func (v *SeeOthersRedirection) Equals(rhs *SeeOthersRedirection) bool
- func (v *SeeOthersRedirection) Error() string
- func (*SeeOthersRedirection) ErrorName() string
- func (v *SeeOthersRedirection) FromWire(w wire.Value) error
- func (v SeeOthersRedirection) MarshalEasyJSON(w *jwriter.Writer)
- func (v SeeOthersRedirection) MarshalJSON() ([]byte, error)
- func (v *SeeOthersRedirection) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SeeOthersRedirection) String() string
- func (v *SeeOthersRedirection) ToWire() (wire.Value, error)
- func (v *SeeOthersRedirection) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SeeOthersRedirection) UnmarshalJSON(data []byte) error
- type StringList
- func (v *StringList) Decode(sr stream.Reader) error
- func (v StringList) Encode(sw stream.Writer) error
- func (lhs StringList) Equals(rhs StringList) bool
- func (v *StringList) FromWire(w wire.Value) error
- func (v StringList) MarshalLogArray(enc zapcore.ArrayEncoder) error
- func (v StringList) String() string
- func (v StringList) ToWire() (wire.Value, error)
- type Timestamp
- func (v *Timestamp) Decode(sr stream.Reader) error
- func (v Timestamp) Encode(sw stream.Writer) error
- func (lhs Timestamp) Equals(rhs Timestamp) bool
- func (v *Timestamp) FromWire(w wire.Value) error
- func (v Timestamp) MarshalJSON() ([]byte, error)
- func (v Timestamp) Ptr() *Timestamp
- func (v Timestamp) String() string
- func (v Timestamp) ToWire() (wire.Value, error)
- func (v *Timestamp) UnmarshalJSON(text []byte) error
- type UUID
- type UUIDList
- func (v *UUIDList) Decode(sr stream.Reader) error
- func (v UUIDList) Encode(sw stream.Writer) error
- func (lhs UUIDList) Equals(rhs UUIDList) bool
- func (v *UUIDList) FromWire(w wire.Value) error
- func (v UUIDList) MarshalLogArray(enc zapcore.ArrayEncoder) error
- func (v UUIDList) String() string
- func (v UUIDList) ToWire() (wire.Value, error)
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, aReqDemo DemoType, anOptFruit *Fruit, aReqFruits []Fruit, anOptDemos []DemoType, ) *Bar_ArgWithManyQueryParams_Args // IsException returns true if the given error can be thrown // by argWithManyQueryParams. // // An error can be thrown by argWithManyQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithManyQueryParams // given its return value and error. // // This allows mapping values and errors returned by // argWithManyQueryParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithManyQueryParams // // value, err := argWithManyQueryParams(args) // result, err := Bar_ArgWithManyQueryParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithManyQueryParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithManyQueryParams_Result, error) // UnwrapResponse takes the result struct for argWithManyQueryParams // and returns the value or error returned by it. // // The error is non-nil only if argWithManyQueryParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithManyQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithManyQueryParams_Result) (*BarResponse, error) }{}
Bar_ArgWithManyQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithManyQueryParams function.
var Bar_ArgWithNearDupQueryParams_Helper = struct { // Args accepts the parameters of argWithNearDupQueryParams in-order and returns // the arguments struct for the function. Args func( one string, two *int32, three *string, four *string, ) *Bar_ArgWithNearDupQueryParams_Args // IsException returns true if the given error can be thrown // by argWithNearDupQueryParams. // // An error can be thrown by argWithNearDupQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithNearDupQueryParams // given its return value and error. // // This allows mapping values and errors returned by // argWithNearDupQueryParams into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithNearDupQueryParams // // value, err := argWithNearDupQueryParams(args) // result, err := Bar_ArgWithNearDupQueryParams_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithNearDupQueryParams: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithNearDupQueryParams_Result, error) // UnwrapResponse takes the result struct for argWithNearDupQueryParams // and returns the value or error returned by it. // // The error is non-nil only if argWithNearDupQueryParams threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithNearDupQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithNearDupQueryParams_Result) (*BarResponse, error) }{}
Bar_ArgWithNearDupQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithNearDupQueryParams function.
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_ArgWithParamsAndDuplicateFields_Helper = struct { // Args accepts the parameters of argWithParamsAndDuplicateFields in-order and returns // the arguments struct for the function. Args func( request *RequestWithDuplicateType, entityUUID string, ) *Bar_ArgWithParamsAndDuplicateFields_Args // IsException returns true if the given error can be thrown // by argWithParamsAndDuplicateFields. // // An error can be thrown by argWithParamsAndDuplicateFields only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for argWithParamsAndDuplicateFields // given its return value and error. // // This allows mapping values and errors returned by // argWithParamsAndDuplicateFields into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by argWithParamsAndDuplicateFields // // value, err := argWithParamsAndDuplicateFields(args) // result, err := Bar_ArgWithParamsAndDuplicateFields_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from argWithParamsAndDuplicateFields: %v", err) // } // serialize(result) WrapResponse func(*BarResponse, error) (*Bar_ArgWithParamsAndDuplicateFields_Result, error) // UnwrapResponse takes the result struct for argWithParamsAndDuplicateFields // and returns the value or error returned by it. // // The error is non-nil only if argWithParamsAndDuplicateFields threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ArgWithParamsAndDuplicateFields_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ArgWithParamsAndDuplicateFields_Result) (*BarResponse, error) }{}
Bar_ArgWithParamsAndDuplicateFields_Helper provides functions that aid in handling the parameters and return values of the Bar.argWithParamsAndDuplicateFields function.
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_DeleteWithBody_Helper = struct { // Args accepts the parameters of deleteWithBody in-order and returns // the arguments struct for the function. Args func( filter string, count *int32, ) *Bar_DeleteWithBody_Args // IsException returns true if the given error can be thrown // by deleteWithBody. // // An error can be thrown by deleteWithBody 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 deleteWithBody // given the error returned by it. The provided error may // be nil if deleteWithBody did not fail. // // This allows mapping errors returned by deleteWithBody into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // deleteWithBody // // err := deleteWithBody(args) // result, err := Bar_DeleteWithBody_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from deleteWithBody: %v", err) // } // serialize(result) WrapResponse func(error) (*Bar_DeleteWithBody_Result, error) // UnwrapResponse takes the result struct for deleteWithBody // and returns the erorr returned by it (if any). // // The error is non-nil only if deleteWithBody threw an // exception. // // result := deserialize(bytes) // err := Bar_DeleteWithBody_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_DeleteWithBody_Result) error }{}
Bar_DeleteWithBody_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteWithBody function.
var Bar_DeleteWithQueryParams_Helper = struct { // Args accepts the parameters of deleteWithQueryParams in-order and returns // the arguments struct for the function. Args func( filter string, count *int32, ) *Bar_DeleteWithQueryParams_Args // IsException returns true if the given error can be thrown // by deleteWithQueryParams. // // An error can be thrown by deleteWithQueryParams only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for deleteWithQueryParams // given the error returned by it. The provided error may // be nil if deleteWithQueryParams did not fail. // // This allows mapping errors returned by deleteWithQueryParams into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // deleteWithQueryParams // // err := deleteWithQueryParams(args) // result, err := Bar_DeleteWithQueryParams_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from deleteWithQueryParams: %v", err) // } // serialize(result) WrapResponse func(error) (*Bar_DeleteWithQueryParams_Result, error) // UnwrapResponse takes the result struct for deleteWithQueryParams // and returns the erorr returned by it (if any). // // The error is non-nil only if deleteWithQueryParams threw an // exception. // // result := deserialize(bytes) // err := Bar_DeleteWithQueryParams_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_DeleteWithQueryParams_Result) error }{}
Bar_DeleteWithQueryParams_Helper provides functions that aid in handling the parameters and return values of the Bar.deleteWithQueryParams function.
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_ListAndEnum_Helper = struct { // Args accepts the parameters of listAndEnum in-order and returns // the arguments struct for the function. Args func( demoIds []string, demoType *DemoType, demos []DemoType, ) *Bar_ListAndEnum_Args // IsException returns true if the given error can be thrown // by listAndEnum. // // An error can be thrown by listAndEnum only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for listAndEnum // given its return value and error. // // This allows mapping values and errors returned by // listAndEnum into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by listAndEnum // // value, err := listAndEnum(args) // result, err := Bar_ListAndEnum_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from listAndEnum: %v", err) // } // serialize(result) WrapResponse func(string, error) (*Bar_ListAndEnum_Result, error) // UnwrapResponse takes the result struct for listAndEnum // and returns the value or error returned by it. // // The error is non-nil only if listAndEnum threw an // exception. // // result := deserialize(bytes) // value, err := Bar_ListAndEnum_Helper.UnwrapResponse(result) UnwrapResponse func(*Bar_ListAndEnum_Result) (string, error) }{}
Bar_ListAndEnum_Helper provides functions that aid in handling the parameters and return values of the Bar.listAndEnum function.
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) Decode ¶
func (v *BarException) Decode(sr stream.Reader) error
Decode deserializes a BarException struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a BarException struct could not be generated from the wire representation.
func (*BarException) Encode ¶
func (v *BarException) Encode(sw stream.Writer) error
Encode serializes a BarException struct directly into bytes, without going through an intermediary type.
An error is returned if a BarException struct could not be encoded.
func (*BarException) Equals ¶
func (v *BarException) Equals(rhs *BarException) bool
Equals returns true if all the fields of this BarException match the provided BarException.
This function performs a deep comparison.
func (*BarException) Error ¶
func (v *BarException) Error() string
func (*BarException) ErrorName ¶
func (*BarException) ErrorName() string
ErrorName is the name of this type as defined in the Thrift file.
func (*BarException) FromWire ¶
func (v *BarException) FromWire(w wire.Value) error
FromWire deserializes a BarException struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarException struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarException if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*BarException) GetStringField ¶
func (v *BarException) GetStringField() (o string)
GetStringField returns the value of StringField if it is set or its zero value if it is unset.
func (BarException) MarshalEasyJSON ¶
func (v BarException) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarException) MarshalJSON ¶
func (v BarException) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarException) MarshalLogObject ¶
func (v *BarException) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarException.
func (*BarException) String ¶
func (v *BarException) String() string
String returns a readable string representation of a BarException struct.
func (*BarException) ToWire ¶
func (v *BarException) ToWire() (wire.Value, error)
ToWire translates a BarException struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarException) UnmarshalEasyJSON ¶
func (v *BarException) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarException) UnmarshalJSON ¶
func (v *BarException) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BarRequest ¶
type BarRequest struct { StringField string `json:"stringField,required"` BoolField bool `json:"boolField,required"` BinaryField []byte `json:"binaryField,required"` Timestamp Timestamp `json:"timestamp,required"` EnumField Fruit `json:"enumField,required"` LongField Long `json:"longField,required"` }
func (*BarRequest) Decode ¶
func (v *BarRequest) Decode(sr stream.Reader) error
Decode deserializes a BarRequest struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a BarRequest struct could not be generated from the wire representation.
func (*BarRequest) Encode ¶
func (v *BarRequest) Encode(sw stream.Writer) error
Encode serializes a BarRequest struct directly into bytes, without going through an intermediary type.
An error is returned if a BarRequest struct could not be encoded.
func (*BarRequest) Equals ¶
func (v *BarRequest) Equals(rhs *BarRequest) bool
Equals returns true if all the fields of this BarRequest match the provided BarRequest.
This function performs a deep comparison.
func (*BarRequest) FromWire ¶
func (v *BarRequest) FromWire(w wire.Value) error
FromWire deserializes a BarRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarRequest struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarRequest if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*BarRequest) GetBinaryField ¶
func (v *BarRequest) GetBinaryField() (o []byte)
GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.
func (*BarRequest) GetBoolField ¶
func (v *BarRequest) GetBoolField() (o bool)
GetBoolField returns the value of BoolField if it is set or its zero value if it is unset.
func (*BarRequest) GetEnumField ¶
func (v *BarRequest) GetEnumField() (o Fruit)
GetEnumField returns the value of EnumField if it is set or its zero value if it is unset.
func (*BarRequest) GetLongField ¶
func (v *BarRequest) GetLongField() (o Long)
GetLongField returns the value of LongField if it is set or its zero value if it is unset.
func (*BarRequest) GetStringField ¶
func (v *BarRequest) GetStringField() (o string)
GetStringField returns the value of StringField if it is set or its zero value if it is unset.
func (*BarRequest) GetTimestamp ¶
func (v *BarRequest) GetTimestamp() (o Timestamp)
GetTimestamp returns the value of Timestamp if it is set or its zero value if it is unset.
func (*BarRequest) IsSetBinaryField ¶
func (v *BarRequest) IsSetBinaryField() bool
IsSetBinaryField returns true if BinaryField is not nil.
func (BarRequest) MarshalEasyJSON ¶
func (v BarRequest) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarRequest) MarshalJSON ¶
func (v BarRequest) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarRequest) MarshalLogObject ¶
func (v *BarRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarRequest.
func (*BarRequest) String ¶
func (v *BarRequest) String() string
String returns a readable string representation of a BarRequest struct.
func (*BarRequest) ToWire ¶
func (v *BarRequest) ToWire() (wire.Value, error)
ToWire translates a BarRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarRequest) UnmarshalEasyJSON ¶
func (v *BarRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarRequest) UnmarshalJSON ¶
func (v *BarRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type 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) Decode ¶
func (v *BarResponse) Decode(sr stream.Reader) error
Decode deserializes a BarResponse struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a BarResponse struct could not be generated from the wire representation.
func (*BarResponse) Encode ¶
func (v *BarResponse) Encode(sw stream.Writer) error
Encode serializes a BarResponse struct directly into bytes, without going through an intermediary type.
An error is returned if a BarResponse struct could not be encoded.
func (*BarResponse) Equals ¶
func (v *BarResponse) Equals(rhs *BarResponse) bool
Equals returns true if all the fields of this BarResponse match the provided BarResponse.
This function performs a deep comparison.
func (*BarResponse) FromWire ¶
func (v *BarResponse) FromWire(w wire.Value) error
FromWire deserializes a BarResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BarResponse struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BarResponse if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*BarResponse) GetBinaryField ¶
func (v *BarResponse) GetBinaryField() (o []byte)
GetBinaryField returns the value of BinaryField if it is set or its zero value if it is unset.
func (*BarResponse) GetIntWithRange ¶
func (v *BarResponse) GetIntWithRange() (o int32)
GetIntWithRange returns the value of IntWithRange if it is set or its zero value if it is unset.
func (*BarResponse) GetIntWithoutRange ¶
func (v *BarResponse) GetIntWithoutRange() (o int32)
GetIntWithoutRange returns the value of IntWithoutRange if it is set or its zero value if it is unset.
func (*BarResponse) GetMapIntWithRange ¶
func (v *BarResponse) GetMapIntWithRange() (o map[UUID]int32)
GetMapIntWithRange returns the value of MapIntWithRange if it is set or its zero value if it is unset.
func (*BarResponse) GetMapIntWithoutRange ¶
func (v *BarResponse) GetMapIntWithoutRange() (o map[string]int32)
GetMapIntWithoutRange returns the value of MapIntWithoutRange if it is set or its zero value if it is unset.
func (*BarResponse) GetNextResponse ¶
func (v *BarResponse) GetNextResponse() (o *BarResponse)
GetNextResponse returns the value of NextResponse if it is set or its zero value if it is unset.
func (*BarResponse) GetStringField ¶
func (v *BarResponse) GetStringField() (o string)
GetStringField returns the value of StringField if it is set or its zero value if it is unset.
func (*BarResponse) IsSetBinaryField ¶
func (v *BarResponse) IsSetBinaryField() bool
IsSetBinaryField returns true if BinaryField is not nil.
func (*BarResponse) IsSetMapIntWithRange ¶
func (v *BarResponse) IsSetMapIntWithRange() bool
IsSetMapIntWithRange returns true if MapIntWithRange is not nil.
func (*BarResponse) IsSetMapIntWithoutRange ¶
func (v *BarResponse) IsSetMapIntWithoutRange() bool
IsSetMapIntWithoutRange returns true if MapIntWithoutRange is not nil.
func (*BarResponse) IsSetNextResponse ¶
func (v *BarResponse) IsSetNextResponse() bool
IsSetNextResponse returns true if NextResponse is not nil.
func (BarResponse) MarshalEasyJSON ¶
func (v BarResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BarResponse) MarshalJSON ¶
func (v BarResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BarResponse) MarshalLogObject ¶
func (v *BarResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BarResponse.
func (*BarResponse) String ¶
func (v *BarResponse) String() string
String returns a readable string representation of a BarResponse struct.
func (*BarResponse) ToWire ¶
func (v *BarResponse) ToWire() (wire.Value, error)
ToWire translates a BarResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BarResponse) UnmarshalEasyJSON ¶
func (v *BarResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BarResponse) UnmarshalJSON ¶
func (v *BarResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type 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) Decode ¶
func (v *Bar_ArgNotStruct_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgNotStruct_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgNotStruct_Args struct could not be generated from the wire representation.
func (*Bar_ArgNotStruct_Args) Encode ¶
func (v *Bar_ArgNotStruct_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgNotStruct_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgNotStruct_Args struct could not be encoded.
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) GetRequest ¶
func (v *Bar_ArgNotStruct_Args) GetRequest() (o string)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (Bar_ArgNotStruct_Args) MarshalEasyJSON ¶
func (v Bar_ArgNotStruct_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgNotStruct_Args) MarshalJSON ¶
func (v Bar_ArgNotStruct_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgNotStruct_Args) MarshalLogObject ¶
func (v *Bar_ArgNotStruct_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Args.
func (*Bar_ArgNotStruct_Args) MethodName ¶
func (v *Bar_ArgNotStruct_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argNotStruct" for this struct.
func (*Bar_ArgNotStruct_Args) String ¶
func (v *Bar_ArgNotStruct_Args) String() string
String returns a readable string representation of a Bar_ArgNotStruct_Args struct.
func (*Bar_ArgNotStruct_Args) ToWire ¶
func (v *Bar_ArgNotStruct_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgNotStruct_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgNotStruct_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgNotStruct_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgNotStruct_Args) UnmarshalJSON ¶
func (v *Bar_ArgNotStruct_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgNotStruct_Result ¶
type Bar_ArgNotStruct_Result struct {
BarException *BarException `json:"barException,omitempty"`
}
Bar_ArgNotStruct_Result represents the result of a Bar.argNotStruct function call.
The result of a argNotStruct execution is sent and received over the wire as this struct.
func (*Bar_ArgNotStruct_Result) Decode ¶
func (v *Bar_ArgNotStruct_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgNotStruct_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgNotStruct_Result struct could not be generated from the wire representation.
func (*Bar_ArgNotStruct_Result) Encode ¶
func (v *Bar_ArgNotStruct_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgNotStruct_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgNotStruct_Result struct could not be encoded.
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) GetBarException ¶
func (v *Bar_ArgNotStruct_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_ArgNotStruct_Result) IsSetBarException ¶
func (v *Bar_ArgNotStruct_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (Bar_ArgNotStruct_Result) MarshalEasyJSON ¶
func (v Bar_ArgNotStruct_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgNotStruct_Result) MarshalJSON ¶
func (v Bar_ArgNotStruct_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgNotStruct_Result) MarshalLogObject ¶
func (v *Bar_ArgNotStruct_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgNotStruct_Result.
func (*Bar_ArgNotStruct_Result) MethodName ¶
func (v *Bar_ArgNotStruct_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argNotStruct" for this struct.
func (*Bar_ArgNotStruct_Result) String ¶
func (v *Bar_ArgNotStruct_Result) String() string
String returns a readable string representation of a Bar_ArgNotStruct_Result struct.
func (*Bar_ArgNotStruct_Result) ToWire ¶
func (v *Bar_ArgNotStruct_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgNotStruct_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgNotStruct_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgNotStruct_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgNotStruct_Result) UnmarshalJSON ¶
func (v *Bar_ArgNotStruct_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithHeaders_Args ¶
type Bar_ArgWithHeaders_Args struct { Name string `json:"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) Decode ¶
func (v *Bar_ArgWithHeaders_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithHeaders_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithHeaders_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithHeaders_Args) Encode ¶
func (v *Bar_ArgWithHeaders_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithHeaders_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithHeaders_Args struct could not be encoded.
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) GetName ¶
func (v *Bar_ArgWithHeaders_Args) GetName() (o string)
GetName returns the value of Name if it is set or its zero value if it is unset.
func (*Bar_ArgWithHeaders_Args) 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) IsSetUserUUID ¶
func (v *Bar_ArgWithHeaders_Args) IsSetUserUUID() bool
IsSetUserUUID returns true if UserUUID is not nil.
func (Bar_ArgWithHeaders_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithHeaders_Args) MarshalJSON ¶
func (v Bar_ArgWithHeaders_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithHeaders_Args) MarshalLogObject ¶
func (v *Bar_ArgWithHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Args.
func (*Bar_ArgWithHeaders_Args) MethodName ¶
func (v *Bar_ArgWithHeaders_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithHeaders" for this struct.
func (*Bar_ArgWithHeaders_Args) String ¶
func (v *Bar_ArgWithHeaders_Args) String() string
String returns a readable string representation of a Bar_ArgWithHeaders_Args struct.
func (*Bar_ArgWithHeaders_Args) ToWire ¶
func (v *Bar_ArgWithHeaders_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithHeaders_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithHeaders_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithHeaders_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithHeaders_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithHeaders_Result ¶
type Bar_ArgWithHeaders_Result struct { // Value returned by argWithHeaders after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithHeaders_Result represents the result of a Bar.argWithHeaders function call.
The result of a argWithHeaders execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithHeaders_Result) Decode ¶
func (v *Bar_ArgWithHeaders_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithHeaders_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithHeaders_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithHeaders_Result) Encode ¶
func (v *Bar_ArgWithHeaders_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithHeaders_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithHeaders_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithHeaders_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithHeaders_Result) IsSetSuccess ¶
func (v *Bar_ArgWithHeaders_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithHeaders_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithHeaders_Result) MarshalJSON ¶
func (v Bar_ArgWithHeaders_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithHeaders_Result) MarshalLogObject ¶
func (v *Bar_ArgWithHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithHeaders_Result.
func (*Bar_ArgWithHeaders_Result) MethodName ¶
func (v *Bar_ArgWithHeaders_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithHeaders" for this struct.
func (*Bar_ArgWithHeaders_Result) String ¶
func (v *Bar_ArgWithHeaders_Result) String() string
String returns a readable string representation of a Bar_ArgWithHeaders_Result struct.
func (*Bar_ArgWithHeaders_Result) ToWire ¶
func (v *Bar_ArgWithHeaders_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithHeaders_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithHeaders_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithHeaders_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithHeaders_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithManyQueryParams_Args ¶
type Bar_ArgWithManyQueryParams_Args struct { AStr string `json:"aStr,required"` AnOptStr *string `json:"anOptStr,omitempty"` ABool bool `json:"aBool,required"` AnOptBool *bool `json:"anOptBool,omitempty"` AInt8 int8 `json:"aInt8,required"` AnOptInt8 *int8 `json:"anOptInt8,omitempty"` AInt16 int16 `json:"aInt16,required"` AnOptInt16 *int16 `json:"anOptInt16,omitempty"` AInt32 int32 `json:"aInt32,required"` AnOptInt32 *int32 `json:"anOptInt32,omitempty"` AInt64 int64 `json:"aInt64,required"` AnOptInt64 *int64 `json:"anOptInt64,omitempty"` AFloat64 float64 `json:"aFloat64,required"` AnOptFloat64 *float64 `json:"anOptFloat64,omitempty"` AUUID UUID `json:"aUUID,required"` AnOptUUID *UUID `json:"anOptUUID,omitempty"` AListUUID []UUID `json:"aListUUID,required"` AnOptListUUID []UUID `json:"anOptListUUID,omitempty"` AStringList StringList `json:"aStringList,required"` AnOptStringList StringList `json:"anOptStringList,omitempty"` AUUIDList UUIDList `json:"aUUIDList,required"` AnOptUUIDList UUIDList `json:"anOptUUIDList,omitempty"` ATs Timestamp `json:"aTs,required"` AnOptTs *Timestamp `json:"anOptTs,omitempty"` AReqDemo DemoType `json:"aReqDemo,required"` AnOptFruit *Fruit `json:"anOptFruit,omitempty"` AReqFruits []Fruit `json:"aReqFruits,required"` AnOptDemos []DemoType `json:"anOptDemos,omitempty"` }
Bar_ArgWithManyQueryParams_Args represents the arguments for the Bar.argWithManyQueryParams function.
The arguments for argWithManyQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithManyQueryParams_Args) Decode ¶
func (v *Bar_ArgWithManyQueryParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithManyQueryParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithManyQueryParams_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithManyQueryParams_Args) Encode ¶
func (v *Bar_ArgWithManyQueryParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithManyQueryParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithManyQueryParams_Args struct could not be encoded.
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) GetABool ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetABool() (o bool)
GetABool returns the value of ABool if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAFloat64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAFloat64() (o float64)
GetAFloat64 returns the value of AFloat64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAInt16 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAInt16() (o int16)
GetAInt16 returns the value of AInt16 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAInt32 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAInt32() (o int32)
GetAInt32 returns the value of AInt32 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAInt64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAInt64() (o int64)
GetAInt64 returns the value of AInt64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAInt8 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAInt8() (o int8)
GetAInt8 returns the value of AInt8 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAListUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAListUUID() (o []UUID)
GetAListUUID returns the value of AListUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAReqDemo ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAReqDemo() (o DemoType)
GetAReqDemo returns the value of AReqDemo if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAReqFruits ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAReqFruits() (o []Fruit)
GetAReqFruits returns the value of AReqFruits if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAStr ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAStr() (o string)
GetAStr returns the value of AStr if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAStringList ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAStringList() (o StringList)
GetAStringList returns the value of AStringList if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetATs ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetATs() (o Timestamp)
GetATs returns the value of ATs if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAUUID() (o UUID)
GetAUUID returns the value of AUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAUUIDList ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAUUIDList() (o UUIDList)
GetAUUIDList returns the value of AUUIDList if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptBool ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptBool() (o bool)
GetAnOptBool returns the value of AnOptBool if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptDemos ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptDemos() (o []DemoType)
GetAnOptDemos returns the value of AnOptDemos if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFloat64() (o float64)
GetAnOptFloat64 returns the value of AnOptFloat64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptFruit ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptFruit() (o Fruit)
GetAnOptFruit returns the value of AnOptFruit if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt16 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt16() (o int16)
GetAnOptInt16 returns the value of AnOptInt16 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt32 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt32() (o int32)
GetAnOptInt32 returns the value of AnOptInt32 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt64() (o int64)
GetAnOptInt64 returns the value of AnOptInt64 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptInt8 ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptInt8() (o int8)
GetAnOptInt8 returns the value of AnOptInt8 if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptListUUID() (o []UUID)
GetAnOptListUUID returns the value of AnOptListUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStr ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStr() (o string)
GetAnOptStr returns the value of AnOptStr if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptStringList ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptStringList() (o StringList)
GetAnOptStringList returns the value of AnOptStringList if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptTs ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptTs() (o Timestamp)
GetAnOptTs returns the value of AnOptTs if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUID() (o UUID)
GetAnOptUUID returns the value of AnOptUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList ¶
func (v *Bar_ArgWithManyQueryParams_Args) GetAnOptUUIDList() (o UUIDList)
GetAnOptUUIDList returns the value of AnOptUUIDList if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAListUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAListUUID() bool
IsSetAListUUID returns true if AListUUID is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAReqFruits() bool
IsSetAReqFruits returns true if AReqFruits is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAStringList ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAStringList() bool
IsSetAStringList returns true if AStringList is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAUUIDList() bool
IsSetAUUIDList returns true if AUUIDList is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptBool() bool
IsSetAnOptBool returns true if AnOptBool is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptDemos() bool
IsSetAnOptDemos returns true if AnOptDemos is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFloat64() bool
IsSetAnOptFloat64 returns true if AnOptFloat64 is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptFruit() bool
IsSetAnOptFruit returns true if AnOptFruit is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16 ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt16() bool
IsSetAnOptInt16 returns true if AnOptInt16 is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32 ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt32() bool
IsSetAnOptInt32 returns true if AnOptInt32 is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64 ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt64() bool
IsSetAnOptInt64 returns true if AnOptInt64 is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8 ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptInt8() bool
IsSetAnOptInt8 returns true if AnOptInt8 is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptListUUID() bool
IsSetAnOptListUUID returns true if AnOptListUUID is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStr() bool
IsSetAnOptStr returns true if AnOptStr is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptStringList() bool
IsSetAnOptStringList returns true if AnOptStringList is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptTs() bool
IsSetAnOptTs returns true if AnOptTs is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUID() bool
IsSetAnOptUUID returns true if AnOptUUID is not nil.
func (*Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList ¶
func (v *Bar_ArgWithManyQueryParams_Args) IsSetAnOptUUIDList() bool
IsSetAnOptUUIDList returns true if AnOptUUIDList is not nil.
func (Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithManyQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithManyQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithManyQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithManyQueryParams_Args) MarshalLogObject ¶
func (v *Bar_ArgWithManyQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Args.
func (*Bar_ArgWithManyQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithManyQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithManyQueryParams" for this struct.
func (*Bar_ArgWithManyQueryParams_Args) String ¶
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) Decode ¶
func (v *Bar_ArgWithManyQueryParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithManyQueryParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithManyQueryParams_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithManyQueryParams_Result) Encode ¶
func (v *Bar_ArgWithManyQueryParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithManyQueryParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithManyQueryParams_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithManyQueryParams_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithManyQueryParams_Result) IsSetSuccess ¶
func (v *Bar_ArgWithManyQueryParams_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithManyQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithManyQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithManyQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithManyQueryParams_Result) MarshalLogObject ¶
func (v *Bar_ArgWithManyQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithManyQueryParams_Result.
func (*Bar_ArgWithManyQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithManyQueryParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithManyQueryParams" for this struct.
func (*Bar_ArgWithManyQueryParams_Result) String ¶
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_ArgWithNearDupQueryParams_Args ¶
type Bar_ArgWithNearDupQueryParams_Args struct { One string `json:"one,required"` Two *int32 `json:"two,omitempty"` Three *string `json:"three,omitempty"` Four *string `json:"four,omitempty"` }
Bar_ArgWithNearDupQueryParams_Args represents the arguments for the Bar.argWithNearDupQueryParams function.
The arguments for argWithNearDupQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithNearDupQueryParams_Args) Decode ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithNearDupQueryParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithNearDupQueryParams_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithNearDupQueryParams_Args) Encode ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithNearDupQueryParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithNearDupQueryParams_Args struct could not be encoded.
func (*Bar_ArgWithNearDupQueryParams_Args) EnvelopeType ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithNearDupQueryParams_Args) Equals ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) Equals(rhs *Bar_ArgWithNearDupQueryParams_Args) bool
Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Args match the provided Bar_ArgWithNearDupQueryParams_Args.
This function performs a deep comparison.
func (*Bar_ArgWithNearDupQueryParams_Args) FromWire ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithNearDupQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithNearDupQueryParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithNearDupQueryParams_Args) GetFour ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) GetFour() (o string)
GetFour returns the value of Four if it is set or its zero value if it is unset.
func (*Bar_ArgWithNearDupQueryParams_Args) GetOne ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) GetOne() (o string)
GetOne returns the value of One if it is set or its zero value if it is unset.
func (*Bar_ArgWithNearDupQueryParams_Args) GetThree ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) GetThree() (o string)
GetThree returns the value of Three if it is set or its zero value if it is unset.
func (*Bar_ArgWithNearDupQueryParams_Args) GetTwo ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) GetTwo() (o int32)
GetTwo returns the value of Two if it is set or its zero value if it is unset.
func (*Bar_ArgWithNearDupQueryParams_Args) IsSetFour ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetFour() bool
IsSetFour returns true if Four is not nil.
func (*Bar_ArgWithNearDupQueryParams_Args) IsSetThree ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetThree() bool
IsSetThree returns true if Three is not nil.
func (*Bar_ArgWithNearDupQueryParams_Args) IsSetTwo ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) IsSetTwo() bool
IsSetTwo returns true if Two is not nil.
func (Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithNearDupQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNearDupQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithNearDupQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Args.
func (*Bar_ArgWithNearDupQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithNearDupQueryParams_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 "argWithNearDupQueryParams" for this struct.
func (*Bar_ArgWithNearDupQueryParams_Args) String ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Args struct.
func (*Bar_ArgWithNearDupQueryParams_Args) ToWire ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithNearDupQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithNearDupQueryParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithNearDupQueryParams_Result ¶
type Bar_ArgWithNearDupQueryParams_Result struct { // Value returned by argWithNearDupQueryParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithNearDupQueryParams_Result represents the result of a Bar.argWithNearDupQueryParams function call.
The result of a argWithNearDupQueryParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithNearDupQueryParams_Result) Decode ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithNearDupQueryParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithNearDupQueryParams_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithNearDupQueryParams_Result) Encode ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithNearDupQueryParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithNearDupQueryParams_Result struct could not be encoded.
func (*Bar_ArgWithNearDupQueryParams_Result) EnvelopeType ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithNearDupQueryParams_Result) Equals ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) Equals(rhs *Bar_ArgWithNearDupQueryParams_Result) bool
Equals returns true if all the fields of this Bar_ArgWithNearDupQueryParams_Result match the provided Bar_ArgWithNearDupQueryParams_Result.
This function performs a deep comparison.
func (*Bar_ArgWithNearDupQueryParams_Result) FromWire ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithNearDupQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithNearDupQueryParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithNearDupQueryParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithNearDupQueryParams_Result) GetSuccess ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithNearDupQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNearDupQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithNearDupQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNearDupQueryParams_Result.
func (*Bar_ArgWithNearDupQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithNearDupQueryParams_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 "argWithNearDupQueryParams" for this struct.
func (*Bar_ArgWithNearDupQueryParams_Result) String ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithNearDupQueryParams_Result struct.
func (*Bar_ArgWithNearDupQueryParams_Result) ToWire ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithNearDupQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithNearDupQueryParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithNestedQueryParams_Args ¶
type Bar_ArgWithNestedQueryParams_Args struct { Request *QueryParamsStruct `json:"request,required"` Opt *QueryParamsOptsStruct `json:"opt,omitempty"` }
Bar_ArgWithNestedQueryParams_Args represents the arguments for the Bar.argWithNestedQueryParams function.
The arguments for argWithNestedQueryParams are sent and received over the wire as this struct.
func (*Bar_ArgWithNestedQueryParams_Args) Decode ¶
func (v *Bar_ArgWithNestedQueryParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithNestedQueryParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithNestedQueryParams_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithNestedQueryParams_Args) Encode ¶
func (v *Bar_ArgWithNestedQueryParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithNestedQueryParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithNestedQueryParams_Args struct could not be encoded.
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) GetOpt ¶
func (v *Bar_ArgWithNestedQueryParams_Args) GetOpt() (o *QueryParamsOptsStruct)
GetOpt returns the value of Opt if it is set or its zero value if it is unset.
func (*Bar_ArgWithNestedQueryParams_Args) GetRequest ¶
func (v *Bar_ArgWithNestedQueryParams_Args) GetRequest() (o *QueryParamsStruct)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (*Bar_ArgWithNestedQueryParams_Args) IsSetOpt ¶
func (v *Bar_ArgWithNestedQueryParams_Args) IsSetOpt() bool
IsSetOpt returns true if Opt is not nil.
func (*Bar_ArgWithNestedQueryParams_Args) IsSetRequest ¶
func (v *Bar_ArgWithNestedQueryParams_Args) IsSetRequest() bool
IsSetRequest returns true if Request is not nil.
func (Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithNestedQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNestedQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithNestedQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNestedQueryParams_Args) MarshalLogObject ¶
func (v *Bar_ArgWithNestedQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Args.
func (*Bar_ArgWithNestedQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithNestedQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithNestedQueryParams" for this struct.
func (*Bar_ArgWithNestedQueryParams_Args) String ¶
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) Decode ¶
func (v *Bar_ArgWithNestedQueryParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithNestedQueryParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithNestedQueryParams_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithNestedQueryParams_Result) Encode ¶
func (v *Bar_ArgWithNestedQueryParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithNestedQueryParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithNestedQueryParams_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithNestedQueryParams_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithNestedQueryParams_Result) IsSetSuccess ¶
func (v *Bar_ArgWithNestedQueryParams_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithNestedQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithNestedQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithNestedQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithNestedQueryParams_Result) MarshalLogObject ¶
func (v *Bar_ArgWithNestedQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithNestedQueryParams_Result.
func (*Bar_ArgWithNestedQueryParams_Result) MethodName ¶
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_ArgWithParamsAndDuplicateFields_Args ¶
type Bar_ArgWithParamsAndDuplicateFields_Args struct { Request *RequestWithDuplicateType `json:"request,required"` EntityUUID string `json:"entityUUID,required"` }
Bar_ArgWithParamsAndDuplicateFields_Args represents the arguments for the Bar.argWithParamsAndDuplicateFields function.
The arguments for argWithParamsAndDuplicateFields are sent and received over the wire as this struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) Decode ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithParamsAndDuplicateFields_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithParamsAndDuplicateFields_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) Encode ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithParamsAndDuplicateFields_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithParamsAndDuplicateFields_Args struct could not be encoded.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) Equals ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Args) bool
Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Args match the provided Bar_ArgWithParamsAndDuplicateFields_Args.
This function performs a deep comparison.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) FromWire ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithParamsAndDuplicateFields_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetEntityUUID() (o string)
GetEntityUUID returns the value of EntityUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) GetRequest() (o *RequestWithDuplicateType)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) IsSetRequest() bool
IsSetRequest returns true if Request is not nil.
func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON ¶
func (v Bar_ArgWithParamsAndDuplicateFields_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Args.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) MethodName ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_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 "argWithParamsAndDuplicateFields" for this struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) String ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) String() string
String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Args struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Args) ToWire ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithParamsAndDuplicateFields_Result ¶
type Bar_ArgWithParamsAndDuplicateFields_Result struct { // Value returned by argWithParamsAndDuplicateFields after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithParamsAndDuplicateFields_Result represents the result of a Bar.argWithParamsAndDuplicateFields function call.
The result of a argWithParamsAndDuplicateFields execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) Decode ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithParamsAndDuplicateFields_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithParamsAndDuplicateFields_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) Encode ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithParamsAndDuplicateFields_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithParamsAndDuplicateFields_Result struct could not be encoded.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) Equals ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) Equals(rhs *Bar_ArgWithParamsAndDuplicateFields_Result) bool
Equals returns true if all the fields of this Bar_ArgWithParamsAndDuplicateFields_Result match the provided Bar_ArgWithParamsAndDuplicateFields_Result.
This function performs a deep comparison.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) FromWire ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ArgWithParamsAndDuplicateFields_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ArgWithParamsAndDuplicateFields_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ArgWithParamsAndDuplicateFields_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON ¶
func (v Bar_ArgWithParamsAndDuplicateFields_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParamsAndDuplicateFields_Result.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) MethodName ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_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 "argWithParamsAndDuplicateFields" for this struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) String ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) String() string
String returns a readable string representation of a Bar_ArgWithParamsAndDuplicateFields_Result struct.
func (*Bar_ArgWithParamsAndDuplicateFields_Result) ToWire ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParamsAndDuplicateFields_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithParamsAndDuplicateFields_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithParams_Args ¶
type Bar_ArgWithParams_Args struct { UUID string `json:"-"` 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) Decode ¶
func (v *Bar_ArgWithParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithParams_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithParams_Args) Encode ¶
func (v *Bar_ArgWithParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithParams_Args struct could not be encoded.
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) GetParams ¶
func (v *Bar_ArgWithParams_Args) GetParams() (o *ParamsStruct)
GetParams returns the value of Params if it is set or its zero value if it is unset.
func (*Bar_ArgWithParams_Args) GetUUID ¶
func (v *Bar_ArgWithParams_Args) GetUUID() (o string)
GetUUID returns the value of UUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithParams_Args) IsSetParams ¶
func (v *Bar_ArgWithParams_Args) IsSetParams() bool
IsSetParams returns true if Params is not nil.
func (Bar_ArgWithParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParams_Args) MarshalJSON ¶
func (v Bar_ArgWithParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParams_Args) MarshalLogObject ¶
func (v *Bar_ArgWithParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Args.
func (*Bar_ArgWithParams_Args) MethodName ¶
func (v *Bar_ArgWithParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithParams" for this struct.
func (*Bar_ArgWithParams_Args) String ¶
func (v *Bar_ArgWithParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithParams_Args struct.
func (*Bar_ArgWithParams_Args) ToWire ¶
func (v *Bar_ArgWithParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParams_Args) UnmarshalJSON ¶
func (v *Bar_ArgWithParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithParams_Result ¶
type Bar_ArgWithParams_Result struct { // Value returned by argWithParams after a successful execution. Success *BarResponse `json:"success,omitempty"` }
Bar_ArgWithParams_Result represents the result of a Bar.argWithParams function call.
The result of a argWithParams execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ArgWithParams_Result) Decode ¶
func (v *Bar_ArgWithParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithParams_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithParams_Result) Encode ¶
func (v *Bar_ArgWithParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithParams_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithParams_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithParams_Result) IsSetSuccess ¶
func (v *Bar_ArgWithParams_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithParams_Result) MarshalJSON ¶
func (v Bar_ArgWithParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithParams_Result) MarshalLogObject ¶
func (v *Bar_ArgWithParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithParams_Result.
func (*Bar_ArgWithParams_Result) MethodName ¶
func (v *Bar_ArgWithParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithParams" for this struct.
func (*Bar_ArgWithParams_Result) String ¶
func (v *Bar_ArgWithParams_Result) String() string
String returns a readable string representation of a Bar_ArgWithParams_Result struct.
func (*Bar_ArgWithParams_Result) ToWire ¶
func (v *Bar_ArgWithParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ArgWithParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ArgWithParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_ArgWithParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ArgWithParams_Result) UnmarshalJSON ¶
func (v *Bar_ArgWithParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ArgWithQueryHeader_Args ¶
type Bar_ArgWithQueryHeader_Args struct {
UserUUID *string `json:"userUUID,omitempty"`
}
Bar_ArgWithQueryHeader_Args represents the arguments for the Bar.argWithQueryHeader function.
The arguments for argWithQueryHeader are sent and received over the wire as this struct.
func (*Bar_ArgWithQueryHeader_Args) Decode ¶
func (v *Bar_ArgWithQueryHeader_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithQueryHeader_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithQueryHeader_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithQueryHeader_Args) Encode ¶
func (v *Bar_ArgWithQueryHeader_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithQueryHeader_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithQueryHeader_Args struct could not be encoded.
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) IsSetUserUUID ¶
func (v *Bar_ArgWithQueryHeader_Args) IsSetUserUUID() bool
IsSetUserUUID returns true if UserUUID is not nil.
func (Bar_ArgWithQueryHeader_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryHeader_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryHeader_Args) MarshalJSON ¶
func (v Bar_ArgWithQueryHeader_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryHeader_Args) MarshalLogObject ¶
func (v *Bar_ArgWithQueryHeader_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Args.
func (*Bar_ArgWithQueryHeader_Args) MethodName ¶
func (v *Bar_ArgWithQueryHeader_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithQueryHeader" for this struct.
func (*Bar_ArgWithQueryHeader_Args) String ¶
func (v *Bar_ArgWithQueryHeader_Args) String() string
String returns a readable string representation of a Bar_ArgWithQueryHeader_Args struct.
func (*Bar_ArgWithQueryHeader_Args) ToWire ¶
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) Decode ¶
func (v *Bar_ArgWithQueryHeader_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithQueryHeader_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithQueryHeader_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithQueryHeader_Result) Encode ¶
func (v *Bar_ArgWithQueryHeader_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithQueryHeader_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithQueryHeader_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithQueryHeader_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryHeader_Result) IsSetSuccess ¶
func (v *Bar_ArgWithQueryHeader_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithQueryHeader_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryHeader_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryHeader_Result) MarshalJSON ¶
func (v Bar_ArgWithQueryHeader_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryHeader_Result) MarshalLogObject ¶
func (v *Bar_ArgWithQueryHeader_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryHeader_Result.
func (*Bar_ArgWithQueryHeader_Result) MethodName ¶
func (v *Bar_ArgWithQueryHeader_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithQueryHeader" for this struct.
func (*Bar_ArgWithQueryHeader_Result) String ¶
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) Decode ¶
func (v *Bar_ArgWithQueryParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithQueryParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithQueryParams_Args struct could not be generated from the wire representation.
func (*Bar_ArgWithQueryParams_Args) Encode ¶
func (v *Bar_ArgWithQueryParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithQueryParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithQueryParams_Args struct could not be encoded.
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) GetBar ¶
func (v *Bar_ArgWithQueryParams_Args) GetBar() (o []int8)
GetBar returns the value of Bar if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryParams_Args) GetFoo ¶
func (v *Bar_ArgWithQueryParams_Args) GetFoo() (o []string)
GetFoo returns the value of Foo if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryParams_Args) GetName ¶
func (v *Bar_ArgWithQueryParams_Args) GetName() (o string)
GetName returns the value of Name if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryParams_Args) GetUserUUID ¶
func (v *Bar_ArgWithQueryParams_Args) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryParams_Args) IsSetBar ¶
func (v *Bar_ArgWithQueryParams_Args) IsSetBar() bool
IsSetBar returns true if Bar is not nil.
func (*Bar_ArgWithQueryParams_Args) IsSetFoo ¶
func (v *Bar_ArgWithQueryParams_Args) IsSetFoo() bool
IsSetFoo returns true if Foo is not nil.
func (*Bar_ArgWithQueryParams_Args) IsSetUserUUID ¶
func (v *Bar_ArgWithQueryParams_Args) IsSetUserUUID() bool
IsSetUserUUID returns true if UserUUID is not nil.
func (Bar_ArgWithQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryParams_Args) MarshalJSON ¶
func (v Bar_ArgWithQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryParams_Args) MarshalLogObject ¶
func (v *Bar_ArgWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Args.
func (*Bar_ArgWithQueryParams_Args) MethodName ¶
func (v *Bar_ArgWithQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "argWithQueryParams" for this struct.
func (*Bar_ArgWithQueryParams_Args) String ¶
func (v *Bar_ArgWithQueryParams_Args) String() string
String returns a readable string representation of a Bar_ArgWithQueryParams_Args struct.
func (*Bar_ArgWithQueryParams_Args) ToWire ¶
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) Decode ¶
func (v *Bar_ArgWithQueryParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ArgWithQueryParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ArgWithQueryParams_Result struct could not be generated from the wire representation.
func (*Bar_ArgWithQueryParams_Result) Encode ¶
func (v *Bar_ArgWithQueryParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ArgWithQueryParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ArgWithQueryParams_Result struct could not be encoded.
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) GetSuccess ¶
func (v *Bar_ArgWithQueryParams_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ArgWithQueryParams_Result) IsSetSuccess ¶
func (v *Bar_ArgWithQueryParams_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ArgWithQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_ArgWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ArgWithQueryParams_Result) MarshalJSON ¶
func (v Bar_ArgWithQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ArgWithQueryParams_Result) MarshalLogObject ¶
func (v *Bar_ArgWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ArgWithQueryParams_Result.
func (*Bar_ArgWithQueryParams_Result) MethodName ¶
func (v *Bar_ArgWithQueryParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "argWithQueryParams" for this struct.
func (*Bar_ArgWithQueryParams_Result) String ¶
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_DeleteWithBody_Args ¶
type Bar_DeleteWithBody_Args struct { Filter string `json:"filter,required"` Count *int32 `json:"count,omitempty"` }
Bar_DeleteWithBody_Args represents the arguments for the Bar.deleteWithBody function.
The arguments for deleteWithBody are sent and received over the wire as this struct.
func (*Bar_DeleteWithBody_Args) Decode ¶
func (v *Bar_DeleteWithBody_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_DeleteWithBody_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_DeleteWithBody_Args struct could not be generated from the wire representation.
func (*Bar_DeleteWithBody_Args) Encode ¶
func (v *Bar_DeleteWithBody_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_DeleteWithBody_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_DeleteWithBody_Args struct could not be encoded.
func (*Bar_DeleteWithBody_Args) EnvelopeType ¶
func (v *Bar_DeleteWithBody_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_DeleteWithBody_Args) Equals ¶
func (v *Bar_DeleteWithBody_Args) Equals(rhs *Bar_DeleteWithBody_Args) bool
Equals returns true if all the fields of this Bar_DeleteWithBody_Args match the provided Bar_DeleteWithBody_Args.
This function performs a deep comparison.
func (*Bar_DeleteWithBody_Args) FromWire ¶
func (v *Bar_DeleteWithBody_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_DeleteWithBody_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_DeleteWithBody_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_DeleteWithBody_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_DeleteWithBody_Args) GetCount ¶
func (v *Bar_DeleteWithBody_Args) GetCount() (o int32)
GetCount returns the value of Count if it is set or its zero value if it is unset.
func (*Bar_DeleteWithBody_Args) GetFilter ¶
func (v *Bar_DeleteWithBody_Args) GetFilter() (o string)
GetFilter returns the value of Filter if it is set or its zero value if it is unset.
func (*Bar_DeleteWithBody_Args) IsSetCount ¶
func (v *Bar_DeleteWithBody_Args) IsSetCount() bool
IsSetCount returns true if Count is not nil.
func (Bar_DeleteWithBody_Args) MarshalEasyJSON ¶
func (v Bar_DeleteWithBody_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_DeleteWithBody_Args) MarshalJSON ¶
func (v Bar_DeleteWithBody_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_DeleteWithBody_Args) MarshalLogObject ¶
func (v *Bar_DeleteWithBody_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithBody_Args.
func (*Bar_DeleteWithBody_Args) MethodName ¶
func (v *Bar_DeleteWithBody_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 "deleteWithBody" for this struct.
func (*Bar_DeleteWithBody_Args) String ¶
func (v *Bar_DeleteWithBody_Args) String() string
String returns a readable string representation of a Bar_DeleteWithBody_Args struct.
func (*Bar_DeleteWithBody_Args) ToWire ¶
func (v *Bar_DeleteWithBody_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_DeleteWithBody_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_DeleteWithBody_Args) UnmarshalEasyJSON ¶
func (v *Bar_DeleteWithBody_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_DeleteWithBody_Args) UnmarshalJSON ¶
func (v *Bar_DeleteWithBody_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_DeleteWithBody_Result ¶
type Bar_DeleteWithBody_Result struct { }
Bar_DeleteWithBody_Result represents the result of a Bar.deleteWithBody function call.
The result of a deleteWithBody execution is sent and received over the wire as this struct.
func (*Bar_DeleteWithBody_Result) Decode ¶
func (v *Bar_DeleteWithBody_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_DeleteWithBody_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_DeleteWithBody_Result struct could not be generated from the wire representation.
func (*Bar_DeleteWithBody_Result) Encode ¶
func (v *Bar_DeleteWithBody_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_DeleteWithBody_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_DeleteWithBody_Result struct could not be encoded.
func (*Bar_DeleteWithBody_Result) EnvelopeType ¶
func (v *Bar_DeleteWithBody_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_DeleteWithBody_Result) Equals ¶
func (v *Bar_DeleteWithBody_Result) Equals(rhs *Bar_DeleteWithBody_Result) bool
Equals returns true if all the fields of this Bar_DeleteWithBody_Result match the provided Bar_DeleteWithBody_Result.
This function performs a deep comparison.
func (*Bar_DeleteWithBody_Result) FromWire ¶
func (v *Bar_DeleteWithBody_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_DeleteWithBody_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_DeleteWithBody_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_DeleteWithBody_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_DeleteWithBody_Result) MarshalEasyJSON ¶
func (v Bar_DeleteWithBody_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_DeleteWithBody_Result) MarshalJSON ¶
func (v Bar_DeleteWithBody_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_DeleteWithBody_Result) MarshalLogObject ¶
func (v *Bar_DeleteWithBody_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithBody_Result.
func (*Bar_DeleteWithBody_Result) MethodName ¶
func (v *Bar_DeleteWithBody_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 "deleteWithBody" for this struct.
func (*Bar_DeleteWithBody_Result) String ¶
func (v *Bar_DeleteWithBody_Result) String() string
String returns a readable string representation of a Bar_DeleteWithBody_Result struct.
func (*Bar_DeleteWithBody_Result) ToWire ¶
func (v *Bar_DeleteWithBody_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_DeleteWithBody_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_DeleteWithBody_Result) UnmarshalEasyJSON ¶
func (v *Bar_DeleteWithBody_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_DeleteWithBody_Result) UnmarshalJSON ¶
func (v *Bar_DeleteWithBody_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_DeleteWithQueryParams_Args ¶
type Bar_DeleteWithQueryParams_Args struct { Filter string `json:"filter,required"` Count *int32 `json:"count,omitempty"` }
Bar_DeleteWithQueryParams_Args represents the arguments for the Bar.deleteWithQueryParams function.
The arguments for deleteWithQueryParams are sent and received over the wire as this struct.
func (*Bar_DeleteWithQueryParams_Args) Decode ¶
func (v *Bar_DeleteWithQueryParams_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_DeleteWithQueryParams_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_DeleteWithQueryParams_Args struct could not be generated from the wire representation.
func (*Bar_DeleteWithQueryParams_Args) Encode ¶
func (v *Bar_DeleteWithQueryParams_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_DeleteWithQueryParams_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_DeleteWithQueryParams_Args struct could not be encoded.
func (*Bar_DeleteWithQueryParams_Args) EnvelopeType ¶
func (v *Bar_DeleteWithQueryParams_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_DeleteWithQueryParams_Args) Equals ¶
func (v *Bar_DeleteWithQueryParams_Args) Equals(rhs *Bar_DeleteWithQueryParams_Args) bool
Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Args match the provided Bar_DeleteWithQueryParams_Args.
This function performs a deep comparison.
func (*Bar_DeleteWithQueryParams_Args) FromWire ¶
func (v *Bar_DeleteWithQueryParams_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_DeleteWithQueryParams_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_DeleteWithQueryParams_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_DeleteWithQueryParams_Args) GetCount ¶
func (v *Bar_DeleteWithQueryParams_Args) GetCount() (o int32)
GetCount returns the value of Count if it is set or its zero value if it is unset.
func (*Bar_DeleteWithQueryParams_Args) GetFilter ¶
func (v *Bar_DeleteWithQueryParams_Args) GetFilter() (o string)
GetFilter returns the value of Filter if it is set or its zero value if it is unset.
func (*Bar_DeleteWithQueryParams_Args) IsSetCount ¶
func (v *Bar_DeleteWithQueryParams_Args) IsSetCount() bool
IsSetCount returns true if Count is not nil.
func (Bar_DeleteWithQueryParams_Args) MarshalEasyJSON ¶
func (v Bar_DeleteWithQueryParams_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_DeleteWithQueryParams_Args) MarshalJSON ¶
func (v Bar_DeleteWithQueryParams_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_DeleteWithQueryParams_Args) MarshalLogObject ¶
func (v *Bar_DeleteWithQueryParams_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Args.
func (*Bar_DeleteWithQueryParams_Args) MethodName ¶
func (v *Bar_DeleteWithQueryParams_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "deleteWithQueryParams" for this struct.
func (*Bar_DeleteWithQueryParams_Args) String ¶
func (v *Bar_DeleteWithQueryParams_Args) String() string
String returns a readable string representation of a Bar_DeleteWithQueryParams_Args struct.
func (*Bar_DeleteWithQueryParams_Args) ToWire ¶
func (v *Bar_DeleteWithQueryParams_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_DeleteWithQueryParams_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON ¶
func (v *Bar_DeleteWithQueryParams_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_DeleteWithQueryParams_Args) UnmarshalJSON ¶
func (v *Bar_DeleteWithQueryParams_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_DeleteWithQueryParams_Result ¶
type Bar_DeleteWithQueryParams_Result struct { }
Bar_DeleteWithQueryParams_Result represents the result of a Bar.deleteWithQueryParams function call.
The result of a deleteWithQueryParams execution is sent and received over the wire as this struct.
func (*Bar_DeleteWithQueryParams_Result) Decode ¶
func (v *Bar_DeleteWithQueryParams_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_DeleteWithQueryParams_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_DeleteWithQueryParams_Result struct could not be generated from the wire representation.
func (*Bar_DeleteWithQueryParams_Result) Encode ¶
func (v *Bar_DeleteWithQueryParams_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_DeleteWithQueryParams_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_DeleteWithQueryParams_Result struct could not be encoded.
func (*Bar_DeleteWithQueryParams_Result) EnvelopeType ¶
func (v *Bar_DeleteWithQueryParams_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_DeleteWithQueryParams_Result) Equals ¶
func (v *Bar_DeleteWithQueryParams_Result) Equals(rhs *Bar_DeleteWithQueryParams_Result) bool
Equals returns true if all the fields of this Bar_DeleteWithQueryParams_Result match the provided Bar_DeleteWithQueryParams_Result.
This function performs a deep comparison.
func (*Bar_DeleteWithQueryParams_Result) FromWire ¶
func (v *Bar_DeleteWithQueryParams_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_DeleteWithQueryParams_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_DeleteWithQueryParams_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_DeleteWithQueryParams_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_DeleteWithQueryParams_Result) MarshalEasyJSON ¶
func (v Bar_DeleteWithQueryParams_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_DeleteWithQueryParams_Result) MarshalJSON ¶
func (v Bar_DeleteWithQueryParams_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_DeleteWithQueryParams_Result) MarshalLogObject ¶
func (v *Bar_DeleteWithQueryParams_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_DeleteWithQueryParams_Result.
func (*Bar_DeleteWithQueryParams_Result) MethodName ¶
func (v *Bar_DeleteWithQueryParams_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "deleteWithQueryParams" for this struct.
func (*Bar_DeleteWithQueryParams_Result) String ¶
func (v *Bar_DeleteWithQueryParams_Result) String() string
String returns a readable string representation of a Bar_DeleteWithQueryParams_Result struct.
func (*Bar_DeleteWithQueryParams_Result) ToWire ¶
func (v *Bar_DeleteWithQueryParams_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_DeleteWithQueryParams_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON ¶
func (v *Bar_DeleteWithQueryParams_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_DeleteWithQueryParams_Result) UnmarshalJSON ¶
func (v *Bar_DeleteWithQueryParams_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_HelloWorld_Args ¶
type Bar_HelloWorld_Args struct { }
Bar_HelloWorld_Args represents the arguments for the Bar.helloWorld function.
The arguments for helloWorld are sent and received over the wire as this struct.
func (*Bar_HelloWorld_Args) Decode ¶
func (v *Bar_HelloWorld_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_HelloWorld_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_HelloWorld_Args struct could not be generated from the wire representation.
func (*Bar_HelloWorld_Args) Encode ¶
func (v *Bar_HelloWorld_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_HelloWorld_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_HelloWorld_Args struct could not be encoded.
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) MarshalLogObject ¶
func (v *Bar_HelloWorld_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Args.
func (*Bar_HelloWorld_Args) MethodName ¶
func (v *Bar_HelloWorld_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "helloWorld" for this struct.
func (*Bar_HelloWorld_Args) String ¶
func (v *Bar_HelloWorld_Args) String() string
String returns a readable string representation of a Bar_HelloWorld_Args struct.
func (*Bar_HelloWorld_Args) ToWire ¶
func (v *Bar_HelloWorld_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_HelloWorld_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_HelloWorld_Args) UnmarshalEasyJSON ¶
func (v *Bar_HelloWorld_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_HelloWorld_Args) UnmarshalJSON ¶
func (v *Bar_HelloWorld_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_HelloWorld_Result ¶
type Bar_HelloWorld_Result struct { // Value returned by helloWorld after a successful execution. Success *string `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` SeeOthersRedirection *SeeOthersRedirection `json:"seeOthersRedirection,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) Decode ¶
func (v *Bar_HelloWorld_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_HelloWorld_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_HelloWorld_Result struct could not be generated from the wire representation.
func (*Bar_HelloWorld_Result) Encode ¶
func (v *Bar_HelloWorld_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_HelloWorld_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_HelloWorld_Result struct could not be encoded.
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) GetBarException ¶
func (v *Bar_HelloWorld_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_HelloWorld_Result) GetSeeOthersRedirection ¶
func (v *Bar_HelloWorld_Result) GetSeeOthersRedirection() (o *SeeOthersRedirection)
GetSeeOthersRedirection returns the value of SeeOthersRedirection if it is set or its zero value if it is unset.
func (*Bar_HelloWorld_Result) GetSuccess ¶
func (v *Bar_HelloWorld_Result) GetSuccess() (o string)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_HelloWorld_Result) IsSetBarException ¶
func (v *Bar_HelloWorld_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_HelloWorld_Result) IsSetSeeOthersRedirection ¶
func (v *Bar_HelloWorld_Result) IsSetSeeOthersRedirection() bool
IsSetSeeOthersRedirection returns true if SeeOthersRedirection is not nil.
func (*Bar_HelloWorld_Result) IsSetSuccess ¶
func (v *Bar_HelloWorld_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_HelloWorld_Result) MarshalEasyJSON ¶
func (v Bar_HelloWorld_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_HelloWorld_Result) MarshalJSON ¶
func (v Bar_HelloWorld_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_HelloWorld_Result) MarshalLogObject ¶
func (v *Bar_HelloWorld_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_HelloWorld_Result.
func (*Bar_HelloWorld_Result) MethodName ¶
func (v *Bar_HelloWorld_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "helloWorld" for this struct.
func (*Bar_HelloWorld_Result) String ¶
func (v *Bar_HelloWorld_Result) String() string
String returns a readable string representation of a Bar_HelloWorld_Result struct.
func (*Bar_HelloWorld_Result) ToWire ¶
func (v *Bar_HelloWorld_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_HelloWorld_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_HelloWorld_Result) UnmarshalEasyJSON ¶
func (v *Bar_HelloWorld_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_HelloWorld_Result) UnmarshalJSON ¶
func (v *Bar_HelloWorld_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ListAndEnum_Args ¶
type Bar_ListAndEnum_Args struct { DemoIds []string `json:"demoIds,required"` DemoType *DemoType `json:"demoType,omitempty"` Demos []DemoType `json:"demos,omitempty"` }
Bar_ListAndEnum_Args represents the arguments for the Bar.listAndEnum function.
The arguments for listAndEnum are sent and received over the wire as this struct.
func (*Bar_ListAndEnum_Args) Decode ¶
func (v *Bar_ListAndEnum_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_ListAndEnum_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ListAndEnum_Args struct could not be generated from the wire representation.
func (*Bar_ListAndEnum_Args) Encode ¶
func (v *Bar_ListAndEnum_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_ListAndEnum_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ListAndEnum_Args struct could not be encoded.
func (*Bar_ListAndEnum_Args) EnvelopeType ¶
func (v *Bar_ListAndEnum_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_ListAndEnum_Args) Equals ¶
func (v *Bar_ListAndEnum_Args) Equals(rhs *Bar_ListAndEnum_Args) bool
Equals returns true if all the fields of this Bar_ListAndEnum_Args match the provided Bar_ListAndEnum_Args.
This function performs a deep comparison.
func (*Bar_ListAndEnum_Args) FromWire ¶
func (v *Bar_ListAndEnum_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_ListAndEnum_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ListAndEnum_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ListAndEnum_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ListAndEnum_Args) GetDemoIds ¶
func (v *Bar_ListAndEnum_Args) GetDemoIds() (o []string)
GetDemoIds returns the value of DemoIds if it is set or its zero value if it is unset.
func (*Bar_ListAndEnum_Args) GetDemoType ¶
func (v *Bar_ListAndEnum_Args) GetDemoType() (o DemoType)
GetDemoType returns the value of DemoType if it is set or its zero value if it is unset.
func (*Bar_ListAndEnum_Args) GetDemos ¶
func (v *Bar_ListAndEnum_Args) GetDemos() (o []DemoType)
GetDemos returns the value of Demos if it is set or its zero value if it is unset.
func (*Bar_ListAndEnum_Args) IsSetDemoIds ¶
func (v *Bar_ListAndEnum_Args) IsSetDemoIds() bool
IsSetDemoIds returns true if DemoIds is not nil.
func (*Bar_ListAndEnum_Args) IsSetDemoType ¶
func (v *Bar_ListAndEnum_Args) IsSetDemoType() bool
IsSetDemoType returns true if DemoType is not nil.
func (*Bar_ListAndEnum_Args) IsSetDemos ¶
func (v *Bar_ListAndEnum_Args) IsSetDemos() bool
IsSetDemos returns true if Demos is not nil.
func (Bar_ListAndEnum_Args) MarshalEasyJSON ¶
func (v Bar_ListAndEnum_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ListAndEnum_Args) MarshalJSON ¶
func (v Bar_ListAndEnum_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ListAndEnum_Args) MarshalLogObject ¶
func (v *Bar_ListAndEnum_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ListAndEnum_Args.
func (*Bar_ListAndEnum_Args) MethodName ¶
func (v *Bar_ListAndEnum_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "listAndEnum" for this struct.
func (*Bar_ListAndEnum_Args) String ¶
func (v *Bar_ListAndEnum_Args) String() string
String returns a readable string representation of a Bar_ListAndEnum_Args struct.
func (*Bar_ListAndEnum_Args) ToWire ¶
func (v *Bar_ListAndEnum_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_ListAndEnum_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ListAndEnum_Args) UnmarshalEasyJSON ¶
func (v *Bar_ListAndEnum_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ListAndEnum_Args) UnmarshalJSON ¶
func (v *Bar_ListAndEnum_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_ListAndEnum_Result ¶
type Bar_ListAndEnum_Result struct { // Value returned by listAndEnum after a successful execution. Success *string `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_ListAndEnum_Result represents the result of a Bar.listAndEnum function call.
The result of a listAndEnum execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_ListAndEnum_Result) Decode ¶
func (v *Bar_ListAndEnum_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_ListAndEnum_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_ListAndEnum_Result struct could not be generated from the wire representation.
func (*Bar_ListAndEnum_Result) Encode ¶
func (v *Bar_ListAndEnum_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_ListAndEnum_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_ListAndEnum_Result struct could not be encoded.
func (*Bar_ListAndEnum_Result) EnvelopeType ¶
func (v *Bar_ListAndEnum_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_ListAndEnum_Result) Equals ¶
func (v *Bar_ListAndEnum_Result) Equals(rhs *Bar_ListAndEnum_Result) bool
Equals returns true if all the fields of this Bar_ListAndEnum_Result match the provided Bar_ListAndEnum_Result.
This function performs a deep comparison.
func (*Bar_ListAndEnum_Result) FromWire ¶
func (v *Bar_ListAndEnum_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_ListAndEnum_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_ListAndEnum_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_ListAndEnum_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_ListAndEnum_Result) GetBarException ¶
func (v *Bar_ListAndEnum_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_ListAndEnum_Result) GetSuccess ¶
func (v *Bar_ListAndEnum_Result) GetSuccess() (o string)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_ListAndEnum_Result) IsSetBarException ¶
func (v *Bar_ListAndEnum_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_ListAndEnum_Result) IsSetSuccess ¶
func (v *Bar_ListAndEnum_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_ListAndEnum_Result) MarshalEasyJSON ¶
func (v Bar_ListAndEnum_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_ListAndEnum_Result) MarshalJSON ¶
func (v Bar_ListAndEnum_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_ListAndEnum_Result) MarshalLogObject ¶
func (v *Bar_ListAndEnum_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_ListAndEnum_Result.
func (*Bar_ListAndEnum_Result) MethodName ¶
func (v *Bar_ListAndEnum_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "listAndEnum" for this struct.
func (*Bar_ListAndEnum_Result) String ¶
func (v *Bar_ListAndEnum_Result) String() string
String returns a readable string representation of a Bar_ListAndEnum_Result struct.
func (*Bar_ListAndEnum_Result) ToWire ¶
func (v *Bar_ListAndEnum_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_ListAndEnum_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_ListAndEnum_Result) UnmarshalEasyJSON ¶
func (v *Bar_ListAndEnum_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_ListAndEnum_Result) UnmarshalJSON ¶
func (v *Bar_ListAndEnum_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_MissingArg_Args ¶
type Bar_MissingArg_Args struct { }
Bar_MissingArg_Args represents the arguments for the Bar.missingArg function.
The arguments for missingArg are sent and received over the wire as this struct.
func (*Bar_MissingArg_Args) Decode ¶
func (v *Bar_MissingArg_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_MissingArg_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_MissingArg_Args struct could not be generated from the wire representation.
func (*Bar_MissingArg_Args) Encode ¶
func (v *Bar_MissingArg_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_MissingArg_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_MissingArg_Args struct could not be encoded.
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) MarshalLogObject ¶
func (v *Bar_MissingArg_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_MissingArg_Args.
func (*Bar_MissingArg_Args) MethodName ¶
func (v *Bar_MissingArg_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "missingArg" for this struct.
func (*Bar_MissingArg_Args) String ¶
func (v *Bar_MissingArg_Args) String() string
String returns a readable string representation of a Bar_MissingArg_Args struct.
func (*Bar_MissingArg_Args) ToWire ¶
func (v *Bar_MissingArg_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_MissingArg_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_MissingArg_Args) UnmarshalEasyJSON ¶
func (v *Bar_MissingArg_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_MissingArg_Args) UnmarshalJSON ¶
func (v *Bar_MissingArg_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_MissingArg_Result ¶
type Bar_MissingArg_Result struct { // Value returned by missingArg after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_MissingArg_Result represents the result of a Bar.missingArg function call.
The result of a missingArg execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_MissingArg_Result) Decode ¶
func (v *Bar_MissingArg_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_MissingArg_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_MissingArg_Result struct could not be generated from the wire representation.
func (*Bar_MissingArg_Result) Encode ¶
func (v *Bar_MissingArg_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_MissingArg_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_MissingArg_Result struct could not be encoded.
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) GetBarException ¶
func (v *Bar_MissingArg_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_MissingArg_Result) GetSuccess ¶
func (v *Bar_MissingArg_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_MissingArg_Result) IsSetBarException ¶
func (v *Bar_MissingArg_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_MissingArg_Result) IsSetSuccess ¶
func (v *Bar_MissingArg_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_MissingArg_Result) MarshalEasyJSON ¶
func (v Bar_MissingArg_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_MissingArg_Result) MarshalJSON ¶
func (v Bar_MissingArg_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_MissingArg_Result) MarshalLogObject ¶
func (v *Bar_MissingArg_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_MissingArg_Result.
func (*Bar_MissingArg_Result) MethodName ¶
func (v *Bar_MissingArg_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "missingArg" for this struct.
func (*Bar_MissingArg_Result) String ¶
func (v *Bar_MissingArg_Result) String() string
String returns a readable string representation of a Bar_MissingArg_Result struct.
func (*Bar_MissingArg_Result) ToWire ¶
func (v *Bar_MissingArg_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_MissingArg_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_MissingArg_Result) UnmarshalEasyJSON ¶
func (v *Bar_MissingArg_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_MissingArg_Result) UnmarshalJSON ¶
func (v *Bar_MissingArg_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NoRequest_Args ¶
type Bar_NoRequest_Args struct { }
Bar_NoRequest_Args represents the arguments for the Bar.noRequest function.
The arguments for noRequest are sent and received over the wire as this struct.
func (*Bar_NoRequest_Args) Decode ¶
func (v *Bar_NoRequest_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_NoRequest_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_NoRequest_Args struct could not be generated from the wire representation.
func (*Bar_NoRequest_Args) Encode ¶
func (v *Bar_NoRequest_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_NoRequest_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_NoRequest_Args struct could not be encoded.
func (*Bar_NoRequest_Args) EnvelopeType ¶
func (v *Bar_NoRequest_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_NoRequest_Args) Equals ¶
func (v *Bar_NoRequest_Args) Equals(rhs *Bar_NoRequest_Args) bool
Equals returns true if all the fields of this Bar_NoRequest_Args match the provided Bar_NoRequest_Args.
This function performs a deep comparison.
func (*Bar_NoRequest_Args) FromWire ¶
func (v *Bar_NoRequest_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_NoRequest_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_NoRequest_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_NoRequest_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (Bar_NoRequest_Args) MarshalEasyJSON ¶
func (v Bar_NoRequest_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NoRequest_Args) MarshalJSON ¶
func (v Bar_NoRequest_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NoRequest_Args) MarshalLogObject ¶
func (v *Bar_NoRequest_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NoRequest_Args.
func (*Bar_NoRequest_Args) MethodName ¶
func (v *Bar_NoRequest_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "noRequest" for this struct.
func (*Bar_NoRequest_Args) String ¶
func (v *Bar_NoRequest_Args) String() string
String returns a readable string representation of a Bar_NoRequest_Args struct.
func (*Bar_NoRequest_Args) ToWire ¶
func (v *Bar_NoRequest_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_NoRequest_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NoRequest_Args) UnmarshalEasyJSON ¶
func (v *Bar_NoRequest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NoRequest_Args) UnmarshalJSON ¶
func (v *Bar_NoRequest_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_NoRequest_Result ¶
type Bar_NoRequest_Result struct { // Value returned by noRequest after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_NoRequest_Result represents the result of a Bar.noRequest function call.
The result of a noRequest execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_NoRequest_Result) Decode ¶
func (v *Bar_NoRequest_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_NoRequest_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_NoRequest_Result struct could not be generated from the wire representation.
func (*Bar_NoRequest_Result) Encode ¶
func (v *Bar_NoRequest_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_NoRequest_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_NoRequest_Result struct could not be encoded.
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) GetBarException ¶
func (v *Bar_NoRequest_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_NoRequest_Result) GetSuccess ¶
func (v *Bar_NoRequest_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_NoRequest_Result) IsSetBarException ¶
func (v *Bar_NoRequest_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_NoRequest_Result) IsSetSuccess ¶
func (v *Bar_NoRequest_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_NoRequest_Result) MarshalEasyJSON ¶
func (v Bar_NoRequest_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_NoRequest_Result) MarshalJSON ¶
func (v Bar_NoRequest_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_NoRequest_Result) MarshalLogObject ¶
func (v *Bar_NoRequest_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_NoRequest_Result.
func (*Bar_NoRequest_Result) MethodName ¶
func (v *Bar_NoRequest_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "noRequest" for this struct.
func (*Bar_NoRequest_Result) String ¶
func (v *Bar_NoRequest_Result) String() string
String returns a readable string representation of a Bar_NoRequest_Result struct.
func (*Bar_NoRequest_Result) ToWire ¶
func (v *Bar_NoRequest_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_NoRequest_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_NoRequest_Result) UnmarshalEasyJSON ¶
func (v *Bar_NoRequest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_NoRequest_Result) UnmarshalJSON ¶
func (v *Bar_NoRequest_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_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) Decode ¶
func (v *Bar_Normal_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_Normal_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_Normal_Args struct could not be generated from the wire representation.
func (*Bar_Normal_Args) Encode ¶
func (v *Bar_Normal_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_Normal_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_Normal_Args struct could not be encoded.
func (*Bar_Normal_Args) EnvelopeType ¶
func (v *Bar_Normal_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*Bar_Normal_Args) Equals ¶
func (v *Bar_Normal_Args) Equals(rhs *Bar_Normal_Args) bool
Equals returns true if all the fields of this Bar_Normal_Args match the provided Bar_Normal_Args.
This function performs a deep comparison.
func (*Bar_Normal_Args) FromWire ¶
func (v *Bar_Normal_Args) FromWire(w wire.Value) error
FromWire deserializes a Bar_Normal_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_Normal_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_Normal_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_Normal_Args) GetRequest ¶
func (v *Bar_Normal_Args) GetRequest() (o *BarRequest)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (*Bar_Normal_Args) IsSetRequest ¶
func (v *Bar_Normal_Args) IsSetRequest() bool
IsSetRequest returns true if Request is not nil.
func (Bar_Normal_Args) MarshalEasyJSON ¶
func (v Bar_Normal_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_Normal_Args) MarshalJSON ¶
func (v Bar_Normal_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_Normal_Args) MarshalLogObject ¶
func (v *Bar_Normal_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_Normal_Args.
func (*Bar_Normal_Args) MethodName ¶
func (v *Bar_Normal_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "normal" for this struct.
func (*Bar_Normal_Args) String ¶
func (v *Bar_Normal_Args) String() string
String returns a readable string representation of a Bar_Normal_Args struct.
func (*Bar_Normal_Args) ToWire ¶
func (v *Bar_Normal_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_Normal_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_Normal_Args) UnmarshalEasyJSON ¶
func (v *Bar_Normal_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_Normal_Args) UnmarshalJSON ¶
func (v *Bar_Normal_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_Normal_Result ¶
type Bar_Normal_Result struct { // Value returned by normal after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` }
Bar_Normal_Result represents the result of a Bar.normal function call.
The result of a normal execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_Normal_Result) Decode ¶
func (v *Bar_Normal_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_Normal_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_Normal_Result struct could not be generated from the wire representation.
func (*Bar_Normal_Result) Encode ¶
func (v *Bar_Normal_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_Normal_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_Normal_Result struct could not be encoded.
func (*Bar_Normal_Result) EnvelopeType ¶
func (v *Bar_Normal_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*Bar_Normal_Result) Equals ¶
func (v *Bar_Normal_Result) Equals(rhs *Bar_Normal_Result) bool
Equals returns true if all the fields of this Bar_Normal_Result match the provided Bar_Normal_Result.
This function performs a deep comparison.
func (*Bar_Normal_Result) FromWire ¶
func (v *Bar_Normal_Result) FromWire(w wire.Value) error
FromWire deserializes a Bar_Normal_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Bar_Normal_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Bar_Normal_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Bar_Normal_Result) GetBarException ¶
func (v *Bar_Normal_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_Normal_Result) GetSuccess ¶
func (v *Bar_Normal_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_Normal_Result) IsSetBarException ¶
func (v *Bar_Normal_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_Normal_Result) IsSetSuccess ¶
func (v *Bar_Normal_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_Normal_Result) MarshalEasyJSON ¶
func (v Bar_Normal_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_Normal_Result) MarshalJSON ¶
func (v Bar_Normal_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_Normal_Result) MarshalLogObject ¶
func (v *Bar_Normal_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_Normal_Result.
func (*Bar_Normal_Result) MethodName ¶
func (v *Bar_Normal_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "normal" for this struct.
func (*Bar_Normal_Result) String ¶
func (v *Bar_Normal_Result) String() string
String returns a readable string representation of a Bar_Normal_Result struct.
func (*Bar_Normal_Result) ToWire ¶
func (v *Bar_Normal_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_Normal_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_Normal_Result) UnmarshalEasyJSON ¶
func (v *Bar_Normal_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_Normal_Result) UnmarshalJSON ¶
func (v *Bar_Normal_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_TooManyArgs_Args ¶
type Bar_TooManyArgs_Args struct { Request *BarRequest `json:"request,required"` Foo *foo.FooStruct `json:"foo,omitempty"` }
Bar_TooManyArgs_Args represents the arguments for the Bar.tooManyArgs function.
The arguments for tooManyArgs are sent and received over the wire as this struct.
func (*Bar_TooManyArgs_Args) Decode ¶
func (v *Bar_TooManyArgs_Args) Decode(sr stream.Reader) error
Decode deserializes a Bar_TooManyArgs_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_TooManyArgs_Args struct could not be generated from the wire representation.
func (*Bar_TooManyArgs_Args) Encode ¶
func (v *Bar_TooManyArgs_Args) Encode(sw stream.Writer) error
Encode serializes a Bar_TooManyArgs_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_TooManyArgs_Args struct could not be encoded.
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) GetFoo ¶
func (v *Bar_TooManyArgs_Args) GetFoo() (o *foo.FooStruct)
GetFoo returns the value of Foo if it is set or its zero value if it is unset.
func (*Bar_TooManyArgs_Args) GetRequest ¶
func (v *Bar_TooManyArgs_Args) GetRequest() (o *BarRequest)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (*Bar_TooManyArgs_Args) IsSetFoo ¶
func (v *Bar_TooManyArgs_Args) IsSetFoo() bool
IsSetFoo returns true if Foo is not nil.
func (*Bar_TooManyArgs_Args) IsSetRequest ¶
func (v *Bar_TooManyArgs_Args) IsSetRequest() bool
IsSetRequest returns true if Request is not nil.
func (Bar_TooManyArgs_Args) MarshalEasyJSON ¶
func (v Bar_TooManyArgs_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_TooManyArgs_Args) MarshalJSON ¶
func (v Bar_TooManyArgs_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_TooManyArgs_Args) MarshalLogObject ¶
func (v *Bar_TooManyArgs_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_TooManyArgs_Args.
func (*Bar_TooManyArgs_Args) MethodName ¶
func (v *Bar_TooManyArgs_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "tooManyArgs" for this struct.
func (*Bar_TooManyArgs_Args) String ¶
func (v *Bar_TooManyArgs_Args) String() string
String returns a readable string representation of a Bar_TooManyArgs_Args struct.
func (*Bar_TooManyArgs_Args) ToWire ¶
func (v *Bar_TooManyArgs_Args) ToWire() (wire.Value, error)
ToWire translates a Bar_TooManyArgs_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_TooManyArgs_Args) UnmarshalEasyJSON ¶
func (v *Bar_TooManyArgs_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_TooManyArgs_Args) UnmarshalJSON ¶
func (v *Bar_TooManyArgs_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Bar_TooManyArgs_Result ¶
type Bar_TooManyArgs_Result struct { // Value returned by tooManyArgs after a successful execution. Success *BarResponse `json:"success,omitempty"` BarException *BarException `json:"barException,omitempty"` FooException *foo.FooException `json:"fooException,omitempty"` }
Bar_TooManyArgs_Result represents the result of a Bar.tooManyArgs function call.
The result of a tooManyArgs execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*Bar_TooManyArgs_Result) Decode ¶
func (v *Bar_TooManyArgs_Result) Decode(sr stream.Reader) error
Decode deserializes a Bar_TooManyArgs_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Bar_TooManyArgs_Result struct could not be generated from the wire representation.
func (*Bar_TooManyArgs_Result) Encode ¶
func (v *Bar_TooManyArgs_Result) Encode(sw stream.Writer) error
Encode serializes a Bar_TooManyArgs_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a Bar_TooManyArgs_Result struct could not be encoded.
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) GetBarException ¶
func (v *Bar_TooManyArgs_Result) GetBarException() (o *BarException)
GetBarException returns the value of BarException if it is set or its zero value if it is unset.
func (*Bar_TooManyArgs_Result) GetFooException ¶
func (v *Bar_TooManyArgs_Result) GetFooException() (o *foo.FooException)
GetFooException returns the value of FooException if it is set or its zero value if it is unset.
func (*Bar_TooManyArgs_Result) GetSuccess ¶
func (v *Bar_TooManyArgs_Result) GetSuccess() (o *BarResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*Bar_TooManyArgs_Result) IsSetBarException ¶
func (v *Bar_TooManyArgs_Result) IsSetBarException() bool
IsSetBarException returns true if BarException is not nil.
func (*Bar_TooManyArgs_Result) IsSetFooException ¶
func (v *Bar_TooManyArgs_Result) IsSetFooException() bool
IsSetFooException returns true if FooException is not nil.
func (*Bar_TooManyArgs_Result) IsSetSuccess ¶
func (v *Bar_TooManyArgs_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (Bar_TooManyArgs_Result) MarshalEasyJSON ¶
func (v Bar_TooManyArgs_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (Bar_TooManyArgs_Result) MarshalJSON ¶
func (v Bar_TooManyArgs_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*Bar_TooManyArgs_Result) MarshalLogObject ¶
func (v *Bar_TooManyArgs_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Bar_TooManyArgs_Result.
func (*Bar_TooManyArgs_Result) MethodName ¶
func (v *Bar_TooManyArgs_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "tooManyArgs" for this struct.
func (*Bar_TooManyArgs_Result) String ¶
func (v *Bar_TooManyArgs_Result) String() string
String returns a readable string representation of a Bar_TooManyArgs_Result struct.
func (*Bar_TooManyArgs_Result) ToWire ¶
func (v *Bar_TooManyArgs_Result) ToWire() (wire.Value, error)
ToWire translates a Bar_TooManyArgs_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Bar_TooManyArgs_Result) UnmarshalEasyJSON ¶
func (v *Bar_TooManyArgs_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Bar_TooManyArgs_Result) UnmarshalJSON ¶
func (v *Bar_TooManyArgs_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type DemoType ¶
type DemoType int32
func DemoType_Values ¶
func DemoType_Values() []DemoType
DemoType_Values returns all recognized values of DemoType.
func (*DemoType) Decode ¶
Decode reads off the encoded DemoType directly off of the wire.
sReader := BinaryStreamer.Reader(reader) var v DemoType if err := v.Decode(sReader); err != nil { return DemoType(0), err } return v, nil
func (DemoType) Encode ¶
Encode encodes DemoType directly to bytes.
sWriter := BinaryStreamer.Writer(writer) var v DemoType return v.Encode(sWriter)
func (*DemoType) FromWire ¶
FromWire deserializes DemoType from its Thrift-level representation.
x, err := binaryProtocol.Decode(reader, wire.TI32) if err != nil { return DemoType(0), err } var v DemoType if err := v.FromWire(x); err != nil { return DemoType(0), err } return v, nil
func (DemoType) MarshalJSON ¶
MarshalJSON serializes DemoType into JSON.
If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.
This implements json.Marshaler.
func (DemoType) MarshalLogObject ¶
func (v DemoType) MarshalLogObject(enc zapcore.ObjectEncoder) error
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of DemoType. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".
func (DemoType) MarshalText ¶
MarshalText encodes DemoType to text.
If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.
This implements the TextMarshaler interface.
func (DemoType) ToWire ¶
ToWire translates DemoType into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
Enums are represented as 32-bit integers over the wire.
func (*DemoType) UnmarshalJSON ¶
UnmarshalJSON attempts to decode DemoType from its JSON representation.
This implementation supports both, numeric and string inputs. If a string is provided, it must be a known enum name.
This implements json.Unmarshaler.
func (*DemoType) UnmarshalText ¶
UnmarshalText tries to decode DemoType from a byte slice containing its name.
var v DemoType err := v.UnmarshalText([]byte("FIRST"))
type Fruit ¶
type Fruit int32
func Fruit_Values ¶
func Fruit_Values() []Fruit
Fruit_Values returns all recognized values of Fruit.
func (*Fruit) Decode ¶
Decode reads off the encoded Fruit directly off of the wire.
sReader := BinaryStreamer.Reader(reader) var v Fruit if err := v.Decode(sReader); err != nil { return Fruit(0), err } return v, nil
func (Fruit) Encode ¶
Encode encodes Fruit directly to bytes.
sWriter := BinaryStreamer.Writer(writer) var v Fruit return v.Encode(sWriter)
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) MarshalLogObject ¶
func (v Fruit) MarshalLogObject(enc zapcore.ObjectEncoder) error
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Fruit. Enums are logged as objects, where the value is logged with key "value", and if this value's name is known, the name is logged with key "name".
func (Fruit) MarshalText ¶
MarshalText encodes Fruit to text.
If the enum value is recognized, its name is returned. Otherwise, its integer value is returned.
This implements the TextMarshaler interface.
func (Fruit) 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) Decode ¶
func (v *ParamsStruct) Decode(sr stream.Reader) error
Decode deserializes a ParamsStruct struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a ParamsStruct struct could not be generated from the wire representation.
func (*ParamsStruct) Encode ¶
func (v *ParamsStruct) Encode(sw stream.Writer) error
Encode serializes a ParamsStruct struct directly into bytes, without going through an intermediary type.
An error is returned if a ParamsStruct struct could not be encoded.
func (*ParamsStruct) Equals ¶
func (v *ParamsStruct) Equals(rhs *ParamsStruct) bool
Equals returns true if all the fields of this ParamsStruct match the provided ParamsStruct.
This function performs a deep comparison.
func (*ParamsStruct) FromWire ¶
func (v *ParamsStruct) FromWire(w wire.Value) error
FromWire deserializes a ParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a ParamsStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v ParamsStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*ParamsStruct) GetUserUUID ¶
func (v *ParamsStruct) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (ParamsStruct) MarshalEasyJSON ¶
func (v ParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ParamsStruct) MarshalJSON ¶
func (v ParamsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ParamsStruct) MarshalLogObject ¶
func (v *ParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ParamsStruct.
func (*ParamsStruct) String ¶
func (v *ParamsStruct) String() string
String returns a readable string representation of a ParamsStruct struct.
func (*ParamsStruct) ToWire ¶
func (v *ParamsStruct) ToWire() (wire.Value, error)
ToWire translates a ParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*ParamsStruct) UnmarshalEasyJSON ¶
func (v *ParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ParamsStruct) UnmarshalJSON ¶
func (v *ParamsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type QueryParamsOptsStruct ¶
type QueryParamsOptsStruct struct { Name string `json:"name,required"` UserUUID *string `json:"userUUID,omitempty"` AuthUUID *string `json:"authUUID,omitempty"` AuthUUID2 *string `json:"authUUID2,omitempty"` }
func (*QueryParamsOptsStruct) Decode ¶
func (v *QueryParamsOptsStruct) Decode(sr stream.Reader) error
Decode deserializes a QueryParamsOptsStruct struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a QueryParamsOptsStruct struct could not be generated from the wire representation.
func (*QueryParamsOptsStruct) Encode ¶
func (v *QueryParamsOptsStruct) Encode(sw stream.Writer) error
Encode serializes a QueryParamsOptsStruct struct directly into bytes, without going through an intermediary type.
An error is returned if a QueryParamsOptsStruct struct could not be encoded.
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) GetName ¶
func (v *QueryParamsOptsStruct) GetName() (o string)
GetName returns the value of Name if it is set or its zero value if it is unset.
func (*QueryParamsOptsStruct) GetUserUUID ¶
func (v *QueryParamsOptsStruct) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (*QueryParamsOptsStruct) IsSetAuthUUID ¶
func (v *QueryParamsOptsStruct) IsSetAuthUUID() bool
IsSetAuthUUID returns true if AuthUUID is not nil.
func (*QueryParamsOptsStruct) IsSetAuthUUID2 ¶
func (v *QueryParamsOptsStruct) IsSetAuthUUID2() bool
IsSetAuthUUID2 returns true if AuthUUID2 is not nil.
func (*QueryParamsOptsStruct) IsSetUserUUID ¶
func (v *QueryParamsOptsStruct) IsSetUserUUID() bool
IsSetUserUUID returns true if UserUUID is not nil.
func (QueryParamsOptsStruct) MarshalEasyJSON ¶
func (v QueryParamsOptsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (QueryParamsOptsStruct) MarshalJSON ¶
func (v QueryParamsOptsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*QueryParamsOptsStruct) MarshalLogObject ¶
func (v *QueryParamsOptsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryParamsOptsStruct.
func (*QueryParamsOptsStruct) String ¶
func (v *QueryParamsOptsStruct) String() string
String returns a readable string representation of a QueryParamsOptsStruct struct.
func (*QueryParamsOptsStruct) ToWire ¶
func (v *QueryParamsOptsStruct) ToWire() (wire.Value, error)
ToWire translates a QueryParamsOptsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*QueryParamsOptsStruct) UnmarshalEasyJSON ¶
func (v *QueryParamsOptsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*QueryParamsOptsStruct) UnmarshalJSON ¶
func (v *QueryParamsOptsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type QueryParamsStruct ¶
type QueryParamsStruct struct { Name string `json:"name,required"` UserUUID *string `json:"userUUID,omitempty"` AuthUUID *string `json:"authUUID,omitempty"` AuthUUID2 *string `json:"authUUID2,omitempty"` Foo []string `json:"foo,required"` }
func (*QueryParamsStruct) Decode ¶
func (v *QueryParamsStruct) Decode(sr stream.Reader) error
Decode deserializes a QueryParamsStruct struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a QueryParamsStruct struct could not be generated from the wire representation.
func (*QueryParamsStruct) Encode ¶
func (v *QueryParamsStruct) Encode(sw stream.Writer) error
Encode serializes a QueryParamsStruct struct directly into bytes, without going through an intermediary type.
An error is returned if a QueryParamsStruct struct could not be encoded.
func (*QueryParamsStruct) Equals ¶
func (v *QueryParamsStruct) Equals(rhs *QueryParamsStruct) bool
Equals returns true if all the fields of this QueryParamsStruct match the provided QueryParamsStruct.
This function performs a deep comparison.
func (*QueryParamsStruct) FromWire ¶
func (v *QueryParamsStruct) FromWire(w wire.Value) error
FromWire deserializes a QueryParamsStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a QueryParamsStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v QueryParamsStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*QueryParamsStruct) GetAuthUUID ¶
func (v *QueryParamsStruct) GetAuthUUID() (o string)
GetAuthUUID returns the value of AuthUUID if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetAuthUUID2 ¶
func (v *QueryParamsStruct) GetAuthUUID2() (o string)
GetAuthUUID2 returns the value of AuthUUID2 if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetFoo ¶
func (v *QueryParamsStruct) GetFoo() (o []string)
GetFoo returns the value of Foo if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetName ¶
func (v *QueryParamsStruct) GetName() (o string)
GetName returns the value of Name if it is set or its zero value if it is unset.
func (*QueryParamsStruct) GetUserUUID ¶
func (v *QueryParamsStruct) GetUserUUID() (o string)
GetUserUUID returns the value of UserUUID if it is set or its zero value if it is unset.
func (*QueryParamsStruct) IsSetAuthUUID ¶
func (v *QueryParamsStruct) IsSetAuthUUID() bool
IsSetAuthUUID returns true if AuthUUID is not nil.
func (*QueryParamsStruct) IsSetAuthUUID2 ¶
func (v *QueryParamsStruct) IsSetAuthUUID2() bool
IsSetAuthUUID2 returns true if AuthUUID2 is not nil.
func (*QueryParamsStruct) IsSetFoo ¶
func (v *QueryParamsStruct) IsSetFoo() bool
IsSetFoo returns true if Foo is not nil.
func (*QueryParamsStruct) IsSetUserUUID ¶
func (v *QueryParamsStruct) IsSetUserUUID() bool
IsSetUserUUID returns true if UserUUID is not nil.
func (QueryParamsStruct) MarshalEasyJSON ¶
func (v QueryParamsStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (QueryParamsStruct) MarshalJSON ¶
func (v QueryParamsStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*QueryParamsStruct) MarshalLogObject ¶
func (v *QueryParamsStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of QueryParamsStruct.
func (*QueryParamsStruct) String ¶
func (v *QueryParamsStruct) String() string
String returns a readable string representation of a QueryParamsStruct struct.
func (*QueryParamsStruct) ToWire ¶
func (v *QueryParamsStruct) ToWire() (wire.Value, error)
ToWire translates a QueryParamsStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*QueryParamsStruct) UnmarshalEasyJSON ¶
func (v *QueryParamsStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*QueryParamsStruct) UnmarshalJSON ¶
func (v *QueryParamsStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type RequestWithDuplicateType ¶
type RequestWithDuplicateType struct { Request1 *BarRequest `json:"request1,omitempty"` Request2 *BarRequest `json:"request2,omitempty"` }
func (*RequestWithDuplicateType) Decode ¶
func (v *RequestWithDuplicateType) Decode(sr stream.Reader) error
Decode deserializes a RequestWithDuplicateType struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a RequestWithDuplicateType struct could not be generated from the wire representation.
func (*RequestWithDuplicateType) Encode ¶
func (v *RequestWithDuplicateType) Encode(sw stream.Writer) error
Encode serializes a RequestWithDuplicateType struct directly into bytes, without going through an intermediary type.
An error is returned if a RequestWithDuplicateType struct could not be encoded.
func (*RequestWithDuplicateType) Equals ¶
func (v *RequestWithDuplicateType) Equals(rhs *RequestWithDuplicateType) bool
Equals returns true if all the fields of this RequestWithDuplicateType match the provided RequestWithDuplicateType.
This function performs a deep comparison.
func (*RequestWithDuplicateType) FromWire ¶
func (v *RequestWithDuplicateType) FromWire(w wire.Value) error
FromWire deserializes a RequestWithDuplicateType struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a RequestWithDuplicateType struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v RequestWithDuplicateType if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*RequestWithDuplicateType) GetRequest1 ¶
func (v *RequestWithDuplicateType) GetRequest1() (o *BarRequest)
GetRequest1 returns the value of Request1 if it is set or its zero value if it is unset.
func (*RequestWithDuplicateType) GetRequest2 ¶
func (v *RequestWithDuplicateType) GetRequest2() (o *BarRequest)
GetRequest2 returns the value of Request2 if it is set or its zero value if it is unset.
func (*RequestWithDuplicateType) IsSetRequest1 ¶
func (v *RequestWithDuplicateType) IsSetRequest1() bool
IsSetRequest1 returns true if Request1 is not nil.
func (*RequestWithDuplicateType) IsSetRequest2 ¶
func (v *RequestWithDuplicateType) IsSetRequest2() bool
IsSetRequest2 returns true if Request2 is not nil.
func (RequestWithDuplicateType) MarshalEasyJSON ¶
func (v RequestWithDuplicateType) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (RequestWithDuplicateType) MarshalJSON ¶
func (v RequestWithDuplicateType) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*RequestWithDuplicateType) MarshalLogObject ¶
func (v *RequestWithDuplicateType) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of RequestWithDuplicateType.
func (*RequestWithDuplicateType) String ¶
func (v *RequestWithDuplicateType) String() string
String returns a readable string representation of a RequestWithDuplicateType struct.
func (*RequestWithDuplicateType) ToWire ¶
func (v *RequestWithDuplicateType) ToWire() (wire.Value, error)
ToWire translates a RequestWithDuplicateType struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*RequestWithDuplicateType) UnmarshalEasyJSON ¶
func (v *RequestWithDuplicateType) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*RequestWithDuplicateType) UnmarshalJSON ¶
func (v *RequestWithDuplicateType) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SeeOthersRedirection ¶
type SeeOthersRedirection struct { }
func (*SeeOthersRedirection) Decode ¶
func (v *SeeOthersRedirection) Decode(sr stream.Reader) error
Decode deserializes a SeeOthersRedirection struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SeeOthersRedirection struct could not be generated from the wire representation.
func (*SeeOthersRedirection) Encode ¶
func (v *SeeOthersRedirection) Encode(sw stream.Writer) error
Encode serializes a SeeOthersRedirection struct directly into bytes, without going through an intermediary type.
An error is returned if a SeeOthersRedirection struct could not be encoded.
func (*SeeOthersRedirection) Equals ¶
func (v *SeeOthersRedirection) Equals(rhs *SeeOthersRedirection) bool
Equals returns true if all the fields of this SeeOthersRedirection match the provided SeeOthersRedirection.
This function performs a deep comparison.
func (*SeeOthersRedirection) Error ¶
func (v *SeeOthersRedirection) Error() string
func (*SeeOthersRedirection) ErrorName ¶
func (*SeeOthersRedirection) ErrorName() string
ErrorName is the name of this type as defined in the Thrift file.
func (*SeeOthersRedirection) FromWire ¶
func (v *SeeOthersRedirection) FromWire(w wire.Value) error
FromWire deserializes a SeeOthersRedirection 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 SeeOthersRedirection struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SeeOthersRedirection if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SeeOthersRedirection) MarshalEasyJSON ¶
func (v SeeOthersRedirection) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SeeOthersRedirection) MarshalJSON ¶
func (v SeeOthersRedirection) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SeeOthersRedirection) MarshalLogObject ¶
func (v *SeeOthersRedirection) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SeeOthersRedirection.
func (*SeeOthersRedirection) String ¶
func (v *SeeOthersRedirection) String() string
String returns a readable string representation of a SeeOthersRedirection struct.
func (*SeeOthersRedirection) ToWire ¶
func (v *SeeOthersRedirection) ToWire() (wire.Value, error)
ToWire translates a SeeOthersRedirection 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 (*SeeOthersRedirection) UnmarshalEasyJSON ¶
func (v *SeeOthersRedirection) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SeeOthersRedirection) UnmarshalJSON ¶
func (v *SeeOthersRedirection) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type StringList ¶
type StringList []string
func (*StringList) Decode ¶
func (v *StringList) Decode(sr stream.Reader) error
Decode deserializes StringList directly off the wire.
func (StringList) Equals ¶
func (lhs StringList) Equals(rhs StringList) bool
Equals returns true if this StringList is equal to the provided StringList.
func (*StringList) FromWire ¶
func (v *StringList) FromWire(w wire.Value) error
FromWire deserializes StringList from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
func (StringList) MarshalLogArray ¶
func (v StringList) MarshalLogArray(enc zapcore.ArrayEncoder) error
func (StringList) String ¶
func (v StringList) String() string
String returns a readable string representation of StringList.
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.
func (UUIDList) MarshalLogArray ¶
func (v UUIDList) MarshalLogArray(enc zapcore.ArrayEncoder) error