Versions in this module Expand all Collapse all v0 v0.1.4 Jan 13, 2020 v0.1.3 Nov 22, 2019 v0.1.2 Aug 29, 2019 v0.1.1 Aug 28, 2019 v0.1.0 Aug 28, 2019 Changes in this version + const EnvelopeSignature + func PkgPathQualifiedName(name, pkgPath string) string + func PkgPathQualifiedTypeName(typ reflect.Type) string + func TypeName(typ reflect.Type) string + type Envelope struct + Raw rlp.RawValue + Sig string + Tag Tag + type Factory = func() interface + type InvalidFactoryReturnType struct + Type reflect.Type + func (e InvalidFactoryReturnType) Error() string + type Registry struct + func NewRegistry() *Registry + func (reg *Registry) AddFactory(factory Factory) error + func (reg *Registry) Decode(s *rlp.Stream) (interface{}, error) + func (reg *Registry) Encode(w io.Writer, d interface{}) error + func (reg *Registry) MustAddFactory(factory Factory) + func (reg *Registry) MustRegister(tag Tag, prototype interface{}) + func (reg *Registry) Register(tag Tag, prototype interface{}) error + type Tag string + const LegacyTag + type TagAlreadyBoundToType struct + Tag Tag + Type reflect.Type + func (e TagAlreadyBoundToType) Error() string + type TypeAlreadyBoundToTag struct + Tag Tag + Type reflect.Type + func (e TypeAlreadyBoundToTag) Error() string + type TypeAlreadyHasFactory struct + Type reflect.Type + func (e TypeAlreadyHasFactory) Error() string + type TypeNotRegistered struct + Type reflect.Type + func (e TypeNotRegistered) Error() string + type UndecodableStream struct + Err error + Tag Tag + Type reflect.Type + func (e UndecodableStream) Cause() error + func (e UndecodableStream) Error() string + type UnencodableValue struct + Err error + Value interface{} + func (e UnencodableValue) Cause() error + func (e UnencodableValue) Error() string + type UnsupportedTag struct + Tag Tag + func (e UnsupportedTag) Error() string