Documentation ¶
Index ¶
- Variables
- type AuthErr
- func (v *AuthErr) Decode(sr stream.Reader) error
- func (v *AuthErr) Encode(sw stream.Writer) error
- func (v *AuthErr) Equals(rhs *AuthErr) bool
- func (v *AuthErr) Error() string
- func (*AuthErr) ErrorName() string
- func (v *AuthErr) FromWire(w wire.Value) error
- func (v *AuthErr) GetMessage() (o string)
- func (v AuthErr) MarshalEasyJSON(w *jwriter.Writer)
- func (v AuthErr) MarshalJSON() ([]byte, error)
- func (v *AuthErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *AuthErr) String() string
- func (v *AuthErr) ToWire() (wire.Value, error)
- func (v *AuthErr) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *AuthErr) UnmarshalJSON(data []byte) error
- type BazRequest
- func (v *BazRequest) Decode(sr stream.Reader) error
- func (v *BazRequest) Encode(sw stream.Writer) error
- func (v *BazRequest) Equals(rhs *BazRequest) bool
- func (v *BazRequest) FromWire(w wire.Value) error
- func (v *BazRequest) GetB1() (o bool)
- func (v *BazRequest) GetI3() (o int32)
- func (v *BazRequest) GetS2() (o string)
- func (v BazRequest) MarshalEasyJSON(w *jwriter.Writer)
- func (v BazRequest) MarshalJSON() ([]byte, error)
- func (v *BazRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *BazRequest) String() string
- func (v *BazRequest) ToWire() (wire.Value, error)
- func (v *BazRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BazRequest) UnmarshalJSON(data []byte) error
- type BazResponse
- func (v *BazResponse) Decode(sr stream.Reader) error
- func (v *BazResponse) Encode(sw stream.Writer) error
- func (v *BazResponse) Equals(rhs *BazResponse) bool
- func (v *BazResponse) FromWire(w wire.Value) error
- func (v *BazResponse) GetMessage() (o string)
- func (v BazResponse) MarshalEasyJSON(w *jwriter.Writer)
- func (v BazResponse) MarshalJSON() ([]byte, error)
- func (v *BazResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *BazResponse) String() string
- func (v *BazResponse) ToWire() (wire.Value, error)
- func (v *BazResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *BazResponse) UnmarshalJSON(data []byte) error
- type GetProfileRequest
- func (v *GetProfileRequest) Decode(sr stream.Reader) error
- func (v *GetProfileRequest) Encode(sw stream.Writer) error
- func (v *GetProfileRequest) Equals(rhs *GetProfileRequest) bool
- func (v *GetProfileRequest) FromWire(w wire.Value) error
- func (v *GetProfileRequest) GetTarget() (o UUID)
- func (v GetProfileRequest) MarshalEasyJSON(w *jwriter.Writer)
- func (v GetProfileRequest) MarshalJSON() ([]byte, error)
- func (v *GetProfileRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *GetProfileRequest) String() string
- func (v *GetProfileRequest) ToWire() (wire.Value, error)
- func (v *GetProfileRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GetProfileRequest) UnmarshalJSON(data []byte) error
- type GetProfileResponse
- func (v *GetProfileResponse) Decode(sr stream.Reader) error
- func (v *GetProfileResponse) Encode(sw stream.Writer) error
- func (v *GetProfileResponse) Equals(rhs *GetProfileResponse) bool
- func (v *GetProfileResponse) FromWire(w wire.Value) error
- func (v *GetProfileResponse) GetPayloads() (o []*Profile)
- func (v *GetProfileResponse) IsSetPayloads() bool
- func (v GetProfileResponse) MarshalEasyJSON(w *jwriter.Writer)
- func (v GetProfileResponse) MarshalJSON() ([]byte, error)
- func (v *GetProfileResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *GetProfileResponse) String() string
- func (v *GetProfileResponse) ToWire() (wire.Value, error)
- func (v *GetProfileResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *GetProfileResponse) UnmarshalJSON(data []byte) error
- type HeaderSchema
- func (v *HeaderSchema) Decode(sr stream.Reader) error
- func (v *HeaderSchema) Encode(sw stream.Writer) error
- func (v *HeaderSchema) Equals(rhs *HeaderSchema) bool
- func (v *HeaderSchema) FromWire(w wire.Value) error
- func (v HeaderSchema) MarshalEasyJSON(w *jwriter.Writer)
- func (v HeaderSchema) MarshalJSON() ([]byte, error)
- func (v *HeaderSchema) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *HeaderSchema) String() string
- func (v *HeaderSchema) ToWire() (wire.Value, error)
- func (v *HeaderSchema) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *HeaderSchema) UnmarshalJSON(data []byte) error
- type NestedStruct
- func (v *NestedStruct) Decode(sr stream.Reader) error
- func (v *NestedStruct) Encode(sw stream.Writer) error
- func (v *NestedStruct) Equals(rhs *NestedStruct) bool
- func (v *NestedStruct) FromWire(w wire.Value) error
- func (v *NestedStruct) GetCheck() (o int32)
- func (v *NestedStruct) GetMsg() (o string)
- func (v *NestedStruct) IsSetCheck() bool
- func (v NestedStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v NestedStruct) MarshalJSON() ([]byte, error)
- func (v *NestedStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *NestedStruct) String() string
- func (v *NestedStruct) ToWire() (wire.Value, error)
- func (v *NestedStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *NestedStruct) UnmarshalJSON(data []byte) error
- type OtherAuthErr
- func (v *OtherAuthErr) Decode(sr stream.Reader) error
- func (v *OtherAuthErr) Encode(sw stream.Writer) error
- func (v *OtherAuthErr) Equals(rhs *OtherAuthErr) bool
- func (v *OtherAuthErr) Error() string
- func (*OtherAuthErr) ErrorName() string
- func (v *OtherAuthErr) FromWire(w wire.Value) error
- func (v *OtherAuthErr) GetMessage() (o string)
- func (v OtherAuthErr) MarshalEasyJSON(w *jwriter.Writer)
- func (v OtherAuthErr) MarshalJSON() ([]byte, error)
- func (v *OtherAuthErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *OtherAuthErr) String() string
- func (v *OtherAuthErr) ToWire() (wire.Value, error)
- func (v *OtherAuthErr) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *OtherAuthErr) UnmarshalJSON(data []byte) error
- type Profile
- func (v *Profile) Decode(sr stream.Reader) error
- func (v *Profile) Encode(sw stream.Writer) error
- func (v *Profile) Equals(rhs *Profile) bool
- func (v *Profile) FromWire(w wire.Value) error
- func (v *Profile) GetRecur1() (o *Recur1)
- func (v *Profile) IsSetRecur1() bool
- func (v Profile) MarshalEasyJSON(w *jwriter.Writer)
- func (v Profile) MarshalJSON() ([]byte, error)
- func (v *Profile) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Profile) String() string
- func (v *Profile) ToWire() (wire.Value, error)
- func (v *Profile) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Profile) UnmarshalJSON(data []byte) error
- type Recur1
- func (v *Recur1) Decode(sr stream.Reader) error
- func (v *Recur1) Encode(sw stream.Writer) error
- func (v *Recur1) Equals(rhs *Recur1) bool
- func (v *Recur1) FromWire(w wire.Value) error
- func (v *Recur1) GetField1() (o map[UUID]*Recur2)
- func (v *Recur1) IsSetField1() bool
- func (v Recur1) MarshalEasyJSON(w *jwriter.Writer)
- func (v Recur1) MarshalJSON() ([]byte, error)
- func (v *Recur1) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Recur1) String() string
- func (v *Recur1) ToWire() (wire.Value, error)
- func (v *Recur1) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Recur1) UnmarshalJSON(data []byte) error
- type Recur2
- func (v *Recur2) Decode(sr stream.Reader) error
- func (v *Recur2) Encode(sw stream.Writer) error
- func (v *Recur2) Equals(rhs *Recur2) bool
- func (v *Recur2) FromWire(w wire.Value) error
- func (v *Recur2) GetField21() (o *Recur3)
- func (v *Recur2) GetField22() (o *Recur3)
- func (v *Recur2) IsSetField21() bool
- func (v *Recur2) IsSetField22() bool
- func (v Recur2) MarshalEasyJSON(w *jwriter.Writer)
- func (v Recur2) MarshalJSON() ([]byte, error)
- func (v *Recur2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Recur2) String() string
- func (v *Recur2) ToWire() (wire.Value, error)
- func (v *Recur2) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Recur2) UnmarshalJSON(data []byte) error
- type Recur3
- func (v *Recur3) Decode(sr stream.Reader) error
- func (v *Recur3) Encode(sw stream.Writer) error
- func (v *Recur3) Equals(rhs *Recur3) bool
- func (v *Recur3) FromWire(w wire.Value) error
- func (v *Recur3) GetField31() (o UUID)
- func (v Recur3) MarshalEasyJSON(w *jwriter.Writer)
- func (v Recur3) MarshalJSON() ([]byte, error)
- func (v *Recur3) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Recur3) String() string
- func (v *Recur3) ToWire() (wire.Value, error)
- func (v *Recur3) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Recur3) UnmarshalJSON(data []byte) error
- type ServerErr
- func (v *ServerErr) Decode(sr stream.Reader) error
- func (v *ServerErr) Encode(sw stream.Writer) error
- func (v *ServerErr) Equals(rhs *ServerErr) bool
- func (v *ServerErr) Error() string
- func (*ServerErr) ErrorName() string
- func (v *ServerErr) FromWire(w wire.Value) error
- func (v *ServerErr) GetMessage() (o string)
- func (v ServerErr) MarshalEasyJSON(w *jwriter.Writer)
- func (v ServerErr) MarshalJSON() ([]byte, error)
- func (v *ServerErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *ServerErr) String() string
- func (v *ServerErr) ToWire() (wire.Value, error)
- func (v *ServerErr) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ServerErr) UnmarshalJSON(data []byte) error
- type SimpleService_AnotherCall_Args
- func (v *SimpleService_AnotherCall_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_AnotherCall_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_AnotherCall_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_AnotherCall_Args) Equals(rhs *SimpleService_AnotherCall_Args) bool
- func (v *SimpleService_AnotherCall_Args) FromWire(w wire.Value) error
- func (v *SimpleService_AnotherCall_Args) GetArg() (o *BazRequest)
- func (v *SimpleService_AnotherCall_Args) GetI64Optional() (o int64)
- func (v *SimpleService_AnotherCall_Args) GetTestUUID() (o UUID)
- func (v *SimpleService_AnotherCall_Args) IsSetArg() bool
- func (v *SimpleService_AnotherCall_Args) IsSetI64Optional() bool
- func (v *SimpleService_AnotherCall_Args) IsSetTestUUID() bool
- func (v SimpleService_AnotherCall_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_AnotherCall_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_AnotherCall_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_AnotherCall_Args) MethodName() string
- func (v *SimpleService_AnotherCall_Args) String() string
- func (v *SimpleService_AnotherCall_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_AnotherCall_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_AnotherCall_Args) UnmarshalJSON(data []byte) error
- type SimpleService_AnotherCall_Result
- func (v *SimpleService_AnotherCall_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_AnotherCall_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_AnotherCall_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_AnotherCall_Result) Equals(rhs *SimpleService_AnotherCall_Result) bool
- func (v *SimpleService_AnotherCall_Result) FromWire(w wire.Value) error
- func (v *SimpleService_AnotherCall_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_AnotherCall_Result) IsSetAuthErr() bool
- func (v SimpleService_AnotherCall_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_AnotherCall_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_AnotherCall_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_AnotherCall_Result) MethodName() string
- func (v *SimpleService_AnotherCall_Result) String() string
- func (v *SimpleService_AnotherCall_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_AnotherCall_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_AnotherCall_Result) UnmarshalJSON(data []byte) error
- type SimpleService_Call_Args
- func (v *SimpleService_Call_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_Call_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_Call_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Call_Args) Equals(rhs *SimpleService_Call_Args) bool
- func (v *SimpleService_Call_Args) FromWire(w wire.Value) error
- func (v *SimpleService_Call_Args) GetArg() (o *BazRequest)
- func (v *SimpleService_Call_Args) GetI64Optional() (o int64)
- func (v *SimpleService_Call_Args) GetTestUUID() (o UUID)
- func (v *SimpleService_Call_Args) IsSetArg() bool
- func (v *SimpleService_Call_Args) IsSetI64Optional() bool
- func (v *SimpleService_Call_Args) IsSetTestUUID() bool
- func (v SimpleService_Call_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Call_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Call_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Call_Args) MethodName() string
- func (v *SimpleService_Call_Args) String() string
- func (v *SimpleService_Call_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_Call_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Call_Args) UnmarshalJSON(data []byte) error
- type SimpleService_Call_Result
- func (v *SimpleService_Call_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_Call_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_Call_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Call_Result) Equals(rhs *SimpleService_Call_Result) bool
- func (v *SimpleService_Call_Result) FromWire(w wire.Value) error
- func (v *SimpleService_Call_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_Call_Result) IsSetAuthErr() bool
- func (v SimpleService_Call_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Call_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Call_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Call_Result) MethodName() string
- func (v *SimpleService_Call_Result) String() string
- func (v *SimpleService_Call_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_Call_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Call_Result) UnmarshalJSON(data []byte) error
- type SimpleService_Compare_Args
- func (v *SimpleService_Compare_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_Compare_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_Compare_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Compare_Args) Equals(rhs *SimpleService_Compare_Args) bool
- func (v *SimpleService_Compare_Args) FromWire(w wire.Value) error
- func (v *SimpleService_Compare_Args) GetArg1() (o *BazRequest)
- func (v *SimpleService_Compare_Args) GetArg2() (o *BazRequest)
- func (v *SimpleService_Compare_Args) IsSetArg1() bool
- func (v *SimpleService_Compare_Args) IsSetArg2() bool
- func (v SimpleService_Compare_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Compare_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Compare_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Compare_Args) MethodName() string
- func (v *SimpleService_Compare_Args) String() string
- func (v *SimpleService_Compare_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_Compare_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Compare_Args) UnmarshalJSON(data []byte) error
- type SimpleService_Compare_Result
- func (v *SimpleService_Compare_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_Compare_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_Compare_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Compare_Result) Equals(rhs *SimpleService_Compare_Result) bool
- func (v *SimpleService_Compare_Result) FromWire(w wire.Value) error
- func (v *SimpleService_Compare_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_Compare_Result) GetOtherAuthErr() (o *OtherAuthErr)
- func (v *SimpleService_Compare_Result) GetSuccess() (o *BazResponse)
- func (v *SimpleService_Compare_Result) IsSetAuthErr() bool
- func (v *SimpleService_Compare_Result) IsSetOtherAuthErr() bool
- func (v *SimpleService_Compare_Result) IsSetSuccess() bool
- func (v SimpleService_Compare_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Compare_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Compare_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Compare_Result) MethodName() string
- func (v *SimpleService_Compare_Result) String() string
- func (v *SimpleService_Compare_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_Compare_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Compare_Result) UnmarshalJSON(data []byte) error
- type SimpleService_GetProfile_Args
- func (v *SimpleService_GetProfile_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_GetProfile_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_GetProfile_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_GetProfile_Args) Equals(rhs *SimpleService_GetProfile_Args) bool
- func (v *SimpleService_GetProfile_Args) FromWire(w wire.Value) error
- func (v *SimpleService_GetProfile_Args) GetRequest() (o *GetProfileRequest)
- func (v *SimpleService_GetProfile_Args) IsSetRequest() bool
- func (v SimpleService_GetProfile_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_GetProfile_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_GetProfile_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_GetProfile_Args) MethodName() string
- func (v *SimpleService_GetProfile_Args) String() string
- func (v *SimpleService_GetProfile_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_GetProfile_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_GetProfile_Args) UnmarshalJSON(data []byte) error
- type SimpleService_GetProfile_Result
- func (v *SimpleService_GetProfile_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_GetProfile_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_GetProfile_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_GetProfile_Result) Equals(rhs *SimpleService_GetProfile_Result) bool
- func (v *SimpleService_GetProfile_Result) FromWire(w wire.Value) error
- func (v *SimpleService_GetProfile_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_GetProfile_Result) GetSuccess() (o *GetProfileResponse)
- func (v *SimpleService_GetProfile_Result) IsSetAuthErr() bool
- func (v *SimpleService_GetProfile_Result) IsSetSuccess() bool
- func (v SimpleService_GetProfile_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_GetProfile_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_GetProfile_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_GetProfile_Result) MethodName() string
- func (v *SimpleService_GetProfile_Result) String() string
- func (v *SimpleService_GetProfile_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_GetProfile_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_GetProfile_Result) UnmarshalJSON(data []byte) error
- type SimpleService_HeaderSchema_Args
- func (v *SimpleService_HeaderSchema_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_HeaderSchema_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_HeaderSchema_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_HeaderSchema_Args) Equals(rhs *SimpleService_HeaderSchema_Args) bool
- func (v *SimpleService_HeaderSchema_Args) FromWire(w wire.Value) error
- func (v *SimpleService_HeaderSchema_Args) GetReq() (o *HeaderSchema)
- func (v *SimpleService_HeaderSchema_Args) IsSetReq() bool
- func (v SimpleService_HeaderSchema_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_HeaderSchema_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_HeaderSchema_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_HeaderSchema_Args) MethodName() string
- func (v *SimpleService_HeaderSchema_Args) String() string
- func (v *SimpleService_HeaderSchema_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_HeaderSchema_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_HeaderSchema_Args) UnmarshalJSON(data []byte) error
- type SimpleService_HeaderSchema_Result
- func (v *SimpleService_HeaderSchema_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_HeaderSchema_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_HeaderSchema_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_HeaderSchema_Result) Equals(rhs *SimpleService_HeaderSchema_Result) bool
- func (v *SimpleService_HeaderSchema_Result) FromWire(w wire.Value) error
- func (v *SimpleService_HeaderSchema_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_HeaderSchema_Result) GetOtherAuthErr() (o *OtherAuthErr)
- func (v *SimpleService_HeaderSchema_Result) GetSuccess() (o *HeaderSchema)
- func (v *SimpleService_HeaderSchema_Result) IsSetAuthErr() bool
- func (v *SimpleService_HeaderSchema_Result) IsSetOtherAuthErr() bool
- func (v *SimpleService_HeaderSchema_Result) IsSetSuccess() bool
- func (v SimpleService_HeaderSchema_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_HeaderSchema_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_HeaderSchema_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_HeaderSchema_Result) MethodName() string
- func (v *SimpleService_HeaderSchema_Result) String() string
- func (v *SimpleService_HeaderSchema_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_HeaderSchema_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_HeaderSchema_Result) UnmarshalJSON(data []byte) error
- type SimpleService_Ping_Args
- func (v *SimpleService_Ping_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_Ping_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_Ping_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Ping_Args) Equals(rhs *SimpleService_Ping_Args) bool
- func (v *SimpleService_Ping_Args) FromWire(w wire.Value) error
- func (v SimpleService_Ping_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Ping_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Ping_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Ping_Args) MethodName() string
- func (v *SimpleService_Ping_Args) String() string
- func (v *SimpleService_Ping_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_Ping_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Ping_Args) UnmarshalJSON(data []byte) error
- type SimpleService_Ping_Result
- func (v *SimpleService_Ping_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_Ping_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_Ping_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Ping_Result) Equals(rhs *SimpleService_Ping_Result) bool
- func (v *SimpleService_Ping_Result) FromWire(w wire.Value) error
- func (v *SimpleService_Ping_Result) GetSuccess() (o *BazResponse)
- func (v *SimpleService_Ping_Result) IsSetSuccess() bool
- func (v SimpleService_Ping_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Ping_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Ping_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Ping_Result) MethodName() string
- func (v *SimpleService_Ping_Result) String() string
- func (v *SimpleService_Ping_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_Ping_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Ping_Result) UnmarshalJSON(data []byte) error
- type SimpleService_SillyNoop_Args
- func (v *SimpleService_SillyNoop_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_SillyNoop_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_SillyNoop_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_SillyNoop_Args) Equals(rhs *SimpleService_SillyNoop_Args) bool
- func (v *SimpleService_SillyNoop_Args) FromWire(w wire.Value) error
- func (v SimpleService_SillyNoop_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_SillyNoop_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_SillyNoop_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_SillyNoop_Args) MethodName() string
- func (v *SimpleService_SillyNoop_Args) String() string
- func (v *SimpleService_SillyNoop_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_SillyNoop_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_SillyNoop_Args) UnmarshalJSON(data []byte) error
- type SimpleService_SillyNoop_Result
- func (v *SimpleService_SillyNoop_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_SillyNoop_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_SillyNoop_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_SillyNoop_Result) Equals(rhs *SimpleService_SillyNoop_Result) bool
- func (v *SimpleService_SillyNoop_Result) FromWire(w wire.Value) error
- func (v *SimpleService_SillyNoop_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_SillyNoop_Result) GetServerErr() (o *ServerErr)
- func (v *SimpleService_SillyNoop_Result) IsSetAuthErr() bool
- func (v *SimpleService_SillyNoop_Result) IsSetServerErr() bool
- func (v SimpleService_SillyNoop_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_SillyNoop_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_SillyNoop_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_SillyNoop_Result) MethodName() string
- func (v *SimpleService_SillyNoop_Result) String() string
- func (v *SimpleService_SillyNoop_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_SillyNoop_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_SillyNoop_Result) UnmarshalJSON(data []byte) error
- type SimpleService_TestUuid_Args
- func (v *SimpleService_TestUuid_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_TestUuid_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_TestUuid_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TestUuid_Args) Equals(rhs *SimpleService_TestUuid_Args) bool
- func (v *SimpleService_TestUuid_Args) FromWire(w wire.Value) error
- func (v SimpleService_TestUuid_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TestUuid_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TestUuid_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TestUuid_Args) MethodName() string
- func (v *SimpleService_TestUuid_Args) String() string
- func (v *SimpleService_TestUuid_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_TestUuid_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TestUuid_Args) UnmarshalJSON(data []byte) error
- type SimpleService_TestUuid_Result
- func (v *SimpleService_TestUuid_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_TestUuid_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_TestUuid_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TestUuid_Result) Equals(rhs *SimpleService_TestUuid_Result) bool
- func (v *SimpleService_TestUuid_Result) FromWire(w wire.Value) error
- func (v SimpleService_TestUuid_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TestUuid_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TestUuid_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TestUuid_Result) MethodName() string
- func (v *SimpleService_TestUuid_Result) String() string
- func (v *SimpleService_TestUuid_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_TestUuid_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TestUuid_Result) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeadersNoReq_Args
- func (v *SimpleService_TransHeadersNoReq_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeadersNoReq_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeadersNoReq_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeadersNoReq_Args) Equals(rhs *SimpleService_TransHeadersNoReq_Args) bool
- func (v *SimpleService_TransHeadersNoReq_Args) FromWire(w wire.Value) error
- func (v SimpleService_TransHeadersNoReq_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeadersNoReq_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeadersNoReq_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeadersNoReq_Args) MethodName() string
- func (v *SimpleService_TransHeadersNoReq_Args) String() string
- func (v *SimpleService_TransHeadersNoReq_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeadersNoReq_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeadersNoReq_Args) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeadersNoReq_Result
- func (v *SimpleService_TransHeadersNoReq_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeadersNoReq_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeadersNoReq_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeadersNoReq_Result) Equals(rhs *SimpleService_TransHeadersNoReq_Result) bool
- func (v *SimpleService_TransHeadersNoReq_Result) FromWire(w wire.Value) error
- func (v *SimpleService_TransHeadersNoReq_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_TransHeadersNoReq_Result) GetSuccess() (o *TransHeader)
- func (v *SimpleService_TransHeadersNoReq_Result) IsSetAuthErr() bool
- func (v *SimpleService_TransHeadersNoReq_Result) IsSetSuccess() bool
- func (v SimpleService_TransHeadersNoReq_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeadersNoReq_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeadersNoReq_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeadersNoReq_Result) MethodName() string
- func (v *SimpleService_TransHeadersNoReq_Result) String() string
- func (v *SimpleService_TransHeadersNoReq_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeadersNoReq_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeadersNoReq_Result) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeadersType_Args
- func (v *SimpleService_TransHeadersType_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeadersType_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeadersType_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeadersType_Args) Equals(rhs *SimpleService_TransHeadersType_Args) bool
- func (v *SimpleService_TransHeadersType_Args) FromWire(w wire.Value) error
- func (v *SimpleService_TransHeadersType_Args) GetReq() (o *TransHeader)
- func (v *SimpleService_TransHeadersType_Args) IsSetReq() bool
- func (v SimpleService_TransHeadersType_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeadersType_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeadersType_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeadersType_Args) MethodName() string
- func (v *SimpleService_TransHeadersType_Args) String() string
- func (v *SimpleService_TransHeadersType_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeadersType_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeadersType_Args) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeadersType_Result
- func (v *SimpleService_TransHeadersType_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeadersType_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeadersType_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeadersType_Result) Equals(rhs *SimpleService_TransHeadersType_Result) bool
- func (v *SimpleService_TransHeadersType_Result) FromWire(w wire.Value) error
- func (v *SimpleService_TransHeadersType_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_TransHeadersType_Result) GetOtherAuthErr() (o *OtherAuthErr)
- func (v *SimpleService_TransHeadersType_Result) GetSuccess() (o *TransHeader)
- func (v *SimpleService_TransHeadersType_Result) IsSetAuthErr() bool
- func (v *SimpleService_TransHeadersType_Result) IsSetOtherAuthErr() bool
- func (v *SimpleService_TransHeadersType_Result) IsSetSuccess() bool
- func (v SimpleService_TransHeadersType_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeadersType_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeadersType_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeadersType_Result) MethodName() string
- func (v *SimpleService_TransHeadersType_Result) String() string
- func (v *SimpleService_TransHeadersType_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeadersType_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeadersType_Result) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeaders_Args
- func (v *SimpleService_TransHeaders_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeaders_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeaders_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeaders_Args) Equals(rhs *SimpleService_TransHeaders_Args) bool
- func (v *SimpleService_TransHeaders_Args) FromWire(w wire.Value) error
- func (v *SimpleService_TransHeaders_Args) GetReq() (o *TransHeader)
- func (v *SimpleService_TransHeaders_Args) IsSetReq() bool
- func (v SimpleService_TransHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeaders_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeaders_Args) MethodName() string
- func (v *SimpleService_TransHeaders_Args) String() string
- func (v *SimpleService_TransHeaders_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeaders_Args) UnmarshalJSON(data []byte) error
- type SimpleService_TransHeaders_Result
- func (v *SimpleService_TransHeaders_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_TransHeaders_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_TransHeaders_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_TransHeaders_Result) Equals(rhs *SimpleService_TransHeaders_Result) bool
- func (v *SimpleService_TransHeaders_Result) FromWire(w wire.Value) error
- func (v *SimpleService_TransHeaders_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_TransHeaders_Result) GetOtherAuthErr() (o *OtherAuthErr)
- func (v *SimpleService_TransHeaders_Result) GetSuccess() (o *TransHeader)
- func (v *SimpleService_TransHeaders_Result) IsSetAuthErr() bool
- func (v *SimpleService_TransHeaders_Result) IsSetOtherAuthErr() bool
- func (v *SimpleService_TransHeaders_Result) IsSetSuccess() bool
- func (v SimpleService_TransHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_TransHeaders_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_TransHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_TransHeaders_Result) MethodName() string
- func (v *SimpleService_TransHeaders_Result) String() string
- func (v *SimpleService_TransHeaders_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_TransHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_TransHeaders_Result) UnmarshalJSON(data []byte) error
- type SimpleService_Trans_Args
- func (v *SimpleService_Trans_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_Trans_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_Trans_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Trans_Args) Equals(rhs *SimpleService_Trans_Args) bool
- func (v *SimpleService_Trans_Args) FromWire(w wire.Value) error
- func (v *SimpleService_Trans_Args) GetArg1() (o *TransStruct)
- func (v *SimpleService_Trans_Args) GetArg2() (o *TransStruct)
- func (v *SimpleService_Trans_Args) IsSetArg1() bool
- func (v *SimpleService_Trans_Args) IsSetArg2() bool
- func (v SimpleService_Trans_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Trans_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Trans_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Trans_Args) MethodName() string
- func (v *SimpleService_Trans_Args) String() string
- func (v *SimpleService_Trans_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_Trans_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Trans_Args) UnmarshalJSON(data []byte) error
- type SimpleService_Trans_Result
- func (v *SimpleService_Trans_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_Trans_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_Trans_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_Trans_Result) Equals(rhs *SimpleService_Trans_Result) bool
- func (v *SimpleService_Trans_Result) FromWire(w wire.Value) error
- func (v *SimpleService_Trans_Result) GetAuthErr() (o *AuthErr)
- func (v *SimpleService_Trans_Result) GetOtherAuthErr() (o *OtherAuthErr)
- func (v *SimpleService_Trans_Result) GetSuccess() (o *TransStruct)
- func (v *SimpleService_Trans_Result) IsSetAuthErr() bool
- func (v *SimpleService_Trans_Result) IsSetOtherAuthErr() bool
- func (v *SimpleService_Trans_Result) IsSetSuccess() bool
- func (v SimpleService_Trans_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_Trans_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_Trans_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_Trans_Result) MethodName() string
- func (v *SimpleService_Trans_Result) String() string
- func (v *SimpleService_Trans_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_Trans_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_Trans_Result) UnmarshalJSON(data []byte) error
- type SimpleService_UrlTest_Args
- func (v *SimpleService_UrlTest_Args) Decode(sr stream.Reader) error
- func (v *SimpleService_UrlTest_Args) Encode(sw stream.Writer) error
- func (v *SimpleService_UrlTest_Args) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_UrlTest_Args) Equals(rhs *SimpleService_UrlTest_Args) bool
- func (v *SimpleService_UrlTest_Args) FromWire(w wire.Value) error
- func (v SimpleService_UrlTest_Args) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_UrlTest_Args) MarshalJSON() ([]byte, error)
- func (v *SimpleService_UrlTest_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_UrlTest_Args) MethodName() string
- func (v *SimpleService_UrlTest_Args) String() string
- func (v *SimpleService_UrlTest_Args) ToWire() (wire.Value, error)
- func (v *SimpleService_UrlTest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_UrlTest_Args) UnmarshalJSON(data []byte) error
- type SimpleService_UrlTest_Result
- func (v *SimpleService_UrlTest_Result) Decode(sr stream.Reader) error
- func (v *SimpleService_UrlTest_Result) Encode(sw stream.Writer) error
- func (v *SimpleService_UrlTest_Result) EnvelopeType() wire.EnvelopeType
- func (v *SimpleService_UrlTest_Result) Equals(rhs *SimpleService_UrlTest_Result) bool
- func (v *SimpleService_UrlTest_Result) FromWire(w wire.Value) error
- func (v SimpleService_UrlTest_Result) MarshalEasyJSON(w *jwriter.Writer)
- func (v SimpleService_UrlTest_Result) MarshalJSON() ([]byte, error)
- func (v *SimpleService_UrlTest_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *SimpleService_UrlTest_Result) MethodName() string
- func (v *SimpleService_UrlTest_Result) String() string
- func (v *SimpleService_UrlTest_Result) ToWire() (wire.Value, error)
- func (v *SimpleService_UrlTest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SimpleService_UrlTest_Result) UnmarshalJSON(data []byte) error
- type TransHeader
- func (v *TransHeader) Decode(sr stream.Reader) error
- func (v *TransHeader) Encode(sw stream.Writer) error
- func (v *TransHeader) Equals(rhs *TransHeader) bool
- func (v *TransHeader) FromWire(w wire.Value) error
- func (v TransHeader) MarshalEasyJSON(w *jwriter.Writer)
- func (v TransHeader) MarshalJSON() ([]byte, error)
- func (v *TransHeader) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *TransHeader) String() string
- func (v *TransHeader) ToWire() (wire.Value, error)
- func (v *TransHeader) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TransHeader) UnmarshalJSON(data []byte) error
- type TransStruct
- func (v *TransStruct) Decode(sr stream.Reader) error
- func (v *TransStruct) Encode(sw stream.Writer) error
- func (v *TransStruct) Equals(rhs *TransStruct) bool
- func (v *TransStruct) FromWire(w wire.Value) error
- func (v *TransStruct) GetDriver() (o *NestedStruct)
- func (v *TransStruct) GetMessage() (o string)
- func (v *TransStruct) GetRider() (o *NestedStruct)
- func (v *TransStruct) IsSetDriver() bool
- func (v *TransStruct) IsSetRider() bool
- func (v TransStruct) MarshalEasyJSON(w *jwriter.Writer)
- func (v TransStruct) MarshalJSON() ([]byte, error)
- func (v *TransStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *TransStruct) String() string
- func (v *TransStruct) ToWire() (wire.Value, error)
- func (v *TransStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *TransStruct) UnmarshalJSON(data []byte) error
- type UUID
Constants ¶
This section is empty.
Variables ¶
var SimpleService_AnotherCall_Helper = struct { // Args accepts the parameters of anotherCall in-order and returns // the arguments struct for the function. Args func( arg *BazRequest, i64Optional *int64, testUUID *UUID, ) *SimpleService_AnotherCall_Args // IsException returns true if the given error can be thrown // by anotherCall. // // An error can be thrown by anotherCall only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for anotherCall // given the error returned by it. The provided error may // be nil if anotherCall did not fail. // // This allows mapping errors returned by anotherCall into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // anotherCall // // err := anotherCall(args) // result, err := SimpleService_AnotherCall_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from anotherCall: %v", err) // } // serialize(result) WrapResponse func(error) (*SimpleService_AnotherCall_Result, error) // UnwrapResponse takes the result struct for anotherCall // and returns the erorr returned by it (if any). // // The error is non-nil only if anotherCall threw an // exception. // // result := deserialize(bytes) // err := SimpleService_AnotherCall_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_AnotherCall_Result) error }{}
SimpleService_AnotherCall_Helper provides functions that aid in handling the parameters and return values of the SimpleService.anotherCall function.
var SimpleService_Call_Helper = struct { // Args accepts the parameters of call in-order and returns // the arguments struct for the function. Args func( arg *BazRequest, i64Optional *int64, testUUID *UUID, ) *SimpleService_Call_Args // IsException returns true if the given error can be thrown // by call. // // An error can be thrown by call only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for call // given the error returned by it. The provided error may // be nil if call did not fail. // // This allows mapping errors returned by call into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // call // // err := call(args) // result, err := SimpleService_Call_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from call: %v", err) // } // serialize(result) WrapResponse func(error) (*SimpleService_Call_Result, error) // UnwrapResponse takes the result struct for call // and returns the erorr returned by it (if any). // // The error is non-nil only if call threw an // exception. // // result := deserialize(bytes) // err := SimpleService_Call_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_Call_Result) error }{}
SimpleService_Call_Helper provides functions that aid in handling the parameters and return values of the SimpleService.call function.
var SimpleService_Compare_Helper = struct { // Args accepts the parameters of compare in-order and returns // the arguments struct for the function. Args func( arg1 *BazRequest, arg2 *BazRequest, ) *SimpleService_Compare_Args // IsException returns true if the given error can be thrown // by compare. // // An error can be thrown by compare only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for compare // given its return value and error. // // This allows mapping values and errors returned by // compare into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by compare // // value, err := compare(args) // result, err := SimpleService_Compare_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from compare: %v", err) // } // serialize(result) WrapResponse func(*BazResponse, error) (*SimpleService_Compare_Result, error) // UnwrapResponse takes the result struct for compare // and returns the value or error returned by it. // // The error is non-nil only if compare threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_Compare_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_Compare_Result) (*BazResponse, error) }{}
SimpleService_Compare_Helper provides functions that aid in handling the parameters and return values of the SimpleService.compare function.
var SimpleService_GetProfile_Helper = struct { // Args accepts the parameters of getProfile in-order and returns // the arguments struct for the function. Args func( request *GetProfileRequest, ) *SimpleService_GetProfile_Args // IsException returns true if the given error can be thrown // by getProfile. // // An error can be thrown by getProfile only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for getProfile // given its return value and error. // // This allows mapping values and errors returned by // getProfile into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by getProfile // // value, err := getProfile(args) // result, err := SimpleService_GetProfile_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from getProfile: %v", err) // } // serialize(result) WrapResponse func(*GetProfileResponse, error) (*SimpleService_GetProfile_Result, error) // UnwrapResponse takes the result struct for getProfile // and returns the value or error returned by it. // // The error is non-nil only if getProfile threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_GetProfile_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_GetProfile_Result) (*GetProfileResponse, error) }{}
SimpleService_GetProfile_Helper provides functions that aid in handling the parameters and return values of the SimpleService.getProfile function.
var SimpleService_HeaderSchema_Helper = struct { // Args accepts the parameters of headerSchema in-order and returns // the arguments struct for the function. Args func( req *HeaderSchema, ) *SimpleService_HeaderSchema_Args // IsException returns true if the given error can be thrown // by headerSchema. // // An error can be thrown by headerSchema only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for headerSchema // given its return value and error. // // This allows mapping values and errors returned by // headerSchema into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by headerSchema // // value, err := headerSchema(args) // result, err := SimpleService_HeaderSchema_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from headerSchema: %v", err) // } // serialize(result) WrapResponse func(*HeaderSchema, error) (*SimpleService_HeaderSchema_Result, error) // UnwrapResponse takes the result struct for headerSchema // and returns the value or error returned by it. // // The error is non-nil only if headerSchema threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_HeaderSchema_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_HeaderSchema_Result) (*HeaderSchema, error) }{}
SimpleService_HeaderSchema_Helper provides functions that aid in handling the parameters and return values of the SimpleService.headerSchema function.
var SimpleService_Ping_Helper = struct { // Args accepts the parameters of ping in-order and returns // the arguments struct for the function. Args func() *SimpleService_Ping_Args // IsException returns true if the given error can be thrown // by ping. // // An error can be thrown by ping only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for ping // given its return value and error. // // This allows mapping values and errors returned by // ping into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by ping // // value, err := ping(args) // result, err := SimpleService_Ping_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from ping: %v", err) // } // serialize(result) WrapResponse func(*BazResponse, error) (*SimpleService_Ping_Result, error) // UnwrapResponse takes the result struct for ping // and returns the value or error returned by it. // // The error is non-nil only if ping threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_Ping_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_Ping_Result) (*BazResponse, error) }{}
SimpleService_Ping_Helper provides functions that aid in handling the parameters and return values of the SimpleService.ping function.
var SimpleService_SillyNoop_Helper = struct { // Args accepts the parameters of sillyNoop in-order and returns // the arguments struct for the function. Args func() *SimpleService_SillyNoop_Args // IsException returns true if the given error can be thrown // by sillyNoop. // // An error can be thrown by sillyNoop only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for sillyNoop // given the error returned by it. The provided error may // be nil if sillyNoop did not fail. // // This allows mapping errors returned by sillyNoop into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // sillyNoop // // err := sillyNoop(args) // result, err := SimpleService_SillyNoop_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from sillyNoop: %v", err) // } // serialize(result) WrapResponse func(error) (*SimpleService_SillyNoop_Result, error) // UnwrapResponse takes the result struct for sillyNoop // and returns the erorr returned by it (if any). // // The error is non-nil only if sillyNoop threw an // exception. // // result := deserialize(bytes) // err := SimpleService_SillyNoop_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_SillyNoop_Result) error }{}
SimpleService_SillyNoop_Helper provides functions that aid in handling the parameters and return values of the SimpleService.sillyNoop function.
var SimpleService_TestUuid_Helper = struct { // Args accepts the parameters of testUuid in-order and returns // the arguments struct for the function. Args func() *SimpleService_TestUuid_Args // IsException returns true if the given error can be thrown // by testUuid. // // An error can be thrown by testUuid only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for testUuid // given the error returned by it. The provided error may // be nil if testUuid did not fail. // // This allows mapping errors returned by testUuid into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // testUuid // // err := testUuid(args) // result, err := SimpleService_TestUuid_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from testUuid: %v", err) // } // serialize(result) WrapResponse func(error) (*SimpleService_TestUuid_Result, error) // UnwrapResponse takes the result struct for testUuid // and returns the erorr returned by it (if any). // // The error is non-nil only if testUuid threw an // exception. // // result := deserialize(bytes) // err := SimpleService_TestUuid_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_TestUuid_Result) error }{}
SimpleService_TestUuid_Helper provides functions that aid in handling the parameters and return values of the SimpleService.testUuid function.
var SimpleService_TransHeadersNoReq_Helper = struct { // Args accepts the parameters of transHeadersNoReq in-order and returns // the arguments struct for the function. Args func() *SimpleService_TransHeadersNoReq_Args // IsException returns true if the given error can be thrown // by transHeadersNoReq. // // An error can be thrown by transHeadersNoReq only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for transHeadersNoReq // given its return value and error. // // This allows mapping values and errors returned by // transHeadersNoReq into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by transHeadersNoReq // // value, err := transHeadersNoReq(args) // result, err := SimpleService_TransHeadersNoReq_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from transHeadersNoReq: %v", err) // } // serialize(result) WrapResponse func(*TransHeader, error) (*SimpleService_TransHeadersNoReq_Result, error) // UnwrapResponse takes the result struct for transHeadersNoReq // and returns the value or error returned by it. // // The error is non-nil only if transHeadersNoReq threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_TransHeadersNoReq_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_TransHeadersNoReq_Result) (*TransHeader, error) }{}
SimpleService_TransHeadersNoReq_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeadersNoReq function.
var SimpleService_TransHeadersType_Helper = struct { // Args accepts the parameters of transHeadersType in-order and returns // the arguments struct for the function. Args func( req *TransHeader, ) *SimpleService_TransHeadersType_Args // IsException returns true if the given error can be thrown // by transHeadersType. // // An error can be thrown by transHeadersType only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for transHeadersType // given its return value and error. // // This allows mapping values and errors returned by // transHeadersType into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by transHeadersType // // value, err := transHeadersType(args) // result, err := SimpleService_TransHeadersType_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from transHeadersType: %v", err) // } // serialize(result) WrapResponse func(*TransHeader, error) (*SimpleService_TransHeadersType_Result, error) // UnwrapResponse takes the result struct for transHeadersType // and returns the value or error returned by it. // // The error is non-nil only if transHeadersType threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_TransHeadersType_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_TransHeadersType_Result) (*TransHeader, error) }{}
SimpleService_TransHeadersType_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeadersType function.
var SimpleService_TransHeaders_Helper = struct { // Args accepts the parameters of transHeaders in-order and returns // the arguments struct for the function. Args func( req *TransHeader, ) *SimpleService_TransHeaders_Args // IsException returns true if the given error can be thrown // by transHeaders. // // An error can be thrown by transHeaders only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for transHeaders // given its return value and error. // // This allows mapping values and errors returned by // transHeaders into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by transHeaders // // value, err := transHeaders(args) // result, err := SimpleService_TransHeaders_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from transHeaders: %v", err) // } // serialize(result) WrapResponse func(*TransHeader, error) (*SimpleService_TransHeaders_Result, error) // UnwrapResponse takes the result struct for transHeaders // and returns the value or error returned by it. // // The error is non-nil only if transHeaders threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_TransHeaders_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_TransHeaders_Result) (*TransHeader, error) }{}
SimpleService_TransHeaders_Helper provides functions that aid in handling the parameters and return values of the SimpleService.transHeaders function.
var SimpleService_Trans_Helper = struct { // Args accepts the parameters of trans in-order and returns // the arguments struct for the function. Args func( arg1 *TransStruct, arg2 *TransStruct, ) *SimpleService_Trans_Args // IsException returns true if the given error can be thrown // by trans. // // An error can be thrown by trans only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for trans // given its return value and error. // // This allows mapping values and errors returned by // trans into a serializable result struct. // WrapResponse returns a non-nil error if the provided // error cannot be thrown by trans // // value, err := trans(args) // result, err := SimpleService_Trans_Helper.WrapResponse(value, err) // if err != nil { // return fmt.Errorf("unexpected error from trans: %v", err) // } // serialize(result) WrapResponse func(*TransStruct, error) (*SimpleService_Trans_Result, error) // UnwrapResponse takes the result struct for trans // and returns the value or error returned by it. // // The error is non-nil only if trans threw an // exception. // // result := deserialize(bytes) // value, err := SimpleService_Trans_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_Trans_Result) (*TransStruct, error) }{}
SimpleService_Trans_Helper provides functions that aid in handling the parameters and return values of the SimpleService.trans function.
var SimpleService_UrlTest_Helper = struct { // Args accepts the parameters of urlTest in-order and returns // the arguments struct for the function. Args func() *SimpleService_UrlTest_Args // IsException returns true if the given error can be thrown // by urlTest. // // An error can be thrown by urlTest only if the // corresponding exception type was mentioned in the 'throws' // section for it in the Thrift file. IsException func(error) bool // WrapResponse returns the result struct for urlTest // given the error returned by it. The provided error may // be nil if urlTest did not fail. // // This allows mapping errors returned by urlTest into a // serializable result struct. WrapResponse returns a // non-nil error if the provided error cannot be thrown by // urlTest // // err := urlTest(args) // result, err := SimpleService_UrlTest_Helper.WrapResponse(err) // if err != nil { // return fmt.Errorf("unexpected error from urlTest: %v", err) // } // serialize(result) WrapResponse func(error) (*SimpleService_UrlTest_Result, error) // UnwrapResponse takes the result struct for urlTest // and returns the erorr returned by it (if any). // // The error is non-nil only if urlTest threw an // exception. // // result := deserialize(bytes) // err := SimpleService_UrlTest_Helper.UnwrapResponse(result) UnwrapResponse func(*SimpleService_UrlTest_Result) error }{}
SimpleService_UrlTest_Helper provides functions that aid in handling the parameters and return values of the SimpleService.urlTest function.
Functions ¶
This section is empty.
Types ¶
type AuthErr ¶
type AuthErr struct {
Message string `json:"message,required"`
}
func (*AuthErr) Decode ¶ added in v1.1.1
Decode deserializes a AuthErr struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a AuthErr struct could not be generated from the wire representation.
func (*AuthErr) Encode ¶ added in v1.1.1
Encode serializes a AuthErr struct directly into bytes, without going through an intermediary type.
An error is returned if a AuthErr struct could not be encoded.
func (*AuthErr) Equals ¶
Equals returns true if all the fields of this AuthErr match the provided AuthErr.
This function performs a deep comparison.
func (*AuthErr) FromWire ¶
FromWire deserializes a AuthErr struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a AuthErr struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v AuthErr if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*AuthErr) GetMessage ¶
GetMessage returns the value of Message if it is set or its zero value if it is unset.
func (AuthErr) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (AuthErr) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*AuthErr) MarshalLogObject ¶
func (v *AuthErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of AuthErr.
func (*AuthErr) ToWire ¶
ToWire translates a AuthErr struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*AuthErr) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*AuthErr) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type BazRequest ¶
type BazRequest struct { B1 bool `json:"b1,required"` S2 string `json:"s2,required"` I3 int32 `json:"i3,required"` }
func (*BazRequest) Decode ¶ added in v1.1.1
func (v *BazRequest) Decode(sr stream.Reader) error
Decode deserializes a BazRequest struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a BazRequest struct could not be generated from the wire representation.
func (*BazRequest) Encode ¶ added in v1.1.1
func (v *BazRequest) Encode(sw stream.Writer) error
Encode serializes a BazRequest struct directly into bytes, without going through an intermediary type.
An error is returned if a BazRequest struct could not be encoded.
func (*BazRequest) Equals ¶
func (v *BazRequest) Equals(rhs *BazRequest) bool
Equals returns true if all the fields of this BazRequest match the provided BazRequest.
This function performs a deep comparison.
func (*BazRequest) FromWire ¶
func (v *BazRequest) FromWire(w wire.Value) error
FromWire deserializes a BazRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BazRequest struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BazRequest if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*BazRequest) GetB1 ¶
func (v *BazRequest) GetB1() (o bool)
GetB1 returns the value of B1 if it is set or its zero value if it is unset.
func (*BazRequest) GetI3 ¶
func (v *BazRequest) GetI3() (o int32)
GetI3 returns the value of I3 if it is set or its zero value if it is unset.
func (*BazRequest) GetS2 ¶
func (v *BazRequest) GetS2() (o string)
GetS2 returns the value of S2 if it is set or its zero value if it is unset.
func (BazRequest) MarshalEasyJSON ¶
func (v BazRequest) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BazRequest) MarshalJSON ¶
func (v BazRequest) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BazRequest) MarshalLogObject ¶
func (v *BazRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BazRequest.
func (*BazRequest) String ¶
func (v *BazRequest) String() string
String returns a readable string representation of a BazRequest struct.
func (*BazRequest) ToWire ¶
func (v *BazRequest) ToWire() (wire.Value, error)
ToWire translates a BazRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BazRequest) UnmarshalEasyJSON ¶
func (v *BazRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BazRequest) UnmarshalJSON ¶
func (v *BazRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type BazResponse ¶
type BazResponse struct {
Message string `json:"message,required"`
}
func (*BazResponse) Decode ¶ added in v1.1.1
func (v *BazResponse) Decode(sr stream.Reader) error
Decode deserializes a BazResponse struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a BazResponse struct could not be generated from the wire representation.
func (*BazResponse) Encode ¶ added in v1.1.1
func (v *BazResponse) Encode(sw stream.Writer) error
Encode serializes a BazResponse struct directly into bytes, without going through an intermediary type.
An error is returned if a BazResponse struct could not be encoded.
func (*BazResponse) Equals ¶
func (v *BazResponse) Equals(rhs *BazResponse) bool
Equals returns true if all the fields of this BazResponse match the provided BazResponse.
This function performs a deep comparison.
func (*BazResponse) FromWire ¶
func (v *BazResponse) FromWire(w wire.Value) error
FromWire deserializes a BazResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a BazResponse struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v BazResponse if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*BazResponse) GetMessage ¶
func (v *BazResponse) GetMessage() (o string)
GetMessage returns the value of Message if it is set or its zero value if it is unset.
func (BazResponse) MarshalEasyJSON ¶
func (v BazResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BazResponse) MarshalJSON ¶
func (v BazResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BazResponse) MarshalLogObject ¶
func (v *BazResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of BazResponse.
func (*BazResponse) String ¶
func (v *BazResponse) String() string
String returns a readable string representation of a BazResponse struct.
func (*BazResponse) ToWire ¶
func (v *BazResponse) ToWire() (wire.Value, error)
ToWire translates a BazResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*BazResponse) UnmarshalEasyJSON ¶
func (v *BazResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BazResponse) UnmarshalJSON ¶
func (v *BazResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetProfileRequest ¶
type GetProfileRequest struct {
Target UUID `json:"target,required"`
}
func (*GetProfileRequest) Decode ¶ added in v1.1.1
func (v *GetProfileRequest) Decode(sr stream.Reader) error
Decode deserializes a GetProfileRequest struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a GetProfileRequest struct could not be generated from the wire representation.
func (*GetProfileRequest) Encode ¶ added in v1.1.1
func (v *GetProfileRequest) Encode(sw stream.Writer) error
Encode serializes a GetProfileRequest struct directly into bytes, without going through an intermediary type.
An error is returned if a GetProfileRequest struct could not be encoded.
func (*GetProfileRequest) Equals ¶
func (v *GetProfileRequest) Equals(rhs *GetProfileRequest) bool
Equals returns true if all the fields of this GetProfileRequest match the provided GetProfileRequest.
This function performs a deep comparison.
func (*GetProfileRequest) FromWire ¶
func (v *GetProfileRequest) FromWire(w wire.Value) error
FromWire deserializes a GetProfileRequest struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a GetProfileRequest struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v GetProfileRequest if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*GetProfileRequest) GetTarget ¶
func (v *GetProfileRequest) GetTarget() (o UUID)
GetTarget returns the value of Target if it is set or its zero value if it is unset.
func (GetProfileRequest) MarshalEasyJSON ¶
func (v GetProfileRequest) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetProfileRequest) MarshalJSON ¶
func (v GetProfileRequest) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetProfileRequest) MarshalLogObject ¶
func (v *GetProfileRequest) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of GetProfileRequest.
func (*GetProfileRequest) String ¶
func (v *GetProfileRequest) String() string
String returns a readable string representation of a GetProfileRequest struct.
func (*GetProfileRequest) ToWire ¶
func (v *GetProfileRequest) ToWire() (wire.Value, error)
ToWire translates a GetProfileRequest struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*GetProfileRequest) UnmarshalEasyJSON ¶
func (v *GetProfileRequest) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetProfileRequest) UnmarshalJSON ¶
func (v *GetProfileRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type GetProfileResponse ¶
type GetProfileResponse struct {
Payloads []*Profile `json:"payloads,required"`
}
func (*GetProfileResponse) Decode ¶ added in v1.1.1
func (v *GetProfileResponse) Decode(sr stream.Reader) error
Decode deserializes a GetProfileResponse struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a GetProfileResponse struct could not be generated from the wire representation.
func (*GetProfileResponse) Encode ¶ added in v1.1.1
func (v *GetProfileResponse) Encode(sw stream.Writer) error
Encode serializes a GetProfileResponse struct directly into bytes, without going through an intermediary type.
An error is returned if a GetProfileResponse struct could not be encoded.
func (*GetProfileResponse) Equals ¶
func (v *GetProfileResponse) Equals(rhs *GetProfileResponse) bool
Equals returns true if all the fields of this GetProfileResponse match the provided GetProfileResponse.
This function performs a deep comparison.
func (*GetProfileResponse) FromWire ¶
func (v *GetProfileResponse) FromWire(w wire.Value) error
FromWire deserializes a GetProfileResponse struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a GetProfileResponse struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v GetProfileResponse if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*GetProfileResponse) GetPayloads ¶
func (v *GetProfileResponse) GetPayloads() (o []*Profile)
GetPayloads returns the value of Payloads if it is set or its zero value if it is unset.
func (*GetProfileResponse) IsSetPayloads ¶
func (v *GetProfileResponse) IsSetPayloads() bool
IsSetPayloads returns true if Payloads is not nil.
func (GetProfileResponse) MarshalEasyJSON ¶
func (v GetProfileResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (GetProfileResponse) MarshalJSON ¶
func (v GetProfileResponse) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*GetProfileResponse) MarshalLogObject ¶
func (v *GetProfileResponse) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of GetProfileResponse.
func (*GetProfileResponse) String ¶
func (v *GetProfileResponse) String() string
String returns a readable string representation of a GetProfileResponse struct.
func (*GetProfileResponse) ToWire ¶
func (v *GetProfileResponse) ToWire() (wire.Value, error)
ToWire translates a GetProfileResponse struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*GetProfileResponse) UnmarshalEasyJSON ¶
func (v *GetProfileResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*GetProfileResponse) UnmarshalJSON ¶
func (v *GetProfileResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type HeaderSchema ¶
type HeaderSchema struct { }
func (*HeaderSchema) Decode ¶ added in v1.1.1
func (v *HeaderSchema) Decode(sr stream.Reader) error
Decode deserializes a HeaderSchema struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a HeaderSchema struct could not be generated from the wire representation.
func (*HeaderSchema) Encode ¶ added in v1.1.1
func (v *HeaderSchema) Encode(sw stream.Writer) error
Encode serializes a HeaderSchema struct directly into bytes, without going through an intermediary type.
An error is returned if a HeaderSchema struct could not be encoded.
func (*HeaderSchema) Equals ¶
func (v *HeaderSchema) Equals(rhs *HeaderSchema) bool
Equals returns true if all the fields of this HeaderSchema match the provided HeaderSchema.
This function performs a deep comparison.
func (*HeaderSchema) FromWire ¶
func (v *HeaderSchema) FromWire(w wire.Value) error
FromWire deserializes a HeaderSchema struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a HeaderSchema struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v HeaderSchema if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (HeaderSchema) MarshalEasyJSON ¶
func (v HeaderSchema) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (HeaderSchema) MarshalJSON ¶
func (v HeaderSchema) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*HeaderSchema) MarshalLogObject ¶
func (v *HeaderSchema) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of HeaderSchema.
func (*HeaderSchema) String ¶
func (v *HeaderSchema) String() string
String returns a readable string representation of a HeaderSchema struct.
func (*HeaderSchema) ToWire ¶
func (v *HeaderSchema) ToWire() (wire.Value, error)
ToWire translates a HeaderSchema struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*HeaderSchema) UnmarshalEasyJSON ¶
func (v *HeaderSchema) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*HeaderSchema) UnmarshalJSON ¶
func (v *HeaderSchema) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type NestedStruct ¶
func (*NestedStruct) Decode ¶ added in v1.1.1
func (v *NestedStruct) Decode(sr stream.Reader) error
Decode deserializes a NestedStruct struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a NestedStruct struct could not be generated from the wire representation.
func (*NestedStruct) Encode ¶ added in v1.1.1
func (v *NestedStruct) Encode(sw stream.Writer) error
Encode serializes a NestedStruct struct directly into bytes, without going through an intermediary type.
An error is returned if a NestedStruct struct could not be encoded.
func (*NestedStruct) Equals ¶
func (v *NestedStruct) Equals(rhs *NestedStruct) bool
Equals returns true if all the fields of this NestedStruct match the provided NestedStruct.
This function performs a deep comparison.
func (*NestedStruct) FromWire ¶
func (v *NestedStruct) FromWire(w wire.Value) error
FromWire deserializes a NestedStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a NestedStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v NestedStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*NestedStruct) GetCheck ¶
func (v *NestedStruct) GetCheck() (o int32)
GetCheck returns the value of Check if it is set or its zero value if it is unset.
func (*NestedStruct) GetMsg ¶
func (v *NestedStruct) GetMsg() (o string)
GetMsg returns the value of Msg if it is set or its zero value if it is unset.
func (*NestedStruct) IsSetCheck ¶
func (v *NestedStruct) IsSetCheck() bool
IsSetCheck returns true if Check is not nil.
func (NestedStruct) MarshalEasyJSON ¶
func (v NestedStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (NestedStruct) MarshalJSON ¶
func (v NestedStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*NestedStruct) MarshalLogObject ¶
func (v *NestedStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of NestedStruct.
func (*NestedStruct) String ¶
func (v *NestedStruct) String() string
String returns a readable string representation of a NestedStruct struct.
func (*NestedStruct) ToWire ¶
func (v *NestedStruct) ToWire() (wire.Value, error)
ToWire translates a NestedStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*NestedStruct) UnmarshalEasyJSON ¶
func (v *NestedStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*NestedStruct) UnmarshalJSON ¶
func (v *NestedStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type OtherAuthErr ¶
type OtherAuthErr struct {
Message string `json:"message,required"`
}
func (*OtherAuthErr) Decode ¶ added in v1.1.1
func (v *OtherAuthErr) Decode(sr stream.Reader) error
Decode deserializes a OtherAuthErr struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a OtherAuthErr struct could not be generated from the wire representation.
func (*OtherAuthErr) Encode ¶ added in v1.1.1
func (v *OtherAuthErr) Encode(sw stream.Writer) error
Encode serializes a OtherAuthErr struct directly into bytes, without going through an intermediary type.
An error is returned if a OtherAuthErr struct could not be encoded.
func (*OtherAuthErr) Equals ¶
func (v *OtherAuthErr) Equals(rhs *OtherAuthErr) bool
Equals returns true if all the fields of this OtherAuthErr match the provided OtherAuthErr.
This function performs a deep comparison.
func (*OtherAuthErr) Error ¶
func (v *OtherAuthErr) Error() string
func (*OtherAuthErr) ErrorName ¶
func (*OtherAuthErr) ErrorName() string
ErrorName is the name of this type as defined in the Thrift file.
func (*OtherAuthErr) FromWire ¶
func (v *OtherAuthErr) FromWire(w wire.Value) error
FromWire deserializes a OtherAuthErr struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a OtherAuthErr struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v OtherAuthErr if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*OtherAuthErr) GetMessage ¶
func (v *OtherAuthErr) GetMessage() (o string)
GetMessage returns the value of Message if it is set or its zero value if it is unset.
func (OtherAuthErr) MarshalEasyJSON ¶
func (v OtherAuthErr) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (OtherAuthErr) MarshalJSON ¶
func (v OtherAuthErr) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*OtherAuthErr) MarshalLogObject ¶
func (v *OtherAuthErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of OtherAuthErr.
func (*OtherAuthErr) String ¶
func (v *OtherAuthErr) String() string
String returns a readable string representation of a OtherAuthErr struct.
func (*OtherAuthErr) ToWire ¶
func (v *OtherAuthErr) ToWire() (wire.Value, error)
ToWire translates a OtherAuthErr struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*OtherAuthErr) UnmarshalEasyJSON ¶
func (v *OtherAuthErr) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*OtherAuthErr) UnmarshalJSON ¶
func (v *OtherAuthErr) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type Profile ¶
type Profile struct {
Recur1 *Recur1 `json:"recur1,required"`
}
func (*Profile) Decode ¶ added in v1.1.1
Decode deserializes a Profile struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Profile struct could not be generated from the wire representation.
func (*Profile) Encode ¶ added in v1.1.1
Encode serializes a Profile struct directly into bytes, without going through an intermediary type.
An error is returned if a Profile struct could not be encoded.
func (*Profile) Equals ¶
Equals returns true if all the fields of this Profile match the provided Profile.
This function performs a deep comparison.
func (*Profile) FromWire ¶
FromWire deserializes a Profile struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Profile struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Profile if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Profile) GetRecur1 ¶
GetRecur1 returns the value of Recur1 if it is set or its zero value if it is unset.
func (*Profile) IsSetRecur1 ¶
IsSetRecur1 returns true if Recur1 is not nil.
func (Profile) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Profile) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Profile) MarshalLogObject ¶
func (v *Profile) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Profile.
func (*Profile) ToWire ¶
ToWire translates a Profile struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Profile) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Profile) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Recur1 ¶
func (*Recur1) Decode ¶ added in v1.1.1
Decode deserializes a Recur1 struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Recur1 struct could not be generated from the wire representation.
func (*Recur1) Encode ¶ added in v1.1.1
Encode serializes a Recur1 struct directly into bytes, without going through an intermediary type.
An error is returned if a Recur1 struct could not be encoded.
func (*Recur1) Equals ¶
Equals returns true if all the fields of this Recur1 match the provided Recur1.
This function performs a deep comparison.
func (*Recur1) FromWire ¶
FromWire deserializes a Recur1 struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Recur1 struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Recur1 if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Recur1) GetField1 ¶
GetField1 returns the value of Field1 if it is set or its zero value if it is unset.
func (*Recur1) IsSetField1 ¶
IsSetField1 returns true if Field1 is not nil.
func (Recur1) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Recur1) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Recur1) MarshalLogObject ¶
func (v *Recur1) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Recur1.
func (*Recur1) ToWire ¶
ToWire translates a Recur1 struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Recur1) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Recur1) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Recur2 ¶
type Recur2 struct { Field21 *Recur3 `json:"field21,required"` Field22 *Recur3 `json:"field22,required"` }
func (*Recur2) Decode ¶ added in v1.1.1
Decode deserializes a Recur2 struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Recur2 struct could not be generated from the wire representation.
func (*Recur2) Encode ¶ added in v1.1.1
Encode serializes a Recur2 struct directly into bytes, without going through an intermediary type.
An error is returned if a Recur2 struct could not be encoded.
func (*Recur2) Equals ¶
Equals returns true if all the fields of this Recur2 match the provided Recur2.
This function performs a deep comparison.
func (*Recur2) FromWire ¶
FromWire deserializes a Recur2 struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Recur2 struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Recur2 if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Recur2) GetField21 ¶
GetField21 returns the value of Field21 if it is set or its zero value if it is unset.
func (*Recur2) GetField22 ¶
GetField22 returns the value of Field22 if it is set or its zero value if it is unset.
func (*Recur2) IsSetField21 ¶
IsSetField21 returns true if Field21 is not nil.
func (*Recur2) IsSetField22 ¶
IsSetField22 returns true if Field22 is not nil.
func (Recur2) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Recur2) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Recur2) MarshalLogObject ¶
func (v *Recur2) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Recur2.
func (*Recur2) ToWire ¶
ToWire translates a Recur2 struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Recur2) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Recur2) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Recur3 ¶
type Recur3 struct {
Field31 UUID `json:"field31,required"`
}
func (*Recur3) Decode ¶ added in v1.1.1
Decode deserializes a Recur3 struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Recur3 struct could not be generated from the wire representation.
func (*Recur3) Encode ¶ added in v1.1.1
Encode serializes a Recur3 struct directly into bytes, without going through an intermediary type.
An error is returned if a Recur3 struct could not be encoded.
func (*Recur3) Equals ¶
Equals returns true if all the fields of this Recur3 match the provided Recur3.
This function performs a deep comparison.
func (*Recur3) FromWire ¶
FromWire deserializes a Recur3 struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a Recur3 struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Recur3 if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Recur3) GetField31 ¶
GetField31 returns the value of Field31 if it is set or its zero value if it is unset.
func (Recur3) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Recur3) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Recur3) MarshalLogObject ¶
func (v *Recur3) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Recur3.
func (*Recur3) ToWire ¶
ToWire translates a Recur3 struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*Recur3) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Recur3) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type ServerErr ¶
type ServerErr struct {
Message string `json:"message,required"`
}
func (*ServerErr) Decode ¶ added in v1.1.1
Decode deserializes a ServerErr struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a ServerErr struct could not be generated from the wire representation.
func (*ServerErr) Encode ¶ added in v1.1.1
Encode serializes a ServerErr struct directly into bytes, without going through an intermediary type.
An error is returned if a ServerErr struct could not be encoded.
func (*ServerErr) Equals ¶
Equals returns true if all the fields of this ServerErr match the provided ServerErr.
This function performs a deep comparison.
func (*ServerErr) FromWire ¶
FromWire deserializes a ServerErr struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a ServerErr struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v ServerErr if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*ServerErr) GetMessage ¶
GetMessage returns the value of Message if it is set or its zero value if it is unset.
func (ServerErr) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (ServerErr) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*ServerErr) MarshalLogObject ¶
func (v *ServerErr) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of ServerErr.
func (*ServerErr) ToWire ¶
ToWire translates a ServerErr struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*ServerErr) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ServerErr) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_AnotherCall_Args ¶
type SimpleService_AnotherCall_Args struct { Arg *BazRequest `json:"arg,required"` I64Optional *int64 `json:"i64Optional,omitempty"` TestUUID *UUID `json:"testUUID,omitempty"` }
SimpleService_AnotherCall_Args represents the arguments for the SimpleService.anotherCall function.
The arguments for anotherCall are sent and received over the wire as this struct.
func (*SimpleService_AnotherCall_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_AnotherCall_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_AnotherCall_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_AnotherCall_Args struct could not be generated from the wire representation.
func (*SimpleService_AnotherCall_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_AnotherCall_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_AnotherCall_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_AnotherCall_Args struct could not be encoded.
func (*SimpleService_AnotherCall_Args) EnvelopeType ¶
func (v *SimpleService_AnotherCall_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_AnotherCall_Args) Equals ¶
func (v *SimpleService_AnotherCall_Args) Equals(rhs *SimpleService_AnotherCall_Args) bool
Equals returns true if all the fields of this SimpleService_AnotherCall_Args match the provided SimpleService_AnotherCall_Args.
This function performs a deep comparison.
func (*SimpleService_AnotherCall_Args) FromWire ¶
func (v *SimpleService_AnotherCall_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_AnotherCall_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_AnotherCall_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_AnotherCall_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_AnotherCall_Args) GetArg ¶
func (v *SimpleService_AnotherCall_Args) GetArg() (o *BazRequest)
GetArg returns the value of Arg if it is set or its zero value if it is unset.
func (*SimpleService_AnotherCall_Args) GetI64Optional ¶
func (v *SimpleService_AnotherCall_Args) GetI64Optional() (o int64)
GetI64Optional returns the value of I64Optional if it is set or its zero value if it is unset.
func (*SimpleService_AnotherCall_Args) GetTestUUID ¶
func (v *SimpleService_AnotherCall_Args) GetTestUUID() (o UUID)
GetTestUUID returns the value of TestUUID if it is set or its zero value if it is unset.
func (*SimpleService_AnotherCall_Args) IsSetArg ¶
func (v *SimpleService_AnotherCall_Args) IsSetArg() bool
IsSetArg returns true if Arg is not nil.
func (*SimpleService_AnotherCall_Args) IsSetI64Optional ¶
func (v *SimpleService_AnotherCall_Args) IsSetI64Optional() bool
IsSetI64Optional returns true if I64Optional is not nil.
func (*SimpleService_AnotherCall_Args) IsSetTestUUID ¶
func (v *SimpleService_AnotherCall_Args) IsSetTestUUID() bool
IsSetTestUUID returns true if TestUUID is not nil.
func (SimpleService_AnotherCall_Args) MarshalEasyJSON ¶
func (v SimpleService_AnotherCall_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_AnotherCall_Args) MarshalJSON ¶
func (v SimpleService_AnotherCall_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_AnotherCall_Args) MarshalLogObject ¶
func (v *SimpleService_AnotherCall_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_AnotherCall_Args.
func (*SimpleService_AnotherCall_Args) MethodName ¶
func (v *SimpleService_AnotherCall_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "anotherCall" for this struct.
func (*SimpleService_AnotherCall_Args) String ¶
func (v *SimpleService_AnotherCall_Args) String() string
String returns a readable string representation of a SimpleService_AnotherCall_Args struct.
func (*SimpleService_AnotherCall_Args) ToWire ¶
func (v *SimpleService_AnotherCall_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_AnotherCall_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_AnotherCall_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_AnotherCall_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_AnotherCall_Args) UnmarshalJSON ¶
func (v *SimpleService_AnotherCall_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_AnotherCall_Result ¶
type SimpleService_AnotherCall_Result struct {
AuthErr *AuthErr `json:"authErr,omitempty"`
}
SimpleService_AnotherCall_Result represents the result of a SimpleService.anotherCall function call.
The result of a anotherCall execution is sent and received over the wire as this struct.
func (*SimpleService_AnotherCall_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_AnotherCall_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_AnotherCall_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_AnotherCall_Result struct could not be generated from the wire representation.
func (*SimpleService_AnotherCall_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_AnotherCall_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_AnotherCall_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_AnotherCall_Result struct could not be encoded.
func (*SimpleService_AnotherCall_Result) EnvelopeType ¶
func (v *SimpleService_AnotherCall_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_AnotherCall_Result) Equals ¶
func (v *SimpleService_AnotherCall_Result) Equals(rhs *SimpleService_AnotherCall_Result) bool
Equals returns true if all the fields of this SimpleService_AnotherCall_Result match the provided SimpleService_AnotherCall_Result.
This function performs a deep comparison.
func (*SimpleService_AnotherCall_Result) FromWire ¶
func (v *SimpleService_AnotherCall_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_AnotherCall_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_AnotherCall_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_AnotherCall_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_AnotherCall_Result) GetAuthErr ¶
func (v *SimpleService_AnotherCall_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_AnotherCall_Result) IsSetAuthErr ¶
func (v *SimpleService_AnotherCall_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (SimpleService_AnotherCall_Result) MarshalEasyJSON ¶
func (v SimpleService_AnotherCall_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_AnotherCall_Result) MarshalJSON ¶
func (v SimpleService_AnotherCall_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_AnotherCall_Result) MarshalLogObject ¶
func (v *SimpleService_AnotherCall_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_AnotherCall_Result.
func (*SimpleService_AnotherCall_Result) MethodName ¶
func (v *SimpleService_AnotherCall_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "anotherCall" for this struct.
func (*SimpleService_AnotherCall_Result) String ¶
func (v *SimpleService_AnotherCall_Result) String() string
String returns a readable string representation of a SimpleService_AnotherCall_Result struct.
func (*SimpleService_AnotherCall_Result) ToWire ¶
func (v *SimpleService_AnotherCall_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_AnotherCall_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_AnotherCall_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_AnotherCall_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_AnotherCall_Result) UnmarshalJSON ¶
func (v *SimpleService_AnotherCall_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Call_Args ¶
type SimpleService_Call_Args struct { Arg *BazRequest `json:"arg,required"` I64Optional *int64 `json:"i64Optional,omitempty"` TestUUID *UUID `json:"testUUID,omitempty"` }
SimpleService_Call_Args represents the arguments for the SimpleService.call function.
The arguments for call are sent and received over the wire as this struct.
func (*SimpleService_Call_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_Call_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Call_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Call_Args struct could not be generated from the wire representation.
func (*SimpleService_Call_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_Call_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Call_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Call_Args struct could not be encoded.
func (*SimpleService_Call_Args) EnvelopeType ¶
func (v *SimpleService_Call_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_Call_Args) Equals ¶
func (v *SimpleService_Call_Args) Equals(rhs *SimpleService_Call_Args) bool
Equals returns true if all the fields of this SimpleService_Call_Args match the provided SimpleService_Call_Args.
This function performs a deep comparison.
func (*SimpleService_Call_Args) FromWire ¶
func (v *SimpleService_Call_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Call_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Call_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Call_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Call_Args) GetArg ¶
func (v *SimpleService_Call_Args) GetArg() (o *BazRequest)
GetArg returns the value of Arg if it is set or its zero value if it is unset.
func (*SimpleService_Call_Args) GetI64Optional ¶
func (v *SimpleService_Call_Args) GetI64Optional() (o int64)
GetI64Optional returns the value of I64Optional if it is set or its zero value if it is unset.
func (*SimpleService_Call_Args) GetTestUUID ¶
func (v *SimpleService_Call_Args) GetTestUUID() (o UUID)
GetTestUUID returns the value of TestUUID if it is set or its zero value if it is unset.
func (*SimpleService_Call_Args) IsSetArg ¶
func (v *SimpleService_Call_Args) IsSetArg() bool
IsSetArg returns true if Arg is not nil.
func (*SimpleService_Call_Args) IsSetI64Optional ¶
func (v *SimpleService_Call_Args) IsSetI64Optional() bool
IsSetI64Optional returns true if I64Optional is not nil.
func (*SimpleService_Call_Args) IsSetTestUUID ¶
func (v *SimpleService_Call_Args) IsSetTestUUID() bool
IsSetTestUUID returns true if TestUUID is not nil.
func (SimpleService_Call_Args) MarshalEasyJSON ¶
func (v SimpleService_Call_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Call_Args) MarshalJSON ¶
func (v SimpleService_Call_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Call_Args) MarshalLogObject ¶
func (v *SimpleService_Call_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Call_Args.
func (*SimpleService_Call_Args) MethodName ¶
func (v *SimpleService_Call_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "call" for this struct.
func (*SimpleService_Call_Args) String ¶
func (v *SimpleService_Call_Args) String() string
String returns a readable string representation of a SimpleService_Call_Args struct.
func (*SimpleService_Call_Args) ToWire ¶
func (v *SimpleService_Call_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Call_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Call_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_Call_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Call_Args) UnmarshalJSON ¶
func (v *SimpleService_Call_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Call_Result ¶
type SimpleService_Call_Result struct {
AuthErr *AuthErr `json:"authErr,omitempty"`
}
SimpleService_Call_Result represents the result of a SimpleService.call function call.
The result of a call execution is sent and received over the wire as this struct.
func (*SimpleService_Call_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_Call_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Call_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Call_Result struct could not be generated from the wire representation.
func (*SimpleService_Call_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_Call_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Call_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Call_Result struct could not be encoded.
func (*SimpleService_Call_Result) EnvelopeType ¶
func (v *SimpleService_Call_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_Call_Result) Equals ¶
func (v *SimpleService_Call_Result) Equals(rhs *SimpleService_Call_Result) bool
Equals returns true if all the fields of this SimpleService_Call_Result match the provided SimpleService_Call_Result.
This function performs a deep comparison.
func (*SimpleService_Call_Result) FromWire ¶
func (v *SimpleService_Call_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Call_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Call_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Call_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Call_Result) GetAuthErr ¶
func (v *SimpleService_Call_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_Call_Result) IsSetAuthErr ¶
func (v *SimpleService_Call_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (SimpleService_Call_Result) MarshalEasyJSON ¶
func (v SimpleService_Call_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Call_Result) MarshalJSON ¶
func (v SimpleService_Call_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Call_Result) MarshalLogObject ¶
func (v *SimpleService_Call_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Call_Result.
func (*SimpleService_Call_Result) MethodName ¶
func (v *SimpleService_Call_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "call" for this struct.
func (*SimpleService_Call_Result) String ¶
func (v *SimpleService_Call_Result) String() string
String returns a readable string representation of a SimpleService_Call_Result struct.
func (*SimpleService_Call_Result) ToWire ¶
func (v *SimpleService_Call_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Call_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Call_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_Call_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Call_Result) UnmarshalJSON ¶
func (v *SimpleService_Call_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Compare_Args ¶
type SimpleService_Compare_Args struct { Arg1 *BazRequest `json:"arg1,required"` Arg2 *BazRequest `json:"arg2,required"` }
SimpleService_Compare_Args represents the arguments for the SimpleService.compare function.
The arguments for compare are sent and received over the wire as this struct.
func (*SimpleService_Compare_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_Compare_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Compare_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Compare_Args struct could not be generated from the wire representation.
func (*SimpleService_Compare_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_Compare_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Compare_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Compare_Args struct could not be encoded.
func (*SimpleService_Compare_Args) EnvelopeType ¶
func (v *SimpleService_Compare_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_Compare_Args) Equals ¶
func (v *SimpleService_Compare_Args) Equals(rhs *SimpleService_Compare_Args) bool
Equals returns true if all the fields of this SimpleService_Compare_Args match the provided SimpleService_Compare_Args.
This function performs a deep comparison.
func (*SimpleService_Compare_Args) FromWire ¶
func (v *SimpleService_Compare_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Compare_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Compare_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Compare_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Compare_Args) GetArg1 ¶
func (v *SimpleService_Compare_Args) GetArg1() (o *BazRequest)
GetArg1 returns the value of Arg1 if it is set or its zero value if it is unset.
func (*SimpleService_Compare_Args) GetArg2 ¶
func (v *SimpleService_Compare_Args) GetArg2() (o *BazRequest)
GetArg2 returns the value of Arg2 if it is set or its zero value if it is unset.
func (*SimpleService_Compare_Args) IsSetArg1 ¶
func (v *SimpleService_Compare_Args) IsSetArg1() bool
IsSetArg1 returns true if Arg1 is not nil.
func (*SimpleService_Compare_Args) IsSetArg2 ¶
func (v *SimpleService_Compare_Args) IsSetArg2() bool
IsSetArg2 returns true if Arg2 is not nil.
func (SimpleService_Compare_Args) MarshalEasyJSON ¶
func (v SimpleService_Compare_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Compare_Args) MarshalJSON ¶
func (v SimpleService_Compare_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Compare_Args) MarshalLogObject ¶
func (v *SimpleService_Compare_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Compare_Args.
func (*SimpleService_Compare_Args) MethodName ¶
func (v *SimpleService_Compare_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "compare" for this struct.
func (*SimpleService_Compare_Args) String ¶
func (v *SimpleService_Compare_Args) String() string
String returns a readable string representation of a SimpleService_Compare_Args struct.
func (*SimpleService_Compare_Args) ToWire ¶
func (v *SimpleService_Compare_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Compare_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Compare_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_Compare_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Compare_Args) UnmarshalJSON ¶
func (v *SimpleService_Compare_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Compare_Result ¶
type SimpleService_Compare_Result struct { // Value returned by compare after a successful execution. Success *BazResponse `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"` }
SimpleService_Compare_Result represents the result of a SimpleService.compare function call.
The result of a compare execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_Compare_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_Compare_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Compare_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Compare_Result struct could not be generated from the wire representation.
func (*SimpleService_Compare_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_Compare_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Compare_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Compare_Result struct could not be encoded.
func (*SimpleService_Compare_Result) EnvelopeType ¶
func (v *SimpleService_Compare_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_Compare_Result) Equals ¶
func (v *SimpleService_Compare_Result) Equals(rhs *SimpleService_Compare_Result) bool
Equals returns true if all the fields of this SimpleService_Compare_Result match the provided SimpleService_Compare_Result.
This function performs a deep comparison.
func (*SimpleService_Compare_Result) FromWire ¶
func (v *SimpleService_Compare_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Compare_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Compare_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Compare_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Compare_Result) GetAuthErr ¶
func (v *SimpleService_Compare_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_Compare_Result) GetOtherAuthErr ¶
func (v *SimpleService_Compare_Result) GetOtherAuthErr() (o *OtherAuthErr)
GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.
func (*SimpleService_Compare_Result) GetSuccess ¶
func (v *SimpleService_Compare_Result) GetSuccess() (o *BazResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_Compare_Result) IsSetAuthErr ¶
func (v *SimpleService_Compare_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_Compare_Result) IsSetOtherAuthErr ¶
func (v *SimpleService_Compare_Result) IsSetOtherAuthErr() bool
IsSetOtherAuthErr returns true if OtherAuthErr is not nil.
func (*SimpleService_Compare_Result) IsSetSuccess ¶
func (v *SimpleService_Compare_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_Compare_Result) MarshalEasyJSON ¶
func (v SimpleService_Compare_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Compare_Result) MarshalJSON ¶
func (v SimpleService_Compare_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Compare_Result) MarshalLogObject ¶
func (v *SimpleService_Compare_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Compare_Result.
func (*SimpleService_Compare_Result) MethodName ¶
func (v *SimpleService_Compare_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "compare" for this struct.
func (*SimpleService_Compare_Result) String ¶
func (v *SimpleService_Compare_Result) String() string
String returns a readable string representation of a SimpleService_Compare_Result struct.
func (*SimpleService_Compare_Result) ToWire ¶
func (v *SimpleService_Compare_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Compare_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Compare_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_Compare_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Compare_Result) UnmarshalJSON ¶
func (v *SimpleService_Compare_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_GetProfile_Args ¶
type SimpleService_GetProfile_Args struct {
Request *GetProfileRequest `json:"request,required"`
}
SimpleService_GetProfile_Args represents the arguments for the SimpleService.getProfile function.
The arguments for getProfile are sent and received over the wire as this struct.
func (*SimpleService_GetProfile_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_GetProfile_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_GetProfile_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_GetProfile_Args struct could not be generated from the wire representation.
func (*SimpleService_GetProfile_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_GetProfile_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_GetProfile_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_GetProfile_Args struct could not be encoded.
func (*SimpleService_GetProfile_Args) EnvelopeType ¶
func (v *SimpleService_GetProfile_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_GetProfile_Args) Equals ¶
func (v *SimpleService_GetProfile_Args) Equals(rhs *SimpleService_GetProfile_Args) bool
Equals returns true if all the fields of this SimpleService_GetProfile_Args match the provided SimpleService_GetProfile_Args.
This function performs a deep comparison.
func (*SimpleService_GetProfile_Args) FromWire ¶
func (v *SimpleService_GetProfile_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_GetProfile_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_GetProfile_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_GetProfile_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_GetProfile_Args) GetRequest ¶
func (v *SimpleService_GetProfile_Args) GetRequest() (o *GetProfileRequest)
GetRequest returns the value of Request if it is set or its zero value if it is unset.
func (*SimpleService_GetProfile_Args) IsSetRequest ¶
func (v *SimpleService_GetProfile_Args) IsSetRequest() bool
IsSetRequest returns true if Request is not nil.
func (SimpleService_GetProfile_Args) MarshalEasyJSON ¶
func (v SimpleService_GetProfile_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_GetProfile_Args) MarshalJSON ¶
func (v SimpleService_GetProfile_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_GetProfile_Args) MarshalLogObject ¶
func (v *SimpleService_GetProfile_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_GetProfile_Args.
func (*SimpleService_GetProfile_Args) MethodName ¶
func (v *SimpleService_GetProfile_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "getProfile" for this struct.
func (*SimpleService_GetProfile_Args) String ¶
func (v *SimpleService_GetProfile_Args) String() string
String returns a readable string representation of a SimpleService_GetProfile_Args struct.
func (*SimpleService_GetProfile_Args) ToWire ¶
func (v *SimpleService_GetProfile_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_GetProfile_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_GetProfile_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_GetProfile_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_GetProfile_Args) UnmarshalJSON ¶
func (v *SimpleService_GetProfile_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_GetProfile_Result ¶
type SimpleService_GetProfile_Result struct { // Value returned by getProfile after a successful execution. Success *GetProfileResponse `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` }
SimpleService_GetProfile_Result represents the result of a SimpleService.getProfile function call.
The result of a getProfile execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_GetProfile_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_GetProfile_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_GetProfile_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_GetProfile_Result struct could not be generated from the wire representation.
func (*SimpleService_GetProfile_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_GetProfile_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_GetProfile_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_GetProfile_Result struct could not be encoded.
func (*SimpleService_GetProfile_Result) EnvelopeType ¶
func (v *SimpleService_GetProfile_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_GetProfile_Result) Equals ¶
func (v *SimpleService_GetProfile_Result) Equals(rhs *SimpleService_GetProfile_Result) bool
Equals returns true if all the fields of this SimpleService_GetProfile_Result match the provided SimpleService_GetProfile_Result.
This function performs a deep comparison.
func (*SimpleService_GetProfile_Result) FromWire ¶
func (v *SimpleService_GetProfile_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_GetProfile_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_GetProfile_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_GetProfile_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_GetProfile_Result) GetAuthErr ¶
func (v *SimpleService_GetProfile_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_GetProfile_Result) GetSuccess ¶
func (v *SimpleService_GetProfile_Result) GetSuccess() (o *GetProfileResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_GetProfile_Result) IsSetAuthErr ¶
func (v *SimpleService_GetProfile_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_GetProfile_Result) IsSetSuccess ¶
func (v *SimpleService_GetProfile_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_GetProfile_Result) MarshalEasyJSON ¶
func (v SimpleService_GetProfile_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_GetProfile_Result) MarshalJSON ¶
func (v SimpleService_GetProfile_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_GetProfile_Result) MarshalLogObject ¶
func (v *SimpleService_GetProfile_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_GetProfile_Result.
func (*SimpleService_GetProfile_Result) MethodName ¶
func (v *SimpleService_GetProfile_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "getProfile" for this struct.
func (*SimpleService_GetProfile_Result) String ¶
func (v *SimpleService_GetProfile_Result) String() string
String returns a readable string representation of a SimpleService_GetProfile_Result struct.
func (*SimpleService_GetProfile_Result) ToWire ¶
func (v *SimpleService_GetProfile_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_GetProfile_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_GetProfile_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_GetProfile_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_GetProfile_Result) UnmarshalJSON ¶
func (v *SimpleService_GetProfile_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_HeaderSchema_Args ¶
type SimpleService_HeaderSchema_Args struct {
Req *HeaderSchema `json:"req,required"`
}
SimpleService_HeaderSchema_Args represents the arguments for the SimpleService.headerSchema function.
The arguments for headerSchema are sent and received over the wire as this struct.
func (*SimpleService_HeaderSchema_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_HeaderSchema_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_HeaderSchema_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_HeaderSchema_Args struct could not be generated from the wire representation.
func (*SimpleService_HeaderSchema_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_HeaderSchema_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_HeaderSchema_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_HeaderSchema_Args struct could not be encoded.
func (*SimpleService_HeaderSchema_Args) EnvelopeType ¶
func (v *SimpleService_HeaderSchema_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_HeaderSchema_Args) Equals ¶
func (v *SimpleService_HeaderSchema_Args) Equals(rhs *SimpleService_HeaderSchema_Args) bool
Equals returns true if all the fields of this SimpleService_HeaderSchema_Args match the provided SimpleService_HeaderSchema_Args.
This function performs a deep comparison.
func (*SimpleService_HeaderSchema_Args) FromWire ¶
func (v *SimpleService_HeaderSchema_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_HeaderSchema_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_HeaderSchema_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_HeaderSchema_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_HeaderSchema_Args) GetReq ¶
func (v *SimpleService_HeaderSchema_Args) GetReq() (o *HeaderSchema)
GetReq returns the value of Req if it is set or its zero value if it is unset.
func (*SimpleService_HeaderSchema_Args) IsSetReq ¶
func (v *SimpleService_HeaderSchema_Args) IsSetReq() bool
IsSetReq returns true if Req is not nil.
func (SimpleService_HeaderSchema_Args) MarshalEasyJSON ¶
func (v SimpleService_HeaderSchema_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_HeaderSchema_Args) MarshalJSON ¶
func (v SimpleService_HeaderSchema_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_HeaderSchema_Args) MarshalLogObject ¶
func (v *SimpleService_HeaderSchema_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_HeaderSchema_Args.
func (*SimpleService_HeaderSchema_Args) MethodName ¶
func (v *SimpleService_HeaderSchema_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "headerSchema" for this struct.
func (*SimpleService_HeaderSchema_Args) String ¶
func (v *SimpleService_HeaderSchema_Args) String() string
String returns a readable string representation of a SimpleService_HeaderSchema_Args struct.
func (*SimpleService_HeaderSchema_Args) ToWire ¶
func (v *SimpleService_HeaderSchema_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_HeaderSchema_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_HeaderSchema_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_HeaderSchema_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_HeaderSchema_Args) UnmarshalJSON ¶
func (v *SimpleService_HeaderSchema_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_HeaderSchema_Result ¶
type SimpleService_HeaderSchema_Result struct { // Value returned by headerSchema after a successful execution. Success *HeaderSchema `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"` }
SimpleService_HeaderSchema_Result represents the result of a SimpleService.headerSchema function call.
The result of a headerSchema execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_HeaderSchema_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_HeaderSchema_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_HeaderSchema_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_HeaderSchema_Result struct could not be generated from the wire representation.
func (*SimpleService_HeaderSchema_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_HeaderSchema_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_HeaderSchema_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_HeaderSchema_Result struct could not be encoded.
func (*SimpleService_HeaderSchema_Result) EnvelopeType ¶
func (v *SimpleService_HeaderSchema_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_HeaderSchema_Result) Equals ¶
func (v *SimpleService_HeaderSchema_Result) Equals(rhs *SimpleService_HeaderSchema_Result) bool
Equals returns true if all the fields of this SimpleService_HeaderSchema_Result match the provided SimpleService_HeaderSchema_Result.
This function performs a deep comparison.
func (*SimpleService_HeaderSchema_Result) FromWire ¶
func (v *SimpleService_HeaderSchema_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_HeaderSchema_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_HeaderSchema_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_HeaderSchema_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_HeaderSchema_Result) GetAuthErr ¶
func (v *SimpleService_HeaderSchema_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_HeaderSchema_Result) GetOtherAuthErr ¶
func (v *SimpleService_HeaderSchema_Result) GetOtherAuthErr() (o *OtherAuthErr)
GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.
func (*SimpleService_HeaderSchema_Result) GetSuccess ¶
func (v *SimpleService_HeaderSchema_Result) GetSuccess() (o *HeaderSchema)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_HeaderSchema_Result) IsSetAuthErr ¶
func (v *SimpleService_HeaderSchema_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_HeaderSchema_Result) IsSetOtherAuthErr ¶
func (v *SimpleService_HeaderSchema_Result) IsSetOtherAuthErr() bool
IsSetOtherAuthErr returns true if OtherAuthErr is not nil.
func (*SimpleService_HeaderSchema_Result) IsSetSuccess ¶
func (v *SimpleService_HeaderSchema_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_HeaderSchema_Result) MarshalEasyJSON ¶
func (v SimpleService_HeaderSchema_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_HeaderSchema_Result) MarshalJSON ¶
func (v SimpleService_HeaderSchema_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_HeaderSchema_Result) MarshalLogObject ¶
func (v *SimpleService_HeaderSchema_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_HeaderSchema_Result.
func (*SimpleService_HeaderSchema_Result) MethodName ¶
func (v *SimpleService_HeaderSchema_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "headerSchema" for this struct.
func (*SimpleService_HeaderSchema_Result) String ¶
func (v *SimpleService_HeaderSchema_Result) String() string
String returns a readable string representation of a SimpleService_HeaderSchema_Result struct.
func (*SimpleService_HeaderSchema_Result) ToWire ¶
func (v *SimpleService_HeaderSchema_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_HeaderSchema_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_HeaderSchema_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_HeaderSchema_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_HeaderSchema_Result) UnmarshalJSON ¶
func (v *SimpleService_HeaderSchema_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Ping_Args ¶
type SimpleService_Ping_Args struct { }
SimpleService_Ping_Args represents the arguments for the SimpleService.ping function.
The arguments for ping are sent and received over the wire as this struct.
func (*SimpleService_Ping_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_Ping_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Ping_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Ping_Args struct could not be generated from the wire representation.
func (*SimpleService_Ping_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_Ping_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Ping_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Ping_Args struct could not be encoded.
func (*SimpleService_Ping_Args) EnvelopeType ¶
func (v *SimpleService_Ping_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_Ping_Args) Equals ¶
func (v *SimpleService_Ping_Args) Equals(rhs *SimpleService_Ping_Args) bool
Equals returns true if all the fields of this SimpleService_Ping_Args match the provided SimpleService_Ping_Args.
This function performs a deep comparison.
func (*SimpleService_Ping_Args) FromWire ¶
func (v *SimpleService_Ping_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Ping_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Ping_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Ping_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_Ping_Args) MarshalEasyJSON ¶
func (v SimpleService_Ping_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Ping_Args) MarshalJSON ¶
func (v SimpleService_Ping_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Ping_Args) MarshalLogObject ¶
func (v *SimpleService_Ping_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Ping_Args.
func (*SimpleService_Ping_Args) MethodName ¶
func (v *SimpleService_Ping_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "ping" for this struct.
func (*SimpleService_Ping_Args) String ¶
func (v *SimpleService_Ping_Args) String() string
String returns a readable string representation of a SimpleService_Ping_Args struct.
func (*SimpleService_Ping_Args) ToWire ¶
func (v *SimpleService_Ping_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Ping_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Ping_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_Ping_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Ping_Args) UnmarshalJSON ¶
func (v *SimpleService_Ping_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Ping_Result ¶
type SimpleService_Ping_Result struct { // Value returned by ping after a successful execution. Success *BazResponse `json:"success,omitempty"` }
SimpleService_Ping_Result represents the result of a SimpleService.ping function call.
The result of a ping execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_Ping_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_Ping_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Ping_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Ping_Result struct could not be generated from the wire representation.
func (*SimpleService_Ping_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_Ping_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Ping_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Ping_Result struct could not be encoded.
func (*SimpleService_Ping_Result) EnvelopeType ¶
func (v *SimpleService_Ping_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_Ping_Result) Equals ¶
func (v *SimpleService_Ping_Result) Equals(rhs *SimpleService_Ping_Result) bool
Equals returns true if all the fields of this SimpleService_Ping_Result match the provided SimpleService_Ping_Result.
This function performs a deep comparison.
func (*SimpleService_Ping_Result) FromWire ¶
func (v *SimpleService_Ping_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Ping_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Ping_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Ping_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Ping_Result) GetSuccess ¶
func (v *SimpleService_Ping_Result) GetSuccess() (o *BazResponse)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_Ping_Result) IsSetSuccess ¶
func (v *SimpleService_Ping_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_Ping_Result) MarshalEasyJSON ¶
func (v SimpleService_Ping_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Ping_Result) MarshalJSON ¶
func (v SimpleService_Ping_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Ping_Result) MarshalLogObject ¶
func (v *SimpleService_Ping_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Ping_Result.
func (*SimpleService_Ping_Result) MethodName ¶
func (v *SimpleService_Ping_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "ping" for this struct.
func (*SimpleService_Ping_Result) String ¶
func (v *SimpleService_Ping_Result) String() string
String returns a readable string representation of a SimpleService_Ping_Result struct.
func (*SimpleService_Ping_Result) ToWire ¶
func (v *SimpleService_Ping_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Ping_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Ping_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_Ping_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Ping_Result) UnmarshalJSON ¶
func (v *SimpleService_Ping_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_SillyNoop_Args ¶
type SimpleService_SillyNoop_Args struct { }
SimpleService_SillyNoop_Args represents the arguments for the SimpleService.sillyNoop function.
The arguments for sillyNoop are sent and received over the wire as this struct.
func (*SimpleService_SillyNoop_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_SillyNoop_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_SillyNoop_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_SillyNoop_Args struct could not be generated from the wire representation.
func (*SimpleService_SillyNoop_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_SillyNoop_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_SillyNoop_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_SillyNoop_Args struct could not be encoded.
func (*SimpleService_SillyNoop_Args) EnvelopeType ¶
func (v *SimpleService_SillyNoop_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_SillyNoop_Args) Equals ¶
func (v *SimpleService_SillyNoop_Args) Equals(rhs *SimpleService_SillyNoop_Args) bool
Equals returns true if all the fields of this SimpleService_SillyNoop_Args match the provided SimpleService_SillyNoop_Args.
This function performs a deep comparison.
func (*SimpleService_SillyNoop_Args) FromWire ¶
func (v *SimpleService_SillyNoop_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_SillyNoop_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_SillyNoop_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_SillyNoop_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_SillyNoop_Args) MarshalEasyJSON ¶
func (v SimpleService_SillyNoop_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_SillyNoop_Args) MarshalJSON ¶
func (v SimpleService_SillyNoop_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_SillyNoop_Args) MarshalLogObject ¶
func (v *SimpleService_SillyNoop_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_SillyNoop_Args.
func (*SimpleService_SillyNoop_Args) MethodName ¶
func (v *SimpleService_SillyNoop_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "sillyNoop" for this struct.
func (*SimpleService_SillyNoop_Args) String ¶
func (v *SimpleService_SillyNoop_Args) String() string
String returns a readable string representation of a SimpleService_SillyNoop_Args struct.
func (*SimpleService_SillyNoop_Args) ToWire ¶
func (v *SimpleService_SillyNoop_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_SillyNoop_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_SillyNoop_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_SillyNoop_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_SillyNoop_Args) UnmarshalJSON ¶
func (v *SimpleService_SillyNoop_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_SillyNoop_Result ¶
type SimpleService_SillyNoop_Result struct { AuthErr *AuthErr `json:"authErr,omitempty"` ServerErr *ServerErr `json:"serverErr,omitempty"` }
SimpleService_SillyNoop_Result represents the result of a SimpleService.sillyNoop function call.
The result of a sillyNoop execution is sent and received over the wire as this struct.
func (*SimpleService_SillyNoop_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_SillyNoop_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_SillyNoop_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_SillyNoop_Result struct could not be generated from the wire representation.
func (*SimpleService_SillyNoop_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_SillyNoop_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_SillyNoop_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_SillyNoop_Result struct could not be encoded.
func (*SimpleService_SillyNoop_Result) EnvelopeType ¶
func (v *SimpleService_SillyNoop_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_SillyNoop_Result) Equals ¶
func (v *SimpleService_SillyNoop_Result) Equals(rhs *SimpleService_SillyNoop_Result) bool
Equals returns true if all the fields of this SimpleService_SillyNoop_Result match the provided SimpleService_SillyNoop_Result.
This function performs a deep comparison.
func (*SimpleService_SillyNoop_Result) FromWire ¶
func (v *SimpleService_SillyNoop_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_SillyNoop_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_SillyNoop_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_SillyNoop_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_SillyNoop_Result) GetAuthErr ¶
func (v *SimpleService_SillyNoop_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_SillyNoop_Result) GetServerErr ¶
func (v *SimpleService_SillyNoop_Result) GetServerErr() (o *ServerErr)
GetServerErr returns the value of ServerErr if it is set or its zero value if it is unset.
func (*SimpleService_SillyNoop_Result) IsSetAuthErr ¶
func (v *SimpleService_SillyNoop_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_SillyNoop_Result) IsSetServerErr ¶
func (v *SimpleService_SillyNoop_Result) IsSetServerErr() bool
IsSetServerErr returns true if ServerErr is not nil.
func (SimpleService_SillyNoop_Result) MarshalEasyJSON ¶
func (v SimpleService_SillyNoop_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_SillyNoop_Result) MarshalJSON ¶
func (v SimpleService_SillyNoop_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_SillyNoop_Result) MarshalLogObject ¶
func (v *SimpleService_SillyNoop_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_SillyNoop_Result.
func (*SimpleService_SillyNoop_Result) MethodName ¶
func (v *SimpleService_SillyNoop_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "sillyNoop" for this struct.
func (*SimpleService_SillyNoop_Result) String ¶
func (v *SimpleService_SillyNoop_Result) String() string
String returns a readable string representation of a SimpleService_SillyNoop_Result struct.
func (*SimpleService_SillyNoop_Result) ToWire ¶
func (v *SimpleService_SillyNoop_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_SillyNoop_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_SillyNoop_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_SillyNoop_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_SillyNoop_Result) UnmarshalJSON ¶
func (v *SimpleService_SillyNoop_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TestUuid_Args ¶
type SimpleService_TestUuid_Args struct { }
SimpleService_TestUuid_Args represents the arguments for the SimpleService.testUuid function.
The arguments for testUuid are sent and received over the wire as this struct.
func (*SimpleService_TestUuid_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_TestUuid_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TestUuid_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TestUuid_Args struct could not be generated from the wire representation.
func (*SimpleService_TestUuid_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_TestUuid_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TestUuid_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TestUuid_Args struct could not be encoded.
func (*SimpleService_TestUuid_Args) EnvelopeType ¶
func (v *SimpleService_TestUuid_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_TestUuid_Args) Equals ¶
func (v *SimpleService_TestUuid_Args) Equals(rhs *SimpleService_TestUuid_Args) bool
Equals returns true if all the fields of this SimpleService_TestUuid_Args match the provided SimpleService_TestUuid_Args.
This function performs a deep comparison.
func (*SimpleService_TestUuid_Args) FromWire ¶
func (v *SimpleService_TestUuid_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TestUuid_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TestUuid_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TestUuid_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_TestUuid_Args) MarshalEasyJSON ¶
func (v SimpleService_TestUuid_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TestUuid_Args) MarshalJSON ¶
func (v SimpleService_TestUuid_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TestUuid_Args) MarshalLogObject ¶
func (v *SimpleService_TestUuid_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TestUuid_Args.
func (*SimpleService_TestUuid_Args) MethodName ¶
func (v *SimpleService_TestUuid_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "testUuid" for this struct.
func (*SimpleService_TestUuid_Args) String ¶
func (v *SimpleService_TestUuid_Args) String() string
String returns a readable string representation of a SimpleService_TestUuid_Args struct.
func (*SimpleService_TestUuid_Args) ToWire ¶
func (v *SimpleService_TestUuid_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TestUuid_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TestUuid_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_TestUuid_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TestUuid_Args) UnmarshalJSON ¶
func (v *SimpleService_TestUuid_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TestUuid_Result ¶
type SimpleService_TestUuid_Result struct { }
SimpleService_TestUuid_Result represents the result of a SimpleService.testUuid function call.
The result of a testUuid execution is sent and received over the wire as this struct.
func (*SimpleService_TestUuid_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_TestUuid_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TestUuid_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TestUuid_Result struct could not be generated from the wire representation.
func (*SimpleService_TestUuid_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_TestUuid_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TestUuid_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TestUuid_Result struct could not be encoded.
func (*SimpleService_TestUuid_Result) EnvelopeType ¶
func (v *SimpleService_TestUuid_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_TestUuid_Result) Equals ¶
func (v *SimpleService_TestUuid_Result) Equals(rhs *SimpleService_TestUuid_Result) bool
Equals returns true if all the fields of this SimpleService_TestUuid_Result match the provided SimpleService_TestUuid_Result.
This function performs a deep comparison.
func (*SimpleService_TestUuid_Result) FromWire ¶
func (v *SimpleService_TestUuid_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TestUuid_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TestUuid_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TestUuid_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_TestUuid_Result) MarshalEasyJSON ¶
func (v SimpleService_TestUuid_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TestUuid_Result) MarshalJSON ¶
func (v SimpleService_TestUuid_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TestUuid_Result) MarshalLogObject ¶
func (v *SimpleService_TestUuid_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TestUuid_Result.
func (*SimpleService_TestUuid_Result) MethodName ¶
func (v *SimpleService_TestUuid_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "testUuid" for this struct.
func (*SimpleService_TestUuid_Result) String ¶
func (v *SimpleService_TestUuid_Result) String() string
String returns a readable string representation of a SimpleService_TestUuid_Result struct.
func (*SimpleService_TestUuid_Result) ToWire ¶
func (v *SimpleService_TestUuid_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TestUuid_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TestUuid_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_TestUuid_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TestUuid_Result) UnmarshalJSON ¶
func (v *SimpleService_TestUuid_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeadersNoReq_Args ¶
type SimpleService_TransHeadersNoReq_Args struct { }
SimpleService_TransHeadersNoReq_Args represents the arguments for the SimpleService.transHeadersNoReq function.
The arguments for transHeadersNoReq are sent and received over the wire as this struct.
func (*SimpleService_TransHeadersNoReq_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersNoReq_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeadersNoReq_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeadersNoReq_Args struct could not be generated from the wire representation.
func (*SimpleService_TransHeadersNoReq_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersNoReq_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeadersNoReq_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeadersNoReq_Args struct could not be encoded.
func (*SimpleService_TransHeadersNoReq_Args) EnvelopeType ¶
func (v *SimpleService_TransHeadersNoReq_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_TransHeadersNoReq_Args) Equals ¶
func (v *SimpleService_TransHeadersNoReq_Args) Equals(rhs *SimpleService_TransHeadersNoReq_Args) bool
Equals returns true if all the fields of this SimpleService_TransHeadersNoReq_Args match the provided SimpleService_TransHeadersNoReq_Args.
This function performs a deep comparison.
func (*SimpleService_TransHeadersNoReq_Args) FromWire ¶
func (v *SimpleService_TransHeadersNoReq_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeadersNoReq_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeadersNoReq_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeadersNoReq_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_TransHeadersNoReq_Args) MarshalEasyJSON ¶
func (v SimpleService_TransHeadersNoReq_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeadersNoReq_Args) MarshalJSON ¶
func (v SimpleService_TransHeadersNoReq_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeadersNoReq_Args) MarshalLogObject ¶
func (v *SimpleService_TransHeadersNoReq_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeadersNoReq_Args.
func (*SimpleService_TransHeadersNoReq_Args) MethodName ¶
func (v *SimpleService_TransHeadersNoReq_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "transHeadersNoReq" for this struct.
func (*SimpleService_TransHeadersNoReq_Args) String ¶
func (v *SimpleService_TransHeadersNoReq_Args) String() string
String returns a readable string representation of a SimpleService_TransHeadersNoReq_Args struct.
func (*SimpleService_TransHeadersNoReq_Args) ToWire ¶
func (v *SimpleService_TransHeadersNoReq_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeadersNoReq_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeadersNoReq_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeadersNoReq_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeadersNoReq_Args) UnmarshalJSON ¶
func (v *SimpleService_TransHeadersNoReq_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeadersNoReq_Result ¶
type SimpleService_TransHeadersNoReq_Result struct { // Value returned by transHeadersNoReq after a successful execution. Success *TransHeader `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` }
SimpleService_TransHeadersNoReq_Result represents the result of a SimpleService.transHeadersNoReq function call.
The result of a transHeadersNoReq execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_TransHeadersNoReq_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersNoReq_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeadersNoReq_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeadersNoReq_Result struct could not be generated from the wire representation.
func (*SimpleService_TransHeadersNoReq_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersNoReq_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeadersNoReq_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeadersNoReq_Result struct could not be encoded.
func (*SimpleService_TransHeadersNoReq_Result) EnvelopeType ¶
func (v *SimpleService_TransHeadersNoReq_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_TransHeadersNoReq_Result) Equals ¶
func (v *SimpleService_TransHeadersNoReq_Result) Equals(rhs *SimpleService_TransHeadersNoReq_Result) bool
Equals returns true if all the fields of this SimpleService_TransHeadersNoReq_Result match the provided SimpleService_TransHeadersNoReq_Result.
This function performs a deep comparison.
func (*SimpleService_TransHeadersNoReq_Result) FromWire ¶
func (v *SimpleService_TransHeadersNoReq_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeadersNoReq_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeadersNoReq_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeadersNoReq_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_TransHeadersNoReq_Result) GetAuthErr ¶
func (v *SimpleService_TransHeadersNoReq_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersNoReq_Result) GetSuccess ¶
func (v *SimpleService_TransHeadersNoReq_Result) GetSuccess() (o *TransHeader)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersNoReq_Result) IsSetAuthErr ¶
func (v *SimpleService_TransHeadersNoReq_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_TransHeadersNoReq_Result) IsSetSuccess ¶
func (v *SimpleService_TransHeadersNoReq_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_TransHeadersNoReq_Result) MarshalEasyJSON ¶
func (v SimpleService_TransHeadersNoReq_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeadersNoReq_Result) MarshalJSON ¶
func (v SimpleService_TransHeadersNoReq_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeadersNoReq_Result) MarshalLogObject ¶
func (v *SimpleService_TransHeadersNoReq_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeadersNoReq_Result.
func (*SimpleService_TransHeadersNoReq_Result) MethodName ¶
func (v *SimpleService_TransHeadersNoReq_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "transHeadersNoReq" for this struct.
func (*SimpleService_TransHeadersNoReq_Result) String ¶
func (v *SimpleService_TransHeadersNoReq_Result) String() string
String returns a readable string representation of a SimpleService_TransHeadersNoReq_Result struct.
func (*SimpleService_TransHeadersNoReq_Result) ToWire ¶
func (v *SimpleService_TransHeadersNoReq_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeadersNoReq_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeadersNoReq_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeadersNoReq_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeadersNoReq_Result) UnmarshalJSON ¶
func (v *SimpleService_TransHeadersNoReq_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeadersType_Args ¶
type SimpleService_TransHeadersType_Args struct {
Req *TransHeader `json:"req,required"`
}
SimpleService_TransHeadersType_Args represents the arguments for the SimpleService.transHeadersType function.
The arguments for transHeadersType are sent and received over the wire as this struct.
func (*SimpleService_TransHeadersType_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersType_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeadersType_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeadersType_Args struct could not be generated from the wire representation.
func (*SimpleService_TransHeadersType_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersType_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeadersType_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeadersType_Args struct could not be encoded.
func (*SimpleService_TransHeadersType_Args) EnvelopeType ¶
func (v *SimpleService_TransHeadersType_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_TransHeadersType_Args) Equals ¶
func (v *SimpleService_TransHeadersType_Args) Equals(rhs *SimpleService_TransHeadersType_Args) bool
Equals returns true if all the fields of this SimpleService_TransHeadersType_Args match the provided SimpleService_TransHeadersType_Args.
This function performs a deep comparison.
func (*SimpleService_TransHeadersType_Args) FromWire ¶
func (v *SimpleService_TransHeadersType_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeadersType_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeadersType_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeadersType_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_TransHeadersType_Args) GetReq ¶
func (v *SimpleService_TransHeadersType_Args) GetReq() (o *TransHeader)
GetReq returns the value of Req if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersType_Args) IsSetReq ¶
func (v *SimpleService_TransHeadersType_Args) IsSetReq() bool
IsSetReq returns true if Req is not nil.
func (SimpleService_TransHeadersType_Args) MarshalEasyJSON ¶
func (v SimpleService_TransHeadersType_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeadersType_Args) MarshalJSON ¶
func (v SimpleService_TransHeadersType_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeadersType_Args) MarshalLogObject ¶
func (v *SimpleService_TransHeadersType_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeadersType_Args.
func (*SimpleService_TransHeadersType_Args) MethodName ¶
func (v *SimpleService_TransHeadersType_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "transHeadersType" for this struct.
func (*SimpleService_TransHeadersType_Args) String ¶
func (v *SimpleService_TransHeadersType_Args) String() string
String returns a readable string representation of a SimpleService_TransHeadersType_Args struct.
func (*SimpleService_TransHeadersType_Args) ToWire ¶
func (v *SimpleService_TransHeadersType_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeadersType_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeadersType_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeadersType_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeadersType_Args) UnmarshalJSON ¶
func (v *SimpleService_TransHeadersType_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeadersType_Result ¶
type SimpleService_TransHeadersType_Result struct { // Value returned by transHeadersType after a successful execution. Success *TransHeader `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"` }
SimpleService_TransHeadersType_Result represents the result of a SimpleService.transHeadersType function call.
The result of a transHeadersType execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_TransHeadersType_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersType_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeadersType_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeadersType_Result struct could not be generated from the wire representation.
func (*SimpleService_TransHeadersType_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeadersType_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeadersType_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeadersType_Result struct could not be encoded.
func (*SimpleService_TransHeadersType_Result) EnvelopeType ¶
func (v *SimpleService_TransHeadersType_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_TransHeadersType_Result) Equals ¶
func (v *SimpleService_TransHeadersType_Result) Equals(rhs *SimpleService_TransHeadersType_Result) bool
Equals returns true if all the fields of this SimpleService_TransHeadersType_Result match the provided SimpleService_TransHeadersType_Result.
This function performs a deep comparison.
func (*SimpleService_TransHeadersType_Result) FromWire ¶
func (v *SimpleService_TransHeadersType_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeadersType_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeadersType_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeadersType_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_TransHeadersType_Result) GetAuthErr ¶
func (v *SimpleService_TransHeadersType_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersType_Result) GetOtherAuthErr ¶
func (v *SimpleService_TransHeadersType_Result) GetOtherAuthErr() (o *OtherAuthErr)
GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersType_Result) GetSuccess ¶
func (v *SimpleService_TransHeadersType_Result) GetSuccess() (o *TransHeader)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_TransHeadersType_Result) IsSetAuthErr ¶
func (v *SimpleService_TransHeadersType_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_TransHeadersType_Result) IsSetOtherAuthErr ¶
func (v *SimpleService_TransHeadersType_Result) IsSetOtherAuthErr() bool
IsSetOtherAuthErr returns true if OtherAuthErr is not nil.
func (*SimpleService_TransHeadersType_Result) IsSetSuccess ¶
func (v *SimpleService_TransHeadersType_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_TransHeadersType_Result) MarshalEasyJSON ¶
func (v SimpleService_TransHeadersType_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeadersType_Result) MarshalJSON ¶
func (v SimpleService_TransHeadersType_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeadersType_Result) MarshalLogObject ¶
func (v *SimpleService_TransHeadersType_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeadersType_Result.
func (*SimpleService_TransHeadersType_Result) MethodName ¶
func (v *SimpleService_TransHeadersType_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "transHeadersType" for this struct.
func (*SimpleService_TransHeadersType_Result) String ¶
func (v *SimpleService_TransHeadersType_Result) String() string
String returns a readable string representation of a SimpleService_TransHeadersType_Result struct.
func (*SimpleService_TransHeadersType_Result) ToWire ¶
func (v *SimpleService_TransHeadersType_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeadersType_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeadersType_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeadersType_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeadersType_Result) UnmarshalJSON ¶
func (v *SimpleService_TransHeadersType_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeaders_Args ¶
type SimpleService_TransHeaders_Args struct {
Req *TransHeader `json:"req,required"`
}
SimpleService_TransHeaders_Args represents the arguments for the SimpleService.transHeaders function.
The arguments for transHeaders are sent and received over the wire as this struct.
func (*SimpleService_TransHeaders_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeaders_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeaders_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeaders_Args struct could not be generated from the wire representation.
func (*SimpleService_TransHeaders_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeaders_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeaders_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeaders_Args struct could not be encoded.
func (*SimpleService_TransHeaders_Args) EnvelopeType ¶
func (v *SimpleService_TransHeaders_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_TransHeaders_Args) Equals ¶
func (v *SimpleService_TransHeaders_Args) Equals(rhs *SimpleService_TransHeaders_Args) bool
Equals returns true if all the fields of this SimpleService_TransHeaders_Args match the provided SimpleService_TransHeaders_Args.
This function performs a deep comparison.
func (*SimpleService_TransHeaders_Args) FromWire ¶
func (v *SimpleService_TransHeaders_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeaders_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeaders_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeaders_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_TransHeaders_Args) GetReq ¶
func (v *SimpleService_TransHeaders_Args) GetReq() (o *TransHeader)
GetReq returns the value of Req if it is set or its zero value if it is unset.
func (*SimpleService_TransHeaders_Args) IsSetReq ¶
func (v *SimpleService_TransHeaders_Args) IsSetReq() bool
IsSetReq returns true if Req is not nil.
func (SimpleService_TransHeaders_Args) MarshalEasyJSON ¶
func (v SimpleService_TransHeaders_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeaders_Args) MarshalJSON ¶
func (v SimpleService_TransHeaders_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeaders_Args) MarshalLogObject ¶
func (v *SimpleService_TransHeaders_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeaders_Args.
func (*SimpleService_TransHeaders_Args) MethodName ¶
func (v *SimpleService_TransHeaders_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "transHeaders" for this struct.
func (*SimpleService_TransHeaders_Args) String ¶
func (v *SimpleService_TransHeaders_Args) String() string
String returns a readable string representation of a SimpleService_TransHeaders_Args struct.
func (*SimpleService_TransHeaders_Args) ToWire ¶
func (v *SimpleService_TransHeaders_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeaders_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeaders_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeaders_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeaders_Args) UnmarshalJSON ¶
func (v *SimpleService_TransHeaders_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_TransHeaders_Result ¶
type SimpleService_TransHeaders_Result struct { // Value returned by transHeaders after a successful execution. Success *TransHeader `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"` }
SimpleService_TransHeaders_Result represents the result of a SimpleService.transHeaders function call.
The result of a transHeaders execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_TransHeaders_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_TransHeaders_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_TransHeaders_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_TransHeaders_Result struct could not be generated from the wire representation.
func (*SimpleService_TransHeaders_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_TransHeaders_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_TransHeaders_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_TransHeaders_Result struct could not be encoded.
func (*SimpleService_TransHeaders_Result) EnvelopeType ¶
func (v *SimpleService_TransHeaders_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_TransHeaders_Result) Equals ¶
func (v *SimpleService_TransHeaders_Result) Equals(rhs *SimpleService_TransHeaders_Result) bool
Equals returns true if all the fields of this SimpleService_TransHeaders_Result match the provided SimpleService_TransHeaders_Result.
This function performs a deep comparison.
func (*SimpleService_TransHeaders_Result) FromWire ¶
func (v *SimpleService_TransHeaders_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_TransHeaders_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_TransHeaders_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_TransHeaders_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_TransHeaders_Result) GetAuthErr ¶
func (v *SimpleService_TransHeaders_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_TransHeaders_Result) GetOtherAuthErr ¶
func (v *SimpleService_TransHeaders_Result) GetOtherAuthErr() (o *OtherAuthErr)
GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.
func (*SimpleService_TransHeaders_Result) GetSuccess ¶
func (v *SimpleService_TransHeaders_Result) GetSuccess() (o *TransHeader)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_TransHeaders_Result) IsSetAuthErr ¶
func (v *SimpleService_TransHeaders_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_TransHeaders_Result) IsSetOtherAuthErr ¶
func (v *SimpleService_TransHeaders_Result) IsSetOtherAuthErr() bool
IsSetOtherAuthErr returns true if OtherAuthErr is not nil.
func (*SimpleService_TransHeaders_Result) IsSetSuccess ¶
func (v *SimpleService_TransHeaders_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_TransHeaders_Result) MarshalEasyJSON ¶
func (v SimpleService_TransHeaders_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_TransHeaders_Result) MarshalJSON ¶
func (v SimpleService_TransHeaders_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_TransHeaders_Result) MarshalLogObject ¶
func (v *SimpleService_TransHeaders_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_TransHeaders_Result.
func (*SimpleService_TransHeaders_Result) MethodName ¶
func (v *SimpleService_TransHeaders_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "transHeaders" for this struct.
func (*SimpleService_TransHeaders_Result) String ¶
func (v *SimpleService_TransHeaders_Result) String() string
String returns a readable string representation of a SimpleService_TransHeaders_Result struct.
func (*SimpleService_TransHeaders_Result) ToWire ¶
func (v *SimpleService_TransHeaders_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_TransHeaders_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_TransHeaders_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_TransHeaders_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_TransHeaders_Result) UnmarshalJSON ¶
func (v *SimpleService_TransHeaders_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Trans_Args ¶
type SimpleService_Trans_Args struct { Arg1 *TransStruct `json:"arg1,required"` Arg2 *TransStruct `json:"arg2,omitempty"` }
SimpleService_Trans_Args represents the arguments for the SimpleService.trans function.
The arguments for trans are sent and received over the wire as this struct.
func (*SimpleService_Trans_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_Trans_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Trans_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Trans_Args struct could not be generated from the wire representation.
func (*SimpleService_Trans_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_Trans_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Trans_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Trans_Args struct could not be encoded.
func (*SimpleService_Trans_Args) EnvelopeType ¶
func (v *SimpleService_Trans_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_Trans_Args) Equals ¶
func (v *SimpleService_Trans_Args) Equals(rhs *SimpleService_Trans_Args) bool
Equals returns true if all the fields of this SimpleService_Trans_Args match the provided SimpleService_Trans_Args.
This function performs a deep comparison.
func (*SimpleService_Trans_Args) FromWire ¶
func (v *SimpleService_Trans_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Trans_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Trans_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Trans_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Trans_Args) GetArg1 ¶
func (v *SimpleService_Trans_Args) GetArg1() (o *TransStruct)
GetArg1 returns the value of Arg1 if it is set or its zero value if it is unset.
func (*SimpleService_Trans_Args) GetArg2 ¶
func (v *SimpleService_Trans_Args) GetArg2() (o *TransStruct)
GetArg2 returns the value of Arg2 if it is set or its zero value if it is unset.
func (*SimpleService_Trans_Args) IsSetArg1 ¶
func (v *SimpleService_Trans_Args) IsSetArg1() bool
IsSetArg1 returns true if Arg1 is not nil.
func (*SimpleService_Trans_Args) IsSetArg2 ¶
func (v *SimpleService_Trans_Args) IsSetArg2() bool
IsSetArg2 returns true if Arg2 is not nil.
func (SimpleService_Trans_Args) MarshalEasyJSON ¶
func (v SimpleService_Trans_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Trans_Args) MarshalJSON ¶
func (v SimpleService_Trans_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Trans_Args) MarshalLogObject ¶
func (v *SimpleService_Trans_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Trans_Args.
func (*SimpleService_Trans_Args) MethodName ¶
func (v *SimpleService_Trans_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "trans" for this struct.
func (*SimpleService_Trans_Args) String ¶
func (v *SimpleService_Trans_Args) String() string
String returns a readable string representation of a SimpleService_Trans_Args struct.
func (*SimpleService_Trans_Args) ToWire ¶
func (v *SimpleService_Trans_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Trans_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Trans_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_Trans_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Trans_Args) UnmarshalJSON ¶
func (v *SimpleService_Trans_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_Trans_Result ¶
type SimpleService_Trans_Result struct { // Value returned by trans after a successful execution. Success *TransStruct `json:"success,omitempty"` AuthErr *AuthErr `json:"authErr,omitempty"` OtherAuthErr *OtherAuthErr `json:"otherAuthErr,omitempty"` }
SimpleService_Trans_Result represents the result of a SimpleService.trans function call.
The result of a trans execution is sent and received over the wire as this struct.
Success is set only if the function did not throw an exception.
func (*SimpleService_Trans_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_Trans_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_Trans_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_Trans_Result struct could not be generated from the wire representation.
func (*SimpleService_Trans_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_Trans_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_Trans_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_Trans_Result struct could not be encoded.
func (*SimpleService_Trans_Result) EnvelopeType ¶
func (v *SimpleService_Trans_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_Trans_Result) Equals ¶
func (v *SimpleService_Trans_Result) Equals(rhs *SimpleService_Trans_Result) bool
Equals returns true if all the fields of this SimpleService_Trans_Result match the provided SimpleService_Trans_Result.
This function performs a deep comparison.
func (*SimpleService_Trans_Result) FromWire ¶
func (v *SimpleService_Trans_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_Trans_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_Trans_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_Trans_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*SimpleService_Trans_Result) GetAuthErr ¶
func (v *SimpleService_Trans_Result) GetAuthErr() (o *AuthErr)
GetAuthErr returns the value of AuthErr if it is set or its zero value if it is unset.
func (*SimpleService_Trans_Result) GetOtherAuthErr ¶
func (v *SimpleService_Trans_Result) GetOtherAuthErr() (o *OtherAuthErr)
GetOtherAuthErr returns the value of OtherAuthErr if it is set or its zero value if it is unset.
func (*SimpleService_Trans_Result) GetSuccess ¶
func (v *SimpleService_Trans_Result) GetSuccess() (o *TransStruct)
GetSuccess returns the value of Success if it is set or its zero value if it is unset.
func (*SimpleService_Trans_Result) IsSetAuthErr ¶
func (v *SimpleService_Trans_Result) IsSetAuthErr() bool
IsSetAuthErr returns true if AuthErr is not nil.
func (*SimpleService_Trans_Result) IsSetOtherAuthErr ¶
func (v *SimpleService_Trans_Result) IsSetOtherAuthErr() bool
IsSetOtherAuthErr returns true if OtherAuthErr is not nil.
func (*SimpleService_Trans_Result) IsSetSuccess ¶
func (v *SimpleService_Trans_Result) IsSetSuccess() bool
IsSetSuccess returns true if Success is not nil.
func (SimpleService_Trans_Result) MarshalEasyJSON ¶
func (v SimpleService_Trans_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_Trans_Result) MarshalJSON ¶
func (v SimpleService_Trans_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_Trans_Result) MarshalLogObject ¶
func (v *SimpleService_Trans_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_Trans_Result.
func (*SimpleService_Trans_Result) MethodName ¶
func (v *SimpleService_Trans_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "trans" for this struct.
func (*SimpleService_Trans_Result) String ¶
func (v *SimpleService_Trans_Result) String() string
String returns a readable string representation of a SimpleService_Trans_Result struct.
func (*SimpleService_Trans_Result) ToWire ¶
func (v *SimpleService_Trans_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_Trans_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_Trans_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_Trans_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_Trans_Result) UnmarshalJSON ¶
func (v *SimpleService_Trans_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_UrlTest_Args ¶
type SimpleService_UrlTest_Args struct { }
SimpleService_UrlTest_Args represents the arguments for the SimpleService.urlTest function.
The arguments for urlTest are sent and received over the wire as this struct.
func (*SimpleService_UrlTest_Args) Decode ¶ added in v1.1.1
func (v *SimpleService_UrlTest_Args) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_UrlTest_Args struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_UrlTest_Args struct could not be generated from the wire representation.
func (*SimpleService_UrlTest_Args) Encode ¶ added in v1.1.1
func (v *SimpleService_UrlTest_Args) Encode(sw stream.Writer) error
Encode serializes a SimpleService_UrlTest_Args struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_UrlTest_Args struct could not be encoded.
func (*SimpleService_UrlTest_Args) EnvelopeType ¶
func (v *SimpleService_UrlTest_Args) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Call for this struct.
func (*SimpleService_UrlTest_Args) Equals ¶
func (v *SimpleService_UrlTest_Args) Equals(rhs *SimpleService_UrlTest_Args) bool
Equals returns true if all the fields of this SimpleService_UrlTest_Args match the provided SimpleService_UrlTest_Args.
This function performs a deep comparison.
func (*SimpleService_UrlTest_Args) FromWire ¶
func (v *SimpleService_UrlTest_Args) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_UrlTest_Args struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_UrlTest_Args struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_UrlTest_Args if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_UrlTest_Args) MarshalEasyJSON ¶
func (v SimpleService_UrlTest_Args) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_UrlTest_Args) MarshalJSON ¶
func (v SimpleService_UrlTest_Args) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_UrlTest_Args) MarshalLogObject ¶
func (v *SimpleService_UrlTest_Args) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_UrlTest_Args.
func (*SimpleService_UrlTest_Args) MethodName ¶
func (v *SimpleService_UrlTest_Args) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the arguments.
This will always be "urlTest" for this struct.
func (*SimpleService_UrlTest_Args) String ¶
func (v *SimpleService_UrlTest_Args) String() string
String returns a readable string representation of a SimpleService_UrlTest_Args struct.
func (*SimpleService_UrlTest_Args) ToWire ¶
func (v *SimpleService_UrlTest_Args) ToWire() (wire.Value, error)
ToWire translates a SimpleService_UrlTest_Args struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_UrlTest_Args) UnmarshalEasyJSON ¶
func (v *SimpleService_UrlTest_Args) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_UrlTest_Args) UnmarshalJSON ¶
func (v *SimpleService_UrlTest_Args) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SimpleService_UrlTest_Result ¶
type SimpleService_UrlTest_Result struct { }
SimpleService_UrlTest_Result represents the result of a SimpleService.urlTest function call.
The result of a urlTest execution is sent and received over the wire as this struct.
func (*SimpleService_UrlTest_Result) Decode ¶ added in v1.1.1
func (v *SimpleService_UrlTest_Result) Decode(sr stream.Reader) error
Decode deserializes a SimpleService_UrlTest_Result struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a SimpleService_UrlTest_Result struct could not be generated from the wire representation.
func (*SimpleService_UrlTest_Result) Encode ¶ added in v1.1.1
func (v *SimpleService_UrlTest_Result) Encode(sw stream.Writer) error
Encode serializes a SimpleService_UrlTest_Result struct directly into bytes, without going through an intermediary type.
An error is returned if a SimpleService_UrlTest_Result struct could not be encoded.
func (*SimpleService_UrlTest_Result) EnvelopeType ¶
func (v *SimpleService_UrlTest_Result) EnvelopeType() wire.EnvelopeType
EnvelopeType returns the kind of value inside this struct.
This will always be Reply for this struct.
func (*SimpleService_UrlTest_Result) Equals ¶
func (v *SimpleService_UrlTest_Result) Equals(rhs *SimpleService_UrlTest_Result) bool
Equals returns true if all the fields of this SimpleService_UrlTest_Result match the provided SimpleService_UrlTest_Result.
This function performs a deep comparison.
func (*SimpleService_UrlTest_Result) FromWire ¶
func (v *SimpleService_UrlTest_Result) FromWire(w wire.Value) error
FromWire deserializes a SimpleService_UrlTest_Result struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a SimpleService_UrlTest_Result struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v SimpleService_UrlTest_Result if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (SimpleService_UrlTest_Result) MarshalEasyJSON ¶
func (v SimpleService_UrlTest_Result) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SimpleService_UrlTest_Result) MarshalJSON ¶
func (v SimpleService_UrlTest_Result) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SimpleService_UrlTest_Result) MarshalLogObject ¶
func (v *SimpleService_UrlTest_Result) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of SimpleService_UrlTest_Result.
func (*SimpleService_UrlTest_Result) MethodName ¶
func (v *SimpleService_UrlTest_Result) MethodName() string
MethodName returns the name of the Thrift function as specified in the IDL, for which this struct represent the result.
This will always be "urlTest" for this struct.
func (*SimpleService_UrlTest_Result) String ¶
func (v *SimpleService_UrlTest_Result) String() string
String returns a readable string representation of a SimpleService_UrlTest_Result struct.
func (*SimpleService_UrlTest_Result) ToWire ¶
func (v *SimpleService_UrlTest_Result) ToWire() (wire.Value, error)
ToWire translates a SimpleService_UrlTest_Result struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*SimpleService_UrlTest_Result) UnmarshalEasyJSON ¶
func (v *SimpleService_UrlTest_Result) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SimpleService_UrlTest_Result) UnmarshalJSON ¶
func (v *SimpleService_UrlTest_Result) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type TransHeader ¶
type TransHeader struct { }
func (*TransHeader) Decode ¶ added in v1.1.1
func (v *TransHeader) Decode(sr stream.Reader) error
Decode deserializes a TransHeader struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a TransHeader struct could not be generated from the wire representation.
func (*TransHeader) Encode ¶ added in v1.1.1
func (v *TransHeader) Encode(sw stream.Writer) error
Encode serializes a TransHeader struct directly into bytes, without going through an intermediary type.
An error is returned if a TransHeader struct could not be encoded.
func (*TransHeader) Equals ¶
func (v *TransHeader) Equals(rhs *TransHeader) bool
Equals returns true if all the fields of this TransHeader match the provided TransHeader.
This function performs a deep comparison.
func (*TransHeader) FromWire ¶
func (v *TransHeader) FromWire(w wire.Value) error
FromWire deserializes a TransHeader struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a TransHeader struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v TransHeader if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (TransHeader) MarshalEasyJSON ¶
func (v TransHeader) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TransHeader) MarshalJSON ¶
func (v TransHeader) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TransHeader) MarshalLogObject ¶
func (v *TransHeader) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TransHeader.
func (*TransHeader) String ¶
func (v *TransHeader) String() string
String returns a readable string representation of a TransHeader struct.
func (*TransHeader) ToWire ¶
func (v *TransHeader) ToWire() (wire.Value, error)
ToWire translates a TransHeader struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*TransHeader) UnmarshalEasyJSON ¶
func (v *TransHeader) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TransHeader) UnmarshalJSON ¶
func (v *TransHeader) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type TransStruct ¶
type TransStruct struct { Message string `json:"message,required"` Driver *NestedStruct `json:"driver,omitempty"` Rider *NestedStruct `json:"rider,required"` }
func (*TransStruct) Decode ¶ added in v1.1.1
func (v *TransStruct) Decode(sr stream.Reader) error
Decode deserializes a TransStruct struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a TransStruct struct could not be generated from the wire representation.
func (*TransStruct) Encode ¶ added in v1.1.1
func (v *TransStruct) Encode(sw stream.Writer) error
Encode serializes a TransStruct struct directly into bytes, without going through an intermediary type.
An error is returned if a TransStruct struct could not be encoded.
func (*TransStruct) Equals ¶
func (v *TransStruct) Equals(rhs *TransStruct) bool
Equals returns true if all the fields of this TransStruct match the provided TransStruct.
This function performs a deep comparison.
func (*TransStruct) FromWire ¶
func (v *TransStruct) FromWire(w wire.Value) error
FromWire deserializes a TransStruct struct from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.
An error is returned if we were unable to build a TransStruct struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v TransStruct if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*TransStruct) GetDriver ¶
func (v *TransStruct) GetDriver() (o *NestedStruct)
GetDriver returns the value of Driver if it is set or its zero value if it is unset.
func (*TransStruct) GetMessage ¶
func (v *TransStruct) GetMessage() (o string)
GetMessage returns the value of Message if it is set or its zero value if it is unset.
func (*TransStruct) GetRider ¶
func (v *TransStruct) GetRider() (o *NestedStruct)
GetRider returns the value of Rider if it is set or its zero value if it is unset.
func (*TransStruct) IsSetDriver ¶
func (v *TransStruct) IsSetDriver() bool
IsSetDriver returns true if Driver is not nil.
func (*TransStruct) IsSetRider ¶
func (v *TransStruct) IsSetRider() bool
IsSetRider returns true if Rider is not nil.
func (TransStruct) MarshalEasyJSON ¶
func (v TransStruct) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (TransStruct) MarshalJSON ¶
func (v TransStruct) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*TransStruct) MarshalLogObject ¶
func (v *TransStruct) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TransStruct.
func (*TransStruct) String ¶
func (v *TransStruct) String() string
String returns a readable string representation of a TransStruct struct.
func (*TransStruct) ToWire ¶
func (v *TransStruct) ToWire() (wire.Value, error)
ToWire translates a TransStruct struct into a Thrift-level intermediate representation. This intermediate representation may be serialized into bytes using a ThriftRW protocol implementation.
An error is returned if the struct or any of its fields failed to validate.
x, err := v.ToWire() if err != nil { return err } if err := binaryProtocol.Encode(x, writer); err != nil { return err }
func (*TransStruct) UnmarshalEasyJSON ¶
func (v *TransStruct) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*TransStruct) UnmarshalJSON ¶
func (v *TransStruct) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type UUID ¶
type UUID string
func (*UUID) FromWire ¶
FromWire deserializes UUID from its Thrift-level representation. The Thrift-level representation may be obtained from a ThriftRW protocol implementation.