Documentation ¶
Index ¶
- Variables
- type ByteBuffer
- type ByteString
- type StandardProtocol
- type TypeName
- func (x *TypeName) GetBinaryType() *Void
- func (x *TypeName) GetBoolType() *Void
- func (x *TypeName) GetByteType() *Void
- func (x *TypeName) GetDoubleType() *Void
- func (x *TypeName) GetEnumType() *TypeURI
- func (x *TypeName) GetExceptionType() *TypeURI
- func (x *TypeName) GetFloatType() *Void
- func (x *TypeName) GetI16Type() *Void
- func (x *TypeName) GetI32Type() *Void
- func (x *TypeName) GetI64Type() *Void
- func (x *TypeName) GetListType() *Void
- func (x *TypeName) GetMapType() *Void
- func (x *TypeName) GetSetType() *Void
- func (x *TypeName) GetStringType() *Void
- func (x *TypeName) GetStructType() *TypeURI
- func (x *TypeName) GetTypedefType() *TypeURI
- func (x *TypeName) GetUnionType() *TypeURI
- func (x *TypeName) IsSetBinaryType() bool
- func (x *TypeName) IsSetBoolType() bool
- func (x *TypeName) IsSetByteType() bool
- func (x *TypeName) IsSetDoubleType() bool
- func (x *TypeName) IsSetEnumType() bool
- func (x *TypeName) IsSetExceptionType() bool
- func (x *TypeName) IsSetFloatType() bool
- func (x *TypeName) IsSetI16Type() bool
- func (x *TypeName) IsSetI32Type() bool
- func (x *TypeName) IsSetI64Type() bool
- func (x *TypeName) IsSetListType() bool
- func (x *TypeName) IsSetMapType() bool
- func (x *TypeName) IsSetSetType() bool
- func (x *TypeName) IsSetStringType() bool
- func (x *TypeName) IsSetStructType() bool
- func (x *TypeName) IsSetTypedefType() bool
- func (x *TypeName) IsSetUnionType() bool
- func (x *TypeName) Read(p thrift.Protocol) error
- func (x *TypeName) SetBinaryType(value Void) *TypeName
- func (x *TypeName) SetBoolType(value Void) *TypeName
- func (x *TypeName) SetByteType(value Void) *TypeName
- func (x *TypeName) SetDoubleType(value Void) *TypeName
- func (x *TypeName) SetEnumType(value TypeURI) *TypeName
- func (x *TypeName) SetExceptionType(value TypeURI) *TypeName
- func (x *TypeName) SetFloatType(value Void) *TypeName
- func (x *TypeName) SetI16Type(value Void) *TypeName
- func (x *TypeName) SetI32Type(value Void) *TypeName
- func (x *TypeName) SetI64Type(value Void) *TypeName
- func (x *TypeName) SetListType(value Void) *TypeName
- func (x *TypeName) SetMapType(value Void) *TypeName
- func (x *TypeName) SetSetType(value Void) *TypeName
- func (x *TypeName) SetStringType(value Void) *TypeName
- func (x *TypeName) SetStructType(value TypeURI) *TypeName
- func (x *TypeName) SetTypedefType(value TypeURI) *TypeName
- func (x *TypeName) SetUnionType(value TypeURI) *TypeName
- func (x *TypeName) Write(p thrift.Protocol) error
- type TypeURI
- func (x *TypeURI) GetTypeHashPrefixSha2256() ByteString
- func (x *TypeURI) GetURI() *URI
- func (x *TypeURI) IsSetTypeHashPrefixSha2256() bool
- func (x *TypeURI) IsSetURI() bool
- func (x *TypeURI) Read(p thrift.Protocol) error
- func (x *TypeURI) SetTypeHashPrefixSha2256(value ByteString) *TypeURI
- func (x *TypeURI) SetURI(value URI) *TypeURI
- func (x *TypeURI) Write(p thrift.Protocol) error
- type URI
- type Void
- func VoidFromString(s string) (Void, error)deprecated
- func VoidPtr(v Void) *Voiddeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Void_name = map[Void]string{ Void_Unused: "Unused", } Void_value = map[string]Void{ "Unused": Void_Unused, } // Deprecated: Use Void_name instead. VoidToName = Void_name // Deprecated: Use Void_value instead. VoidToValue = Void_value // Deprecated: Use Void_name instead (e.g. `for name, _ := range Void_name {}`). VoidNames = []string{ "Unused", } // Deprecated: Use Void_value instead (e.g. `for value, _ := range Void_value {}`). VoidValues = []Void{ 0, } )
Enum value maps for Void
View Source
var ( StandardProtocol_name = map[StandardProtocol]string{ StandardProtocol_Custom: "Custom", StandardProtocol_Binary: "Binary", StandardProtocol_Compact: "Compact", StandardProtocol_JSON: "Json", StandardProtocol_SimpleJSON: "SimpleJson", } StandardProtocol_value = map[string]StandardProtocol{ "Custom": StandardProtocol_Custom, "Binary": StandardProtocol_Binary, "Compact": StandardProtocol_Compact, "Json": StandardProtocol_JSON, "SimpleJson": StandardProtocol_SimpleJSON, } // Deprecated: Use StandardProtocol_name instead. StandardProtocolToName = StandardProtocol_name // Deprecated: Use StandardProtocol_value instead. StandardProtocolToValue = StandardProtocol_value // Deprecated: Use StandardProtocol_name instead (e.g. `for name, _ := range StandardProtocol_name {}`). StandardProtocolNames = []string{ "Custom", "Binary", "Compact", "Json", "SimpleJson", } // Deprecated: Use StandardProtocol_value instead (e.g. `for value, _ := range StandardProtocol_value {}`). StandardProtocolValues = []StandardProtocol{ 0, 1, 2, 3, 4, } )
Enum value maps for StandardProtocol
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type ByteBuffer ¶
type ByteBuffer = []byte
type ByteString ¶
type ByteString = []byte
type StandardProtocol ¶
type StandardProtocol int32
const ( StandardProtocol_Custom StandardProtocol = 0 StandardProtocol_Binary StandardProtocol = 1 StandardProtocol_Compact StandardProtocol = 2 StandardProtocol_JSON StandardProtocol = 3 StandardProtocol_SimpleJSON StandardProtocol = 4 )
func StandardProtocolFromString
deprecated
func StandardProtocolFromString(s string) (StandardProtocol, error)
Deprecated: Use StandardProtocol_value instead (e.g. `x, ok := StandardProtocol_value["name"]`).
func StandardProtocolPtr
deprecated
func StandardProtocolPtr(v StandardProtocol) *StandardProtocol
Deprecated: Use StandardProtocol.Ptr() instead.
func (StandardProtocol) Ptr ¶
func (x StandardProtocol) Ptr() *StandardProtocol
func (StandardProtocol) String ¶
func (x StandardProtocol) String() string
type TypeName ¶
type TypeName struct { BoolType *Void `thrift:"boolType,1" json:"boolType" db:"boolType"` ByteType *Void `thrift:"byteType,2" json:"byteType" db:"byteType"` I16Type *Void `thrift:"i16Type,3" json:"i16Type" db:"i16Type"` I32Type *Void `thrift:"i32Type,4" json:"i32Type" db:"i32Type"` I64Type *Void `thrift:"i64Type,5" json:"i64Type" db:"i64Type"` FloatType *Void `thrift:"floatType,6" json:"floatType" db:"floatType"` DoubleType *Void `thrift:"doubleType,7" json:"doubleType" db:"doubleType"` StringType *Void `thrift:"stringType,8" json:"stringType" db:"stringType"` BinaryType *Void `thrift:"binaryType,9" json:"binaryType" db:"binaryType"` EnumType *TypeURI `thrift:"enumType,10" json:"enumType" db:"enumType"` TypedefType *TypeURI `thrift:"typedefType,17" json:"typedefType" db:"typedefType"` StructType *TypeURI `thrift:"structType,11" json:"structType" db:"structType"` UnionType *TypeURI `thrift:"unionType,12" json:"unionType" db:"unionType"` ExceptionType *TypeURI `thrift:"exceptionType,13" json:"exceptionType" db:"exceptionType"` ListType *Void `thrift:"listType,14" json:"listType" db:"listType"` SetType *Void `thrift:"setType,15" json:"setType" db:"setType"` MapType *Void `thrift:"mapType,16" json:"mapType" db:"mapType"` }
func NewTypeName ¶
func NewTypeName() *TypeName
func (*TypeName) GetBinaryType ¶
func (*TypeName) GetBoolType ¶
func (*TypeName) GetByteType ¶
func (*TypeName) GetDoubleType ¶
func (*TypeName) GetEnumType ¶
func (*TypeName) GetExceptionType ¶
func (*TypeName) GetFloatType ¶
func (*TypeName) GetI16Type ¶
func (*TypeName) GetI32Type ¶
func (*TypeName) GetI64Type ¶
func (*TypeName) GetListType ¶
func (*TypeName) GetMapType ¶
func (*TypeName) GetSetType ¶
func (*TypeName) GetStringType ¶
func (*TypeName) GetStructType ¶
func (*TypeName) GetTypedefType ¶
func (*TypeName) GetUnionType ¶
func (*TypeName) IsSetBinaryType ¶
func (*TypeName) IsSetBoolType ¶
func (*TypeName) IsSetByteType ¶
func (*TypeName) IsSetDoubleType ¶
func (*TypeName) IsSetEnumType ¶
func (*TypeName) IsSetExceptionType ¶
func (*TypeName) IsSetFloatType ¶
func (*TypeName) IsSetI16Type ¶
func (*TypeName) IsSetI32Type ¶
func (*TypeName) IsSetI64Type ¶
func (*TypeName) IsSetListType ¶
func (*TypeName) IsSetMapType ¶
func (*TypeName) IsSetSetType ¶
func (*TypeName) IsSetStringType ¶
func (*TypeName) IsSetStructType ¶
func (*TypeName) IsSetTypedefType ¶
func (*TypeName) IsSetUnionType ¶
func (*TypeName) SetBinaryType ¶
func (*TypeName) SetBoolType ¶
func (*TypeName) SetByteType ¶
func (*TypeName) SetDoubleType ¶
func (*TypeName) SetEnumType ¶
func (*TypeName) SetExceptionType ¶
func (*TypeName) SetFloatType ¶
func (*TypeName) SetI16Type ¶
func (*TypeName) SetI32Type ¶
func (*TypeName) SetI64Type ¶
func (*TypeName) SetListType ¶
func (*TypeName) SetMapType ¶
func (*TypeName) SetSetType ¶
func (*TypeName) SetStringType ¶
func (*TypeName) SetStructType ¶
func (*TypeName) SetTypedefType ¶
func (*TypeName) SetUnionType ¶
type TypeURI ¶
type TypeURI struct { URI *URI `thrift:"uri,1" json:"uri" db:"uri"` TypeHashPrefixSha2256 ByteString `thrift:"typeHashPrefixSha2_256,2" json:"typeHashPrefixSha2_256" db:"typeHashPrefixSha2_256"` }
func NewTypeURI ¶
func NewTypeURI() *TypeURI
func (*TypeURI) GetTypeHashPrefixSha2256 ¶
func (x *TypeURI) GetTypeHashPrefixSha2256() ByteString
func (*TypeURI) IsSetTypeHashPrefixSha2256 ¶
func (*TypeURI) SetTypeHashPrefixSha2256 ¶
func (x *TypeURI) SetTypeHashPrefixSha2256(value ByteString) *TypeURI
Click to show internal directories.
Click to hide internal directories.