PHP Classes

File: relay.go

Recommend this page to a friend!
  Classes of Wolfy-J   goridge   relay.go   Download  
File: relay.go
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: goridge
Run Golang code from PHP calling its RPC server
Author: By
Last change:
Date: 6 years ago
Size: 458 bytes
 

Contents

Class file image Download
package goridge const ( // BufferSize defines max amount of bytes to read from connection at once. BufferSize = 655336 ) // Relay provide IPC over signed payloads. type Relay interface { // Send signed (prefixed) data to PHP process. Send(data []byte, flags byte) (err error) // Receive data from the underlying process and returns associated prefix or error. Receive() (data []byte, p Prefix, err error) // Close the connection. Close() error }