//
pkg.gl
Category
github.com/jamjarlabs/jamjar-relay-server
internal
v1
protocol
package
0.4.0
Repository:
https://github.com/jamjarlabs/jamjar-relay-server.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
3
Files
753 SLOC
#
Functions
Fail
Fail converts an error to a payload in bytes, while logging any internal server errors.
Succeed
Succeed converts a successful network message to bytes.
#
Structs
StandardProtocol
StandardProtocol is the standard implementation of the v1 relay protocol.
#
Interfaces
Protocol
Protocol defines the contract that a v1 protocol should fufil, and the actions possible.