Documentation ¶
Index ¶
- Constants
- Variables
- type Array
- func (base *Array) CHType() string
- func (base *Array) Name() string
- func (array *Array) Read(decoder *binary.Decoder) (interface{}, error)
- func (array *Array) ReadArray(decoder *binary.Decoder, ln int) (interface{}, error)
- func (base *Array) ScanType() reflect.Type
- func (base *Array) String() string
- func (array *Array) Write(encoder *binary.Encoder, v interface{}) error
- func (array *Array) WriteArray(encoder *binary.Encoder, v interface{}) (uint64, error)
- type ArrayWriter
- type Column
- type DateTime
- func (base *DateTime) CHType() string
- func (base *DateTime) Name() string
- func (dt *DateTime) Read(decoder *binary.Decoder) (interface{}, error)
- func (base *DateTime) ScanType() reflect.Type
- func (base *DateTime) String() string
- func (dt *DateTime) Write(encoder *binary.Encoder, v interface{}) error
- type Enum
- type ErrUnexpectedType
- type FixedString
- func (base *FixedString) CHType() string
- func (base *FixedString) Name() string
- func (str *FixedString) Read(decoder *binary.Decoder) (interface{}, error)
- func (base *FixedString) ScanType() reflect.Type
- func (base *FixedString) String() string
- func (str *FixedString) Write(encoder *binary.Encoder, v interface{}) error
- type Float32
- type Float64
- type Int16
- type Int32
- type Int64
- type Int8
- type Nullable
- func (base *Nullable) CHType() string
- func (base *Nullable) Name() string
- func (null *Nullable) Read(decoder *binary.Decoder) (interface{}, error)
- func (null *Nullable) ScanType() reflect.Type
- func (base *Nullable) String() string
- func (null *Nullable) Write(encoder *binary.Encoder, v interface{}) error
- type String
- type UInt16
- type UInt32
- type UInt64
- type UInt8
- type UUID
Constants ¶
View Source
const UUIDLen = 16
Variables ¶
View Source
var ErrInvalidUUIDFormat = errors.New("invalid UUID format")
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
type ArrayWriter ¶
type Column ¶
type DateTime ¶
type ErrUnexpectedType ¶
type ErrUnexpectedType struct { Column Column T interface{} }
func (*ErrUnexpectedType) Error ¶
func (err *ErrUnexpectedType) Error() string
type FixedString ¶
type FixedString struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.