Documentation ¶
Index ¶
- Variables
- type Adapter
- type AdapterBuilderdeprecated
- type Attributes
- type AttributesBuilderdeprecated
- type FieldWrapper
- type FieldWrapperBuilderdeprecated
- type Name
- type NameBuilderdeprecated
- type SkipCodegen
- type SkipCodegenBuilderdeprecated
- type StructAsTrait
- type StructAsTraitBuilderdeprecated
- type StructTrait
- type StructTraitBuilderdeprecated
- type UnionEnumAttributes
- func (x *UnionEnumAttributes) GetAttributes() []string
- func (x *UnionEnumAttributes) IsSetAttributes() bool
- func (x *UnionEnumAttributes) Read(p thrift.Protocol) error
- func (x *UnionEnumAttributes) SetAttributes(value []string) *UnionEnumAttributes
- func (x *UnionEnumAttributes) Write(p thrift.Protocol) error
- type UnionEnumAttributesBuilderdeprecated
- type Wrapper
- func (x *Wrapper) GetExtraNamespace() string
- func (x *Wrapper) GetName() string
- func (x *Wrapper) GetUnderlyingName() string
- func (x *Wrapper) Read(p thrift.Protocol) error
- func (x *Wrapper) SetExtraNamespace(value string) *Wrapper
- func (x *Wrapper) SetName(value string) *Wrapper
- func (x *Wrapper) SetUnderlyingName(value string) *Wrapper
- func (x *Wrapper) Write(p thrift.Protocol) error
- type WrapperBuilderdeprecated
Constants ¶
This section is empty.
Variables ¶
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
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) SetAttributes ¶
func (x *Attributes) SetAttributes(value []string) *Attributes
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) SetName ¶
func (x *FieldWrapper) SetName(value string) *FieldWrapper
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 ¶
func (x *FieldWrapperBuilder) Name(value string) *FieldWrapperBuilder
type Name ¶
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) SetReason ¶
func (x *SkipCodegen) SetReason(value string) *SkipCodegen
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
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 ¶
func (x *StructAsTraitBuilder) Emit() *StructAsTrait
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) SetName ¶
func (x *StructTrait) SetName(value string) *StructTrait
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 ¶
func (x *StructTraitBuilder) Name(value string) *StructTraitBuilder
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) SetAttributes ¶
func (x *UnionEnumAttributes) SetAttributes(value []string) *UnionEnumAttributes
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 (x *UnionEnumAttributesBuilder) Attributes(value []string) *UnionEnumAttributesBuilder
func (*UnionEnumAttributesBuilder) Emit ¶
func (x *UnionEnumAttributesBuilder) Emit() *UnionEnumAttributes
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 (*Wrapper) GetUnderlyingName ¶
func (*Wrapper) SetExtraNamespace ¶
func (*Wrapper) SetUnderlyingName ¶
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