adapters

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package adapters creates a new IPayload interface with uint32 header.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPayload

type IPayload interface {
	GetHead() uint32
	GetBody() []byte
	ToOrigin() payload.IPayload
}

func NewPayload

func NewPayload(pHead uint32, pBody []byte) IPayload

Jump to

Keyboard shortcuts

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