payload

package
v4.7.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: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	// Context represent payload context, might be omitted.
	Context []byte
	// body contains binary payload to be processed by WorkerProcess.
	Body []byte
	// Type of codec used to decode/encode payload.
	Codec byte
	// Flags
	Flags byte
}

Payload carries binary header and body to stack and back to the server.

func (*Payload) String

func (p *Payload) String() string

String returns payload body as string

Jump to

Keyboard shortcuts

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