Documentation ¶
Index ¶
- type Dgx
- func (v *Dgx) Decode(sr stream.Reader) error
- func (v *Dgx) Encode(sw stream.Writer) error
- func (v *Dgx) Equals(rhs *Dgx) bool
- func (v *Dgx) FromWire(w wire.Value) error
- func (v *Dgx) GetB3() (o bool)
- func (v *Dgx) GetI2() (o int32)
- func (v *Dgx) GetS1() (o string)
- func (v *Dgx) IsSetB3() bool
- func (v *Dgx) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Dgx) String() string
- func (v *Dgx) ToWire() (wire.Value, error)
- type Fred
- func (v *Fred) Decode(sr stream.Reader) error
- func (v *Fred) Encode(sw stream.Writer) error
- func (v *Fred) Equals(rhs *Fred) bool
- func (v *Fred) FromWire(w wire.Value) error
- func (v *Fred) GetAuth() (o string)
- func (v *Fred) GetContentType() (o string)
- func (v *Fred) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Fred) String() string
- func (v *Fred) ToWire() (wire.Value, error)
- type Garply
- func (v *Garply) Decode(sr stream.Reader) error
- func (v *Garply) Encode(sw stream.Writer) error
- func (v *Garply) Equals(rhs *Garply) bool
- func (v *Garply) FromWire(w wire.Value) error
- func (v *Garply) GetToken() (o string)
- func (v *Garply) GetUUID() (o string)
- func (v *Garply) IsSetToken() bool
- func (v *Garply) IsSetUUID() bool
- func (v *Garply) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Garply) String() string
- func (v *Garply) ToWire() (wire.Value, error)
- type Grault
- func (v *Grault) Decode(sr stream.Reader) error
- func (v *Grault) Encode(sw stream.Writer) error
- func (v *Grault) Equals(rhs *Grault) bool
- func (v *Grault) FromWire(w wire.Value) error
- func (v *Grault) GetToken() (o string)
- func (v *Grault) GetUUID() (o string)
- func (v *Grault) IsSetToken() bool
- func (v *Grault) IsSetUUID() bool
- func (v *Grault) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Grault) String() string
- func (v *Grault) ToWire() (wire.Value, error)
- type Thud
- func (v *Thud) Decode(sr stream.Reader) error
- func (v *Thud) Encode(sw stream.Writer) error
- func (v *Thud) Equals(rhs *Thud) bool
- func (v *Thud) FromWire(w wire.Value) error
- func (v *Thud) GetSomeResHeader() (o string)
- func (v *Thud) IsSetSomeResHeader() bool
- func (v *Thud) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *Thud) String() string
- func (v *Thud) ToWire() (wire.Value, error)
- type TokenOnly
- func (v *TokenOnly) Decode(sr stream.Reader) error
- func (v *TokenOnly) Encode(sw stream.Writer) error
- func (v *TokenOnly) Equals(rhs *TokenOnly) bool
- func (v *TokenOnly) FromWire(w wire.Value) error
- func (v *TokenOnly) GetToken() (o string)
- func (v *TokenOnly) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *TokenOnly) String() string
- func (v *TokenOnly) ToWire() (wire.Value, error)
- type UUIDOnly
- func (v *UUIDOnly) Decode(sr stream.Reader) error
- func (v *UUIDOnly) Encode(sw stream.Writer) error
- func (v *UUIDOnly) Equals(rhs *UUIDOnly) bool
- func (v *UUIDOnly) FromWire(w wire.Value) error
- func (v *UUIDOnly) GetUUID() (o string)
- func (v *UUIDOnly) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
- func (v *UUIDOnly) String() string
- func (v *UUIDOnly) ToWire() (wire.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dgx ¶
type Dgx struct { S1 string `json:"s1,required"` I2 int32 `json:"i2,required"` B3 *bool `json:"b3,omitempty"` }
func (*Dgx) Decode ¶
Decode deserializes a Dgx struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Dgx struct could not be generated from the wire representation.
func (*Dgx) Encode ¶
Encode serializes a Dgx struct directly into bytes, without going through an intermediary type.
An error is returned if a Dgx struct could not be encoded.
func (*Dgx) Equals ¶
Equals returns true if all the fields of this Dgx match the provided Dgx.
This function performs a deep comparison.
func (*Dgx) FromWire ¶
FromWire deserializes a Dgx 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 Dgx struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Dgx if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Dgx) MarshalLogObject ¶
func (v *Dgx) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Dgx.
func (*Dgx) ToWire ¶
ToWire translates a Dgx 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 }
type Fred ¶
type Fred struct { ContentType string `json:"contentType,required"` Auth string `json:"auth,required"` }
func (*Fred) Decode ¶
Decode deserializes a Fred struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Fred struct could not be generated from the wire representation.
func (*Fred) Encode ¶
Encode serializes a Fred struct directly into bytes, without going through an intermediary type.
An error is returned if a Fred struct could not be encoded.
func (*Fred) Equals ¶
Equals returns true if all the fields of this Fred match the provided Fred.
This function performs a deep comparison.
func (*Fred) FromWire ¶
FromWire deserializes a Fred 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 Fred struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Fred if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Fred) GetAuth ¶
GetAuth returns the value of Auth if it is set or its zero value if it is unset.
func (*Fred) GetContentType ¶
GetContentType returns the value of ContentType if it is set or its zero value if it is unset.
func (*Fred) MarshalLogObject ¶
func (v *Fred) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Fred.
func (*Fred) ToWire ¶
ToWire translates a Fred 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 }
type Garply ¶
func (*Garply) Decode ¶
Decode deserializes a Garply struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Garply struct could not be generated from the wire representation.
func (*Garply) Encode ¶
Encode serializes a Garply struct directly into bytes, without going through an intermediary type.
An error is returned if a Garply struct could not be encoded.
func (*Garply) Equals ¶
Equals returns true if all the fields of this Garply match the provided Garply.
This function performs a deep comparison.
func (*Garply) FromWire ¶
FromWire deserializes a Garply 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 Garply struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Garply if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Garply) GetToken ¶
GetToken returns the value of Token if it is set or its zero value if it is unset.
func (*Garply) GetUUID ¶
GetUUID returns the value of UUID if it is set or its zero value if it is unset.
func (*Garply) IsSetToken ¶
IsSetToken returns true if Token is not nil.
func (*Garply) MarshalLogObject ¶
func (v *Garply) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Garply.
func (*Garply) ToWire ¶
ToWire translates a Garply 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 }
type Grault ¶
func (*Grault) Decode ¶
Decode deserializes a Grault struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Grault struct could not be generated from the wire representation.
func (*Grault) Encode ¶
Encode serializes a Grault struct directly into bytes, without going through an intermediary type.
An error is returned if a Grault struct could not be encoded.
func (*Grault) Equals ¶
Equals returns true if all the fields of this Grault match the provided Grault.
This function performs a deep comparison.
func (*Grault) FromWire ¶
FromWire deserializes a Grault 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 Grault struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Grault if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Grault) GetToken ¶
GetToken returns the value of Token if it is set or its zero value if it is unset.
func (*Grault) GetUUID ¶
GetUUID returns the value of UUID if it is set or its zero value if it is unset.
func (*Grault) IsSetToken ¶
IsSetToken returns true if Token is not nil.
func (*Grault) MarshalLogObject ¶
func (v *Grault) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Grault.
func (*Grault) ToWire ¶
ToWire translates a Grault 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 }
type Thud ¶
type Thud struct {
SomeResHeader *string `json:"someResHeader,omitempty"`
}
func (*Thud) Decode ¶
Decode deserializes a Thud struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a Thud struct could not be generated from the wire representation.
func (*Thud) Encode ¶
Encode serializes a Thud struct directly into bytes, without going through an intermediary type.
An error is returned if a Thud struct could not be encoded.
func (*Thud) Equals ¶
Equals returns true if all the fields of this Thud match the provided Thud.
This function performs a deep comparison.
func (*Thud) FromWire ¶
FromWire deserializes a Thud 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 Thud struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v Thud if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*Thud) GetSomeResHeader ¶
GetSomeResHeader returns the value of SomeResHeader if it is set or its zero value if it is unset.
func (*Thud) IsSetSomeResHeader ¶
IsSetSomeResHeader returns true if SomeResHeader is not nil.
func (*Thud) MarshalLogObject ¶
func (v *Thud) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Thud.
func (*Thud) ToWire ¶
ToWire translates a Thud 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 }
type TokenOnly ¶
type TokenOnly struct {
Token string `json:"Token,required"`
}
func (*TokenOnly) Decode ¶
Decode deserializes a TokenOnly struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a TokenOnly struct could not be generated from the wire representation.
func (*TokenOnly) Encode ¶
Encode serializes a TokenOnly struct directly into bytes, without going through an intermediary type.
An error is returned if a TokenOnly struct could not be encoded.
func (*TokenOnly) Equals ¶
Equals returns true if all the fields of this TokenOnly match the provided TokenOnly.
This function performs a deep comparison.
func (*TokenOnly) FromWire ¶
FromWire deserializes a TokenOnly 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 TokenOnly struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v TokenOnly if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*TokenOnly) GetToken ¶
GetToken returns the value of Token if it is set or its zero value if it is unset.
func (*TokenOnly) MarshalLogObject ¶
func (v *TokenOnly) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of TokenOnly.
func (*TokenOnly) ToWire ¶
ToWire translates a TokenOnly 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 }
type UUIDOnly ¶
type UUIDOnly struct {
UUID string `json:"UUID,required"`
}
func (*UUIDOnly) Decode ¶
Decode deserializes a UUIDOnly struct directly from its Thrift-level representation, without going through an intemediary type.
An error is returned if a UUIDOnly struct could not be generated from the wire representation.
func (*UUIDOnly) Encode ¶
Encode serializes a UUIDOnly struct directly into bytes, without going through an intermediary type.
An error is returned if a UUIDOnly struct could not be encoded.
func (*UUIDOnly) Equals ¶
Equals returns true if all the fields of this UUIDOnly match the provided UUIDOnly.
This function performs a deep comparison.
func (*UUIDOnly) FromWire ¶
FromWire deserializes a UUIDOnly 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 UUIDOnly struct from the provided intermediate representation.
x, err := binaryProtocol.Decode(reader, wire.TStruct) if err != nil { return nil, err } var v UUIDOnly if err := v.FromWire(x); err != nil { return nil, err } return &v, nil
func (*UUIDOnly) GetUUID ¶
GetUUID returns the value of UUID if it is set or its zero value if it is unset.
func (*UUIDOnly) MarshalLogObject ¶
func (v *UUIDOnly) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)
MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of UUIDOnly.
func (*UUIDOnly) ToWire ¶
ToWire translates a UUIDOnly 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 }