codec

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAkkaMessage

func DecodeAkkaMessage(msg *akka.AkkaProtocolMessage) (interface{}, string, error)

func EncodeAkkaMessage

func EncodeAkkaMessage(rawMsg proto.Message, recipientPath, senderPath, manifest string, opts ...Option) (*akka.AkkaProtocolMessage, error)

Types

type Option

type Option func(*Options)

func WithMessageContainerSerializer

func WithMessageContainerSerializer() Option

func WithSelectionEnvelopePattern

func WithSelectionEnvelopePattern(pattern []*akka.Selection) Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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