Documentation ¶
Index ¶
- func BoolPtr(v bool) *bool
- func Float64Ptr(v float64) *float64
- func Int32Ceil(v float64) int32
- func Int32Ptr(v int32) *int32
- func Int64Ceil(v float64) int64
- func Int64Ptr(v int64) *int64
- func IsThriftType(v interface{}) bool
- func IsUseThriftDecoding(objs []interface{}) bool
- func IsUseThriftEncoding(objs []interface{}) bool
- func StringPtr(v string) *string
- func TDeserialize(t thrift.TStruct, b []byte) (err error)
- func TListDeserialize(ts []thrift.TStruct, b []byte) (err error)
- func TListSerialize(ts []thrift.TStruct) (b []byte, err error)
- func TSerialize(t thrift.TStruct) (b []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float64Ptr ¶
Float64Ptr makes a copy and returns the pointer to a float64.
func IsThriftType ¶
func IsThriftType(v interface{}) bool
IsThriftType checks whether the object passed in is a thrift encoded object.
func IsUseThriftDecoding ¶
func IsUseThriftDecoding(objs []interface{}) bool
IsUseThriftDecoding checks if the objects passed in are all de-serializable using thrift.
func IsUseThriftEncoding ¶
func IsUseThriftEncoding(objs []interface{}) bool
IsUseThriftEncoding checks if the objects passed in are all encoded using thrift.
func TDeserialize ¶
TDeserialize is used to deserialize []byte to thrift TStruct
func TListDeserialize ¶
TListDeserialize is used to deserialize []byte to list of thrift TStruct
func TListSerialize ¶
TListSerialize is used to serialize list of thrift TStruct to []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.