controlproto

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	DecodeCommand([]byte) (*controlpb.Command, error)
}

Decoder ...

type Encoder

type Encoder interface {
	EncodeCommand(*controlpb.Command) ([]byte, error)
}

Encoder ...

type ProtobufDecoder

type ProtobufDecoder struct{}

ProtobufDecoder ...

func NewProtobufDecoder

func NewProtobufDecoder() *ProtobufDecoder

NewProtobufDecoder ...

func (*ProtobufDecoder) DecodeCommand

func (e *ProtobufDecoder) DecodeCommand(data []byte) (*controlpb.Command, error)

DecodeCommand ...

type ProtobufEncoder

type ProtobufEncoder struct{}

ProtobufEncoder ...

func NewProtobufEncoder

func NewProtobufEncoder() *ProtobufEncoder

NewProtobufEncoder ...

func (*ProtobufEncoder) EncodeCommand

func (e *ProtobufEncoder) EncodeCommand(cmd *controlpb.Command) ([]byte, error)

EncodeCommand ...

Jump to

Keyboard shortcuts

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