Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterImplementation ¶
func RegisterImplementation(proto interface{}, loader CustomLoader) error
RegisterImplementation register an implementation of a type of interface loader(CustomLoader) is a private API, its interface is subject to breaking changes
Types ¶
type CustomLoader ¶
type CustomLoader func(data []byte, loader LoadByAlias) (proto.Message, error)
Click to show internal directories.
Click to hide internal directories.