data

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Type = payload.Type(0)

Functions

func GenericPayloadUnmarshalerFactory

func GenericPayloadUnmarshalerFactory(payloadType payload.Type) payload.Unmarshaler

Types

type Data

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

func New

func New(data []byte) *Data

func (*Data) GetData

func (dataPayload *Data) GetData() []byte

func (*Data) GetType

func (dataPayload *Data) GetType() payload.Type

func (*Data) MarshalBinary

func (dataPayload *Data) MarshalBinary() (data []byte, err error)

func (*Data) UnmarshalBinary

func (dataPayload *Data) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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