meta

package
v2.0.0-RC6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

func (v *Dgx) Decode(sr stream.Reader) error

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

func (v *Dgx) Encode(sw stream.Writer) error

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

func (v *Dgx) Equals(rhs *Dgx) bool

Equals returns true if all the fields of this Dgx match the provided Dgx.

This function performs a deep comparison.

func (*Dgx) FromWire

func (v *Dgx) FromWire(w wire.Value) error

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) GetB3

func (v *Dgx) GetB3() (o bool)

GetB3 returns the value of B3 if it is set or its zero value if it is unset.

func (*Dgx) GetI2

func (v *Dgx) GetI2() (o int32)

GetI2 returns the value of I2 if it is set or its zero value if it is unset.

func (*Dgx) GetS1

func (v *Dgx) GetS1() (o string)

GetS1 returns the value of S1 if it is set or its zero value if it is unset.

func (*Dgx) IsSetB3

func (v *Dgx) IsSetB3() bool

IsSetB3 returns true if B3 is not nil.

func (*Dgx) MarshalLogObject

func (v *Dgx) MarshalLogObject(enc zapcore.ObjectEncoder) (err error)

MarshalLogObject implements zapcore.ObjectMarshaler, enabling fast logging of Dgx.

func (*Dgx) String

func (v *Dgx) String() string

String returns a readable string representation of a Dgx struct.

func (*Dgx) ToWire

func (v *Dgx) ToWire() (wire.Value, error)

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

func (v *Fred) Decode(sr stream.Reader) error

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

func (v *Fred) Encode(sw stream.Writer) error

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

func (v *Fred) Equals(rhs *Fred) bool

Equals returns true if all the fields of this Fred match the provided Fred.

This function performs a deep comparison.

func (*Fred) FromWire

func (v *Fred) FromWire(w wire.Value) error

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

func (v *Fred) GetAuth() (o string)

GetAuth returns the value of Auth if it is set or its zero value if it is unset.

func (*Fred) GetContentType

func (v *Fred) GetContentType() (o string)

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) String

func (v *Fred) String() string

String returns a readable string representation of a Fred struct.

func (*Fred) ToWire

func (v *Fred) ToWire() (wire.Value, error)

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

type Garply struct {
	UUID  *string `json:"UUID,omitempty"`
	Token *string `json:"token,omitempty"`
}

func (*Garply) Decode

func (v *Garply) Decode(sr stream.Reader) error

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

func (v *Garply) Encode(sw stream.Writer) error

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

func (v *Garply) Equals(rhs *Garply) bool

Equals returns true if all the fields of this Garply match the provided Garply.

This function performs a deep comparison.

func (*Garply) FromWire

func (v *Garply) FromWire(w wire.Value) error

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

func (v *Garply) GetToken() (o string)

GetToken returns the value of Token if it is set or its zero value if it is unset.

func (*Garply) GetUUID

func (v *Garply) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*Garply) IsSetToken

func (v *Garply) IsSetToken() bool

IsSetToken returns true if Token is not nil.

func (*Garply) IsSetUUID

func (v *Garply) IsSetUUID() bool

IsSetUUID returns true if UUID 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) String

func (v *Garply) String() string

String returns a readable string representation of a Garply struct.

func (*Garply) ToWire

func (v *Garply) ToWire() (wire.Value, error)

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

type Grault struct {
	UUID  *string `json:"UUID,omitempty"`
	Token *string `json:"token,omitempty"`
}

func (*Grault) Decode

func (v *Grault) Decode(sr stream.Reader) error

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

func (v *Grault) Encode(sw stream.Writer) error

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

func (v *Grault) Equals(rhs *Grault) bool

Equals returns true if all the fields of this Grault match the provided Grault.

This function performs a deep comparison.

func (*Grault) FromWire

func (v *Grault) FromWire(w wire.Value) error

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

func (v *Grault) GetToken() (o string)

GetToken returns the value of Token if it is set or its zero value if it is unset.

func (*Grault) GetUUID

func (v *Grault) GetUUID() (o string)

GetUUID returns the value of UUID if it is set or its zero value if it is unset.

func (*Grault) IsSetToken

func (v *Grault) IsSetToken() bool

IsSetToken returns true if Token is not nil.

func (*Grault) IsSetUUID

func (v *Grault) IsSetUUID() bool

IsSetUUID returns true if UUID 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) String

func (v *Grault) String() string

String returns a readable string representation of a Grault struct.

func (*Grault) ToWire

func (v *Grault) ToWire() (wire.Value, error)

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

func (v *Thud) Decode(sr stream.Reader) error

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

func (v *Thud) Encode(sw stream.Writer) error

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

func (v *Thud) Equals(rhs *Thud) bool

Equals returns true if all the fields of this Thud match the provided Thud.

This function performs a deep comparison.

func (*Thud) FromWire

func (v *Thud) FromWire(w wire.Value) error

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

func (v *Thud) GetSomeResHeader() (o string)

GetSomeResHeader returns the value of SomeResHeader if it is set or its zero value if it is unset.

func (*Thud) IsSetSomeResHeader

func (v *Thud) IsSetSomeResHeader() bool

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) String

func (v *Thud) String() string

String returns a readable string representation of a Thud struct.

func (*Thud) ToWire

func (v *Thud) ToWire() (wire.Value, error)

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

func (v *TokenOnly) Decode(sr stream.Reader) error

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

func (v *TokenOnly) Encode(sw stream.Writer) error

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

func (v *TokenOnly) Equals(rhs *TokenOnly) bool

Equals returns true if all the fields of this TokenOnly match the provided TokenOnly.

This function performs a deep comparison.

func (*TokenOnly) FromWire

func (v *TokenOnly) FromWire(w wire.Value) error

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

func (v *TokenOnly) GetToken() (o string)

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) String

func (v *TokenOnly) String() string

String returns a readable string representation of a TokenOnly struct.

func (*TokenOnly) ToWire

func (v *TokenOnly) ToWire() (wire.Value, error)

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

func (v *UUIDOnly) Decode(sr stream.Reader) error

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

func (v *UUIDOnly) Encode(sw stream.Writer) error

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

func (v *UUIDOnly) Equals(rhs *UUIDOnly) bool

Equals returns true if all the fields of this UUIDOnly match the provided UUIDOnly.

This function performs a deep comparison.

func (*UUIDOnly) FromWire

func (v *UUIDOnly) FromWire(w wire.Value) error

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

func (v *UUIDOnly) GetUUID() (o string)

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) String

func (v *UUIDOnly) String() string

String returns a readable string representation of a UUIDOnly struct.

func (*UUIDOnly) ToWire

func (v *UUIDOnly) ToWire() (wire.Value, error)

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL