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: 3 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" json:"name" db:"name"`
}

func NewAdapter

func NewAdapter() *Adapter

func (*Adapter) GetName

func (x *Adapter) GetName() string

func (*Adapter) Read

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

func (*Adapter) SetName

func (x *Adapter) SetName(value string) *Adapter

func (*Adapter) Write

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

type AdapterBuilder deprecated

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

Deprecated: Use Adapter.Set* methods instead or set the fields directly.

func NewAdapterBuilder

func NewAdapterBuilder() *AdapterBuilder

func (*AdapterBuilder) Emit

func (x *AdapterBuilder) Emit() *Adapter

func (*AdapterBuilder) Name

func (x *AdapterBuilder) Name(value string) *AdapterBuilder

type Attributes

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

func NewAttributes

func NewAttributes() *Attributes

func (*Attributes) GetAttributes

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

func (*Attributes) IsSetAttributes

func (x *Attributes) IsSetAttributes() bool

func (*Attributes) Read

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

func (*Attributes) SetAttributes

func (x *Attributes) SetAttributes(value []string) *Attributes

func (*Attributes) Write

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

type AttributesBuilder deprecated

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

Deprecated: Use Attributes.Set* methods instead or set the fields directly.

func NewAttributesBuilder

func NewAttributesBuilder() *AttributesBuilder

func (*AttributesBuilder) Attributes

func (x *AttributesBuilder) Attributes(value []string) *AttributesBuilder

func (*AttributesBuilder) Emit

func (x *AttributesBuilder) Emit() *Attributes

type FieldWrapper

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

func NewFieldWrapper

func NewFieldWrapper() *FieldWrapper

func (*FieldWrapper) GetName

func (x *FieldWrapper) GetName() string

func (*FieldWrapper) Read

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

func (*FieldWrapper) SetName

func (x *FieldWrapper) SetName(value string) *FieldWrapper

func (*FieldWrapper) Write

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

type FieldWrapperBuilder deprecated

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

Deprecated: Use FieldWrapper.Set* methods instead or set the fields directly.

func NewFieldWrapperBuilder

func NewFieldWrapperBuilder() *FieldWrapperBuilder

func (*FieldWrapperBuilder) Emit

func (x *FieldWrapperBuilder) Emit() *FieldWrapper

func (*FieldWrapperBuilder) Name

type Name

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

func NewName

func NewName() *Name

func (*Name) GetName

func (x *Name) GetName() string

func (*Name) GetReason

func (x *Name) GetReason() string

func (*Name) Read

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

func (*Name) SetName

func (x *Name) SetName(value string) *Name

func (*Name) SetReason

func (x *Name) SetReason(value string) *Name

func (*Name) Write

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

type NameBuilder deprecated

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

Deprecated: Use Name.Set* methods instead or set the fields directly.

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Emit

func (x *NameBuilder) Emit() *Name

func (*NameBuilder) Name

func (x *NameBuilder) Name(value string) *NameBuilder

func (*NameBuilder) Reason

func (x *NameBuilder) Reason(value string) *NameBuilder

type SkipCodegen

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

func NewSkipCodegen

func NewSkipCodegen() *SkipCodegen

func (*SkipCodegen) GetReason

func (x *SkipCodegen) GetReason() string

func (*SkipCodegen) Read

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

func (*SkipCodegen) SetReason

func (x *SkipCodegen) SetReason(value string) *SkipCodegen

func (*SkipCodegen) Write

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

type SkipCodegenBuilder deprecated

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

Deprecated: Use SkipCodegen.Set* methods instead or set the fields directly.

func NewSkipCodegenBuilder

func NewSkipCodegenBuilder() *SkipCodegenBuilder

func (*SkipCodegenBuilder) Emit

func (x *SkipCodegenBuilder) Emit() *SkipCodegen

func (*SkipCodegenBuilder) Reason

func (x *SkipCodegenBuilder) Reason(value string) *SkipCodegenBuilder

type StructAsTrait

type StructAsTrait struct {
}

func NewStructAsTrait

func NewStructAsTrait() *StructAsTrait

func (*StructAsTrait) Read

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

func (*StructAsTrait) Write

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

type StructAsTraitBuilder deprecated

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

Deprecated: Use StructAsTrait.Set* methods instead or set the fields directly.

func NewStructAsTraitBuilder

func NewStructAsTraitBuilder() *StructAsTraitBuilder

func (*StructAsTraitBuilder) Emit

type StructTrait

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

func NewStructTrait

func NewStructTrait() *StructTrait

func (*StructTrait) GetName

func (x *StructTrait) GetName() string

func (*StructTrait) Read

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

func (*StructTrait) SetName

func (x *StructTrait) SetName(value string) *StructTrait

func (*StructTrait) Write

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

type StructTraitBuilder deprecated

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

Deprecated: Use StructTrait.Set* methods instead or set the fields directly.

func NewStructTraitBuilder

func NewStructTraitBuilder() *StructTraitBuilder

func (*StructTraitBuilder) Emit

func (x *StructTraitBuilder) Emit() *StructTrait

func (*StructTraitBuilder) Name

type UnionEnumAttributes

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

func NewUnionEnumAttributes

func NewUnionEnumAttributes() *UnionEnumAttributes

func (*UnionEnumAttributes) GetAttributes

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

func (*UnionEnumAttributes) IsSetAttributes

func (x *UnionEnumAttributes) IsSetAttributes() bool

func (*UnionEnumAttributes) Read

func (*UnionEnumAttributes) SetAttributes

func (x *UnionEnumAttributes) SetAttributes(value []string) *UnionEnumAttributes

func (*UnionEnumAttributes) Write

type UnionEnumAttributesBuilder deprecated

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

Deprecated: Use UnionEnumAttributes.Set* methods instead or set the fields directly.

func NewUnionEnumAttributesBuilder

func NewUnionEnumAttributesBuilder() *UnionEnumAttributesBuilder

func (*UnionEnumAttributesBuilder) Attributes

func (*UnionEnumAttributesBuilder) Emit

type Wrapper

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

func NewWrapper

func NewWrapper() *Wrapper

func (*Wrapper) GetExtraNamespace

func (x *Wrapper) GetExtraNamespace() string

func (*Wrapper) GetName

func (x *Wrapper) GetName() string

func (*Wrapper) GetUnderlyingName

func (x *Wrapper) GetUnderlyingName() string

func (*Wrapper) Read

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

func (*Wrapper) SetExtraNamespace

func (x *Wrapper) SetExtraNamespace(value string) *Wrapper

func (*Wrapper) SetName

func (x *Wrapper) SetName(value string) *Wrapper

func (*Wrapper) SetUnderlyingName

func (x *Wrapper) SetUnderlyingName(value string) *Wrapper

func (*Wrapper) Write

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

type WrapperBuilder deprecated

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

Deprecated: Use Wrapper.Set* methods instead or set the fields directly.

func NewWrapperBuilder

func NewWrapperBuilder() *WrapperBuilder

func (*WrapperBuilder) Emit

func (x *WrapperBuilder) Emit() *Wrapper

func (*WrapperBuilder) ExtraNamespace

func (x *WrapperBuilder) ExtraNamespace(value string) *WrapperBuilder

func (*WrapperBuilder) Name

func (x *WrapperBuilder) Name(value string) *WrapperBuilder

func (*WrapperBuilder) UnderlyingName

func (x *WrapperBuilder) UnderlyingName(value string) *WrapperBuilder

Jump to

Keyboard shortcuts

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