Documentation ¶
Index ¶
- Constants
- type BinaryBuffer
- func (bw *BinaryBuffer) ReadInt32() (int32, error)
- func (bw *BinaryBuffer) ReadInt64() (int64, error)
- func (bw *BinaryBuffer) ReadString() (string, error)
- func (bw *BinaryBuffer) ReadTypedMap(out *TypedMap) error
- func (bw *BinaryBuffer) SwitchToReader(reader io.Reader)
- func (bw *BinaryBuffer) SwitchToWriter(writer io.Writer)
- func (bw *BinaryBuffer) WriteInt32(val int32) error
- func (bw *BinaryBuffer) WriteInt64(val int64) error
- func (bw *BinaryBuffer) WriteString(val string) (int, error)
- func (bw *BinaryBuffer) WriteTypedMap(obj *TypedMap) (int, error)
- func (bw *BinaryBuffer) WriteValues(values ...interface{}) (int, error)
- type DB
- type DBEntry
- type Error
- type Index
- type Object
- type OidIndex
- type TypedMap
- func (t *TypedMap) Has(name string) bool
- func (t *TypedMap) Int32(name string) int32
- func (t *TypedMap) Int64(name string) int64
- func (t *TypedMap) Put(name string, val interface{}) bool
- func (t *TypedMap) String(name string) string
- func (t *TypedMap) UInt32(name string) uint32
- func (t *TypedMap) Uint64(name string) uint64
Constants ¶
View Source
const ( InvalidIndexFind = 1 UnableToReadStorage = 2 NoIndexProvided = 4 ObjectFromOtherDB = 8 InvalidType = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryBuffer ¶
func (*BinaryBuffer) ReadInt32 ¶
func (bw *BinaryBuffer) ReadInt32() (int32, error)
func (*BinaryBuffer) ReadInt64 ¶
func (bw *BinaryBuffer) ReadInt64() (int64, error)
func (*BinaryBuffer) ReadString ¶
func (bw *BinaryBuffer) ReadString() (string, error)
func (*BinaryBuffer) ReadTypedMap ¶
func (bw *BinaryBuffer) ReadTypedMap(out *TypedMap) error
func (*BinaryBuffer) SwitchToReader ¶
func (bw *BinaryBuffer) SwitchToReader(reader io.Reader)
func (*BinaryBuffer) SwitchToWriter ¶
func (bw *BinaryBuffer) SwitchToWriter(writer io.Writer)
func (*BinaryBuffer) WriteInt32 ¶
func (bw *BinaryBuffer) WriteInt32(val int32) error
func (*BinaryBuffer) WriteInt64 ¶
func (bw *BinaryBuffer) WriteInt64(val int64) error
func (*BinaryBuffer) WriteString ¶
func (bw *BinaryBuffer) WriteString(val string) (int, error)
func (*BinaryBuffer) WriteTypedMap ¶
func (bw *BinaryBuffer) WriteTypedMap(obj *TypedMap) (int, error)
func (*BinaryBuffer) WriteValues ¶
func (bw *BinaryBuffer) WriteValues(values ...interface{}) (int, error)
type DBEntry ¶
type DBEntry struct { *Object // contains filtered or unexported fields }
func (*DBEntry) InvalidateData ¶
func (*DBEntry) UpdateData ¶
type Object ¶
type Object struct {
TypedMap
}
func (*Object) SetLocalId ¶
func (*Object) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.