PHP Classes

File: payload.go

Recommend this page to a friend!
  Classes of Wolfy-J   roadrunner   payload.go   Download  
File: payload.go
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: roadrunner
Run multiple tasks of PHP in parallel using Golang
Author: By
Last change:
Date: 6 years ago
Size: 372 bytes
 

Contents

Class file image Download
package roadrunner // Payload carries binary header and body to workers and // back to the server. type Payload struct { // Context represent payload context, might be omitted Context []byte // Body contains binary payload to be processed by worker Body []byte } // String returns payload body as string func (p *Payload) String() string { return string(p.Body) }