Documentation ¶
Index ¶
- func BoolPtr(v bool) *bool
- func DecisionTypePtr(t s.DecisionType) *s.DecisionType
- func EventTypePtr(t s.EventType) *s.EventType
- 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 QueryResultTypePtr(t s.QueryResultType) *s.QueryResultType
- func QueryTaskCompletedTypePtr(t s.QueryTaskCompletedType) *s.QueryTaskCompletedType
- func StringPtr(v string) *string
- func TDeserialize(ctx context.Context, 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(ctx context.Context, t thrift.TStruct) (b []byte, err error)
- func TaskListKindPtr(t s.TaskListKind) *s.TaskListKind
- func TaskListPtr(v s.TaskList) *s.TaskList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecisionTypePtr ¶
func DecisionTypePtr(t s.DecisionType) *s.DecisionType
DecisionTypePtr makes a copy and returns the pointer to a DecisionType.
func EventTypePtr ¶
EventTypePtr makes a copy and returns the pointer to a EventType.
func Float64Ptr ¶ added in v0.8.6
Float64Ptr makes a copy and returns the pointer to a float64.
func IsThriftType ¶ added in v0.12.2
func IsThriftType(v interface{}) bool
IsThriftType checks whether the object passed in is a thrift encoded object.
func IsUseThriftDecoding ¶ added in v0.12.2
func IsUseThriftDecoding(objs []interface{}) bool
IsUseThriftDecoding checks if the objects passed in are all de-serializable using thrift.
func IsUseThriftEncoding ¶ added in v0.12.2
func IsUseThriftEncoding(objs []interface{}) bool
IsUseThriftEncoding checks if the objects passed in are all encoded using thrift.
func QueryResultTypePtr ¶ added in v0.11.0
func QueryResultTypePtr(t s.QueryResultType) *s.QueryResultType
QueryResultTypePtr makes a copy and returns the pointer to a QueryResultType.
func QueryTaskCompletedTypePtr ¶
func QueryTaskCompletedTypePtr(t s.QueryTaskCompletedType) *s.QueryTaskCompletedType
QueryTaskCompletedTypePtr makes a copy and returns the pointer to a QueryTaskCompletedType.
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
func TSerialize ¶
TSerialize is used to serialize thrift TStruct to []byte
func TaskListKindPtr ¶ added in v0.5.1
func TaskListKindPtr(t s.TaskListKind) *s.TaskListKind
TaskListKindPtr makes a copy and returns the pointer to a TaskListKind.
Types ¶
This section is empty.