type BigInt big.Int
func (this BigInt) ToBuffer() Buffer
type Bool bool
func (this Bool) ToBuffer() Buffer
type Buffer []byte
func (this Buffer) Encode() String
func (this Buffer) Equal(buf Buffer) Bool
func (this Buffer) ToBigInt() BigInt
func (this Buffer) ToBool() Bool
func (this Buffer) ToFloat32() Float32
func (this Buffer) ToFloat64() Float64
func (this Buffer) ToInt16() Int16
func (this Buffer) ToInt32() Int32
func (this Buffer) ToInt64() Int64
func (this Buffer) ToInt8() Int8
func (this Buffer) ToString() String
func (this Buffer) ToUInt16() UInt16
func (this Buffer) ToUInt32() UInt32
func (this Buffer) ToUInt64() UInt64
func (this Buffer) ToUInt8() UInt8
type Dict map[string]Item
func MarshalDict(src interface{}) (Dict, error)
func NewDict() Dict
func NewDictFromJson(data Buffer) Dict
func (this Dict) ContainsKey(key String) bool
func (this Dict) ContainsKeys(keys List) bool
func (this Dict) Copy() Dict
func (this Dict) Equal(other Dict) bool
func (dict Dict) GetBool(key string) (Bool, bool)
func (dict Dict) GetDict(key string) (Dict, bool)
func (dict Dict) GetFloat32(key string) (Float32, bool)
func (dict Dict) GetFloat64(key string) (Float64, bool)
func (dict Dict) GetInt16(key string) (Int16, bool)
func (dict Dict) GetInt32(key string) (Int32, bool)
func (dict Dict) GetInt64(key string) (Int64, bool)
func (dict Dict) GetInt8(key string) (Int8, bool)
func (dict Dict) GetList(key string) (List, bool)
func (dict Dict) GetString(key string) (String, bool)
func (dict Dict) GetUInt16(key string) (UInt16, bool)
func (dict Dict) GetUInt32(key string) (UInt32, bool)
func (dict Dict) GetUInt64(key string) (UInt64, bool)
func (dict Dict) GetUInt8(key string) (UInt8, bool)
func (dict Dict) IsNil(key string) bool
func (this Dict) Keys() List
func (this Dict) String() string
func (this Dict) ToColoredJson() String
func (this Dict) ToJson() Buffer
func (this Dict) ToQueryString() url.Values
ToQueryString converts the Dict to a URL query string.
Example:
dict := hctypes.Dict{ "key1": "value1", "key2": 42, } dict.ToQueryString().Encode() // output: "key1=value1&key2=42"
No parameters. Returns url.Values.
func (this Dict) Unmarshal(src interface{}) error
type Float32 float32
func (this Float32) ToBuffer() Buffer
type Float64 float64
func (this Float64) ToBuffer() Buffer
type Int16 int16
func (this Int16) ToBuffer() Buffer
type Int32 int32
func (this Int32) ToBuffer() Buffer
type Int64 int64
func (this Int64) ToBuffer() Buffer
type Int8 int8
func (this Int8) ToBuffer() Buffer
type Item interface{}
type List []Item
func MakeList(count int) List
func MarshalList(src interface{}) (List, error)
func NewList() List
func NewListFromJson(data Buffer) List
func (this List) Append(item ...Item) List
func (this List) Copy() List
func (this List) Equal(other List) bool
func (list List) GetBool(i int) (Bool, bool)
func (list List) GetDict(i int) (Dict, bool)
func (list List) GetFloat32(i int) (Float32, bool)
func (list List) GetFloat64(i int) (Float64, bool)
func (list List) GetInt16(i int) (Int16, bool)
func (list List) GetInt32(i int) (Int32, bool)
func (list List) GetInt64(i int) (Int64, bool)
func (list List) GetInt8(i int) (Int8, bool)
func (list List) GetList(i int) (List, bool)
func (list List) GetString(i int) (String, bool)
func (list List) GetUInt16(i int) (UInt16, bool)
func (list List) GetUInt32(i int) (UInt32, bool)
func (list List) GetUInt64(i int) (UInt64, bool)
func (list List) GetUInt8(i int) (UInt8, bool)
func (list List) IsNil(i int) bool
func (this List) String() string
func (this List) ToColoredJson() String
func (this List) ToJson() Buffer
func (this List) Unmarshal(src interface{}) error
type String string
func ColoredJSON(data Buffer) String
func (this String) Decode() Buffer
func (this String) ToBuffer() Buffer
type UInt16 uint16
func (this UInt16) ToBuffer() Buffer
type UInt32 uint32
func (this UInt32) ToBuffer() Buffer
type UInt64 uint64
func (this UInt64) ToBuffer() Buffer
type UInt8 uint8
func (this UInt8) ToBuffer() Buffer