Versions in this module Expand all Collapse all v0 v0.6.0 Mar 9, 2020 v0.5.0 Mar 20, 2019 Changes in this version + const TypeBool + const TypeBoolArray + const TypeByte + const TypeByteArray + const TypeFloat32 + const TypeFloat32Array + const TypeFloat64 + const TypeFloat64Array + const TypeInt16 + const TypeInt16Array + const TypeInt32 + const TypeInt32Array + const TypeInt64 + const TypeInt64Array + const TypePortable + const TypePortableArray + const TypeUTF + const TypeUTFArray + const TypeUint16 + const TypeUint16Array + func NewFieldDefinitionImpl(index int32, fieldName string, fieldType int32, factoryID int32, classID int32, ...) serialization.FieldDefinition + type ClassDefinitionContext struct + func NewClassDefinitionContext(factoryID int32) *ClassDefinitionContext + func (c *ClassDefinitionContext) LookUp(classID int32, version int32) serialization.ClassDefinition + func (c *ClassDefinitionContext) Register(classDefinition serialization.ClassDefinition) (serialization.ClassDefinition, error) + type ClassDefinitionImpl struct + func NewClassDefinitionImpl(factoryID int32, classID int32, version int32) *ClassDefinitionImpl + func (cd *ClassDefinitionImpl) AddFieldDefinition(definition serialization.FieldDefinition) + func (cd *ClassDefinitionImpl) ClassID() int32 + func (cd *ClassDefinitionImpl) FactoryID() int32 + func (cd *ClassDefinitionImpl) Field(name string) serialization.FieldDefinition + func (cd *ClassDefinitionImpl) FieldCount() int + func (cd *ClassDefinitionImpl) Version() int32 + type FieldDefinitionImpl struct + func (fd *FieldDefinitionImpl) ClassID() int32 + func (fd *FieldDefinitionImpl) FactoryID() int32 + func (fd *FieldDefinitionImpl) Index() int32 + func (fd *FieldDefinitionImpl) Name() string + func (fd *FieldDefinitionImpl) Type() int32 + func (fd *FieldDefinitionImpl) Version() int32