Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dehydrate ¶
Called by packer to let caller send custom object as structs not known by packstream. Used as a convenience to let the caller be lazy and just send in data and be called when packstream doesn't know what it is instead of checking all data up front.
type Hydrate ¶
Called by unpacker to let receiver check all fields and let the receiver return an hydrated instance or an error if any of the fields or number of fields are different expected.
type IllegalFormatError ¶
type IllegalFormatError struct {
// contains filtered or unexported fields
}
func (*IllegalFormatError) Error ¶
func (e *IllegalFormatError) Error() string
type OverflowError ¶
type OverflowError struct {
// contains filtered or unexported fields
}
func (*OverflowError) Error ¶
func (e *OverflowError) Error() string
type Packer ¶
type Packer struct {
// contains filtered or unexported fields
}
func (*Packer) PackStruct ¶
Convenience function for caller that doesn't want to implement Struct interface.
type Unpacker ¶
type Unpacker struct {
// contains filtered or unexported fields
}
func NewUnpacker ¶
func (*Unpacker) UnpackStruct ¶
type UnsupportedTypeError ¶
type UnsupportedTypeError struct {
// contains filtered or unexported fields
}
func (*UnsupportedTypeError) Error ¶
func (e *UnsupportedTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.