Documentation ¶
Index ¶
- Variables
- type Adapter
- type AdapterBuilder
- type Attributes
- func (p *Attributes) GetAttributes() []string
- func (p *Attributes) Read(iprot thrift.Protocol) error
- func (p *Attributes) ReadField1(iprot thrift.Protocol) error
- func (a *Attributes) SetAttributes(attributes []string) *Attributes
- func (p *Attributes) String() string
- func (p *Attributes) Write(oprot thrift.Protocol) error
- type AttributesBuilder
- type FieldWrapper
- func (p *FieldWrapper) GetName() string
- func (p *FieldWrapper) Read(iprot thrift.Protocol) error
- func (p *FieldWrapper) ReadField1(iprot thrift.Protocol) error
- func (f *FieldWrapper) SetName(name string) *FieldWrapper
- func (p *FieldWrapper) String() string
- func (p *FieldWrapper) Write(oprot thrift.Protocol) error
- type FieldWrapperBuilder
- type Name
- func (p *Name) GetName() string
- func (p *Name) GetReason() string
- func (p *Name) Read(iprot thrift.Protocol) error
- func (p *Name) ReadField1(iprot thrift.Protocol) error
- func (p *Name) ReadField2(iprot thrift.Protocol) error
- func (n *Name) SetName(name string) *Name
- func (n *Name) SetReason(reason string) *Name
- func (p *Name) String() string
- func (p *Name) Write(oprot thrift.Protocol) error
- type NameBuilder
- type SkipCodegen
- func (p *SkipCodegen) GetReason() string
- func (p *SkipCodegen) Read(iprot thrift.Protocol) error
- func (p *SkipCodegen) ReadField1(iprot thrift.Protocol) error
- func (s *SkipCodegen) SetReason(reason string) *SkipCodegen
- func (p *SkipCodegen) String() string
- func (p *SkipCodegen) Write(oprot thrift.Protocol) error
- type SkipCodegenBuilder
- type StructAsTrait
- type StructAsTraitBuilder
- type StructTrait
- func (p *StructTrait) GetName() string
- func (p *StructTrait) Read(iprot thrift.Protocol) error
- func (p *StructTrait) ReadField1(iprot thrift.Protocol) error
- func (s *StructTrait) SetName(name string) *StructTrait
- func (p *StructTrait) String() string
- func (p *StructTrait) Write(oprot thrift.Protocol) error
- type StructTraitBuilder
- type UnionEnumAttributes
- func (p *UnionEnumAttributes) GetAttributes() []string
- func (p *UnionEnumAttributes) Read(iprot thrift.Protocol) error
- func (p *UnionEnumAttributes) ReadField1(iprot thrift.Protocol) error
- func (u *UnionEnumAttributes) SetAttributes(attributes []string) *UnionEnumAttributes
- func (p *UnionEnumAttributes) String() string
- func (p *UnionEnumAttributes) Write(oprot thrift.Protocol) error
- type UnionEnumAttributesBuilder
- type Wrapper
- func (p *Wrapper) GetExtraNamespace() string
- func (p *Wrapper) GetName() string
- func (p *Wrapper) GetUnderlyingName() string
- func (p *Wrapper) Read(iprot thrift.Protocol) error
- func (p *Wrapper) ReadField1(iprot thrift.Protocol) error
- func (p *Wrapper) ReadField2(iprot thrift.Protocol) error
- func (p *Wrapper) ReadField3(iprot thrift.Protocol) error
- func (w *Wrapper) SetExtraNamespace(extraNamespace string) *Wrapper
- func (w *Wrapper) SetName(name string) *Wrapper
- func (w *Wrapper) SetUnderlyingName(underlyingName string) *Wrapper
- func (p *Wrapper) String() string
- func (p *Wrapper) Write(oprot thrift.Protocol) error
- type WrapperBuilder
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
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) 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
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) 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
type FieldWrapperBuilder ¶
type FieldWrapperBuilder struct {
// contains filtered or unexported fields
}
func NewFieldWrapperBuilder ¶
func NewFieldWrapperBuilder() *FieldWrapperBuilder
func (FieldWrapperBuilder) Emit ¶
func (p FieldWrapperBuilder) Emit() *FieldWrapper
func (*FieldWrapperBuilder) Name ¶
func (f *FieldWrapperBuilder) Name(name string) *FieldWrapperBuilder
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
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) 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
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) String ¶
func (p *StructAsTrait) String() string
type StructAsTraitBuilder ¶
type StructAsTraitBuilder struct {
// contains filtered or unexported fields
}
func NewStructAsTraitBuilder ¶
func NewStructAsTraitBuilder() *StructAsTraitBuilder
func (StructAsTraitBuilder) Emit ¶
func (p StructAsTraitBuilder) Emit() *StructAsTrait
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) 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
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 ¶
func (s *StructTraitBuilder) Name(name string) *StructTraitBuilder
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) 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
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 ¶
func (p UnionEnumAttributesBuilder) Emit() *UnionEnumAttributes
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 (*Wrapper) GetUnderlyingName ¶
func (*Wrapper) SetExtraNamespace ¶
func (*Wrapper) SetUnderlyingName ¶
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
Click to show internal directories.
Click to hide internal directories.