registry

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func C added in v0.12.30

func C(c uint64) string

func ConstructorName

func ConstructorName(c uint64) string

func Register added in v0.12.42

func Register(c uint64, n string, unwrapFunc UnwrapFunc)

func Unwrap added in v0.12.42

func Unwrap(envelope Envelope) (proto.Message, error)

Types

type Envelope added in v0.12.42

type Envelope interface {
	GetConstructor() uint64
	GetMessage() []byte
}

type UnwrapFunc added in v0.12.42

type UnwrapFunc func(envelope Envelope) (proto.Message, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL