hack

package
v0.0.0-...-7428086 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewAdapter

func NewAdapter() *Adapter

func (*Adapter) GetName

func (p *Adapter) GetName() string

func (*Adapter) Read

func (p *Adapter) Read(iprot thrift.Protocol) error

func (*Adapter) ReadField1

func (p *Adapter) ReadField1(iprot thrift.Protocol) error

func (*Adapter) SetName

func (a *Adapter) SetName(name string) *Adapter

func (*Adapter) String

func (p *Adapter) String() string

func (*Adapter) Write

func (p *Adapter) Write(oprot thrift.Protocol) error

type AdapterBuilder

type AdapterBuilder struct {
	// contains filtered or unexported fields
}

func NewAdapterBuilder

func NewAdapterBuilder() *AdapterBuilder

func (AdapterBuilder) Emit

func (p AdapterBuilder) Emit() *Adapter

func (*AdapterBuilder) Name

func (a *AdapterBuilder) Name(name string) *AdapterBuilder

type Attributes

type Attributes struct {
	Attributes []string `thrift:"attributes,1" db:"attributes" json:"attributes"`
}

Attributes:

  • Attributes

func NewAttributes

func NewAttributes() *Attributes

func (*Attributes) GetAttributes

func (p *Attributes) GetAttributes() []string

func (*Attributes) Read

func (p *Attributes) Read(iprot thrift.Protocol) error

func (*Attributes) ReadField1

func (p *Attributes) ReadField1(iprot thrift.Protocol) error

func (*Attributes) SetAttributes

func (a *Attributes) SetAttributes(attributes []string) *Attributes

func (*Attributes) String

func (p *Attributes) String() string

func (*Attributes) Write

func (p *Attributes) Write(oprot thrift.Protocol) error

type AttributesBuilder

type AttributesBuilder struct {
	// contains filtered or unexported fields
}

func NewAttributesBuilder

func NewAttributesBuilder() *AttributesBuilder

func (*AttributesBuilder) Attributes

func (a *AttributesBuilder) Attributes(attributes []string) *AttributesBuilder

func (AttributesBuilder) Emit

func (p AttributesBuilder) Emit() *Attributes

type FieldWrapper

type FieldWrapper struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewFieldWrapper

func NewFieldWrapper() *FieldWrapper

func (*FieldWrapper) GetName

func (p *FieldWrapper) GetName() string

func (*FieldWrapper) Read

func (p *FieldWrapper) Read(iprot thrift.Protocol) error

func (*FieldWrapper) ReadField1

func (p *FieldWrapper) ReadField1(iprot thrift.Protocol) error

func (*FieldWrapper) SetName

func (f *FieldWrapper) SetName(name string) *FieldWrapper

func (*FieldWrapper) String

func (p *FieldWrapper) String() string

func (*FieldWrapper) Write

func (p *FieldWrapper) Write(oprot thrift.Protocol) error

type FieldWrapperBuilder

type FieldWrapperBuilder struct {
	// contains filtered or unexported fields
}

func NewFieldWrapperBuilder

func NewFieldWrapperBuilder() *FieldWrapperBuilder

func (FieldWrapperBuilder) Emit

func (*FieldWrapperBuilder) Name

type Name

type Name struct {
	Name   string `thrift:"name,1" db:"name" json:"name"`
	Reason string `thrift:"reason,2" db:"reason" json:"reason"`
}

Attributes:

  • Name
  • Reason

func NewName

func NewName() *Name

func (*Name) GetName

func (p *Name) GetName() string

func (*Name) GetReason

func (p *Name) GetReason() string

func (*Name) Read

func (p *Name) Read(iprot thrift.Protocol) error

func (*Name) ReadField1

func (p *Name) ReadField1(iprot thrift.Protocol) error

func (*Name) ReadField2

func (p *Name) ReadField2(iprot thrift.Protocol) error

func (*Name) SetName

func (n *Name) SetName(name string) *Name

func (*Name) SetReason

func (n *Name) SetReason(reason string) *Name

func (*Name) String

func (p *Name) String() string

func (*Name) Write

func (p *Name) Write(oprot thrift.Protocol) error

type NameBuilder

type NameBuilder struct {
	// contains filtered or unexported fields
}

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (NameBuilder) Emit

func (p NameBuilder) Emit() *Name

func (*NameBuilder) Name

func (n *NameBuilder) Name(name string) *NameBuilder

func (*NameBuilder) Reason

func (n *NameBuilder) Reason(reason string) *NameBuilder

type SkipCodegen

type SkipCodegen struct {
	Reason string `thrift:"reason,1" db:"reason" json:"reason"`
}

Attributes:

  • Reason

func NewSkipCodegen

func NewSkipCodegen() *SkipCodegen

func (*SkipCodegen) GetReason

func (p *SkipCodegen) GetReason() string

func (*SkipCodegen) Read

func (p *SkipCodegen) Read(iprot thrift.Protocol) error

func (*SkipCodegen) ReadField1

func (p *SkipCodegen) ReadField1(iprot thrift.Protocol) error

func (*SkipCodegen) SetReason

func (s *SkipCodegen) SetReason(reason string) *SkipCodegen

func (*SkipCodegen) String

func (p *SkipCodegen) String() string

func (*SkipCodegen) Write

func (p *SkipCodegen) Write(oprot thrift.Protocol) error

type SkipCodegenBuilder

type SkipCodegenBuilder struct {
	// contains filtered or unexported fields
}

func NewSkipCodegenBuilder

func NewSkipCodegenBuilder() *SkipCodegenBuilder

func (SkipCodegenBuilder) Emit

func (p SkipCodegenBuilder) Emit() *SkipCodegen

func (*SkipCodegenBuilder) Reason

func (s *SkipCodegenBuilder) Reason(reason string) *SkipCodegenBuilder

type StructAsTrait

type StructAsTrait struct {
}

func NewStructAsTrait

func NewStructAsTrait() *StructAsTrait

func (*StructAsTrait) Read

func (p *StructAsTrait) Read(iprot thrift.Protocol) error

func (*StructAsTrait) String

func (p *StructAsTrait) String() string

func (*StructAsTrait) Write

func (p *StructAsTrait) Write(oprot thrift.Protocol) error

type StructAsTraitBuilder

type StructAsTraitBuilder struct {
	// contains filtered or unexported fields
}

func NewStructAsTraitBuilder

func NewStructAsTraitBuilder() *StructAsTraitBuilder

func (StructAsTraitBuilder) Emit

type StructTrait

type StructTrait struct {
	Name string `thrift:"name,1" db:"name" json:"name"`
}

Attributes:

  • Name

func NewStructTrait

func NewStructTrait() *StructTrait

func (*StructTrait) GetName

func (p *StructTrait) GetName() string

func (*StructTrait) Read

func (p *StructTrait) Read(iprot thrift.Protocol) error

func (*StructTrait) ReadField1

func (p *StructTrait) ReadField1(iprot thrift.Protocol) error

func (*StructTrait) SetName

func (s *StructTrait) SetName(name string) *StructTrait

func (*StructTrait) String

func (p *StructTrait) String() string

func (*StructTrait) Write

func (p *StructTrait) Write(oprot thrift.Protocol) error

type StructTraitBuilder

type StructTraitBuilder struct {
	// contains filtered or unexported fields
}

func NewStructTraitBuilder

func NewStructTraitBuilder() *StructTraitBuilder

func (StructTraitBuilder) Emit

func (p StructTraitBuilder) Emit() *StructTrait

func (*StructTraitBuilder) Name

type UnionEnumAttributes

type UnionEnumAttributes struct {
	Attributes []string `thrift:"attributes,1" db:"attributes" json:"attributes"`
}

Attributes:

  • Attributes

func NewUnionEnumAttributes

func NewUnionEnumAttributes() *UnionEnumAttributes

func (*UnionEnumAttributes) GetAttributes

func (p *UnionEnumAttributes) GetAttributes() []string

func (*UnionEnumAttributes) Read

func (p *UnionEnumAttributes) Read(iprot thrift.Protocol) error

func (*UnionEnumAttributes) ReadField1

func (p *UnionEnumAttributes) ReadField1(iprot thrift.Protocol) error

func (*UnionEnumAttributes) SetAttributes

func (u *UnionEnumAttributes) SetAttributes(attributes []string) *UnionEnumAttributes

func (*UnionEnumAttributes) String

func (p *UnionEnumAttributes) String() string

func (*UnionEnumAttributes) Write

func (p *UnionEnumAttributes) Write(oprot thrift.Protocol) error

type UnionEnumAttributesBuilder

type UnionEnumAttributesBuilder struct {
	// contains filtered or unexported fields
}

func NewUnionEnumAttributesBuilder

func NewUnionEnumAttributesBuilder() *UnionEnumAttributesBuilder

func (*UnionEnumAttributesBuilder) Attributes

func (u *UnionEnumAttributesBuilder) Attributes(attributes []string) *UnionEnumAttributesBuilder

func (UnionEnumAttributesBuilder) Emit

type Wrapper

type Wrapper struct {
	Name           string `thrift:"name,1" db:"name" json:"name"`
	UnderlyingName string `thrift:"underlyingName,2" db:"underlyingName" json:"underlyingName"`
	ExtraNamespace string `thrift:"extraNamespace,3" db:"extraNamespace" json:"extraNamespace"`
}

Attributes:

  • Name
  • UnderlyingName
  • ExtraNamespace

func NewWrapper

func NewWrapper() *Wrapper

func (*Wrapper) GetExtraNamespace

func (p *Wrapper) GetExtraNamespace() string

func (*Wrapper) GetName

func (p *Wrapper) GetName() string

func (*Wrapper) GetUnderlyingName

func (p *Wrapper) GetUnderlyingName() string

func (*Wrapper) Read

func (p *Wrapper) Read(iprot thrift.Protocol) error

func (*Wrapper) ReadField1

func (p *Wrapper) ReadField1(iprot thrift.Protocol) error

func (*Wrapper) ReadField2

func (p *Wrapper) ReadField2(iprot thrift.Protocol) error

func (*Wrapper) ReadField3

func (p *Wrapper) ReadField3(iprot thrift.Protocol) error

func (*Wrapper) SetExtraNamespace

func (w *Wrapper) SetExtraNamespace(extraNamespace string) *Wrapper

func (*Wrapper) SetName

func (w *Wrapper) SetName(name string) *Wrapper

func (*Wrapper) SetUnderlyingName

func (w *Wrapper) SetUnderlyingName(underlyingName string) *Wrapper

func (*Wrapper) String

func (p *Wrapper) String() string

func (*Wrapper) Write

func (p *Wrapper) Write(oprot thrift.Protocol) error

type WrapperBuilder

type WrapperBuilder struct {
	// contains filtered or unexported fields
}

func NewWrapperBuilder

func NewWrapperBuilder() *WrapperBuilder

func (WrapperBuilder) Emit

func (p WrapperBuilder) Emit() *Wrapper

func (*WrapperBuilder) ExtraNamespace

func (w *WrapperBuilder) ExtraNamespace(extraNamespace string) *WrapperBuilder

func (*WrapperBuilder) Name

func (w *WrapperBuilder) Name(name string) *WrapperBuilder

func (*WrapperBuilder) UnderlyingName

func (w *WrapperBuilder) UnderlyingName(underlyingName string) *WrapperBuilder

Jump to

Keyboard shortcuts

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