Documentation ¶
Index ¶
- type Dgx
- 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) 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) 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) 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) 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
- type UUIDOnly
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) 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) 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) 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) 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) 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) 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) 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 }