package
0.0.0-20230303135707-64150a426721
Repository: https://github.com/memgraph/bolt-proxy.git
Documentation: pkg.go.dev
# Functions
Try to extract the BoltMsg from some given bytes.
Serialize an int to a byte slice.
Create a new Direct Bolt Connection that uses simple Read/Write calls to transfer data.
No description provided by the author
Parse a byte slice into a TinyArray as an array of interface{} values, returning the array, the last position in the byte slice read, and optionally an error.
Parse a packed Int.
Try parsing some bytes into a Packstream Map, returning it as a map of strings to their values as byte arrays.
Parse a byte slice into a string, returning the string value, the last position used in the byte slice, and optionally an error.
Parse a TinyInt...which is a simply 7-bit number.
Parse a TinyString from a byte slice, returning the string (if valid) and the number of bytes processed from the slice (including the 0x80 prefix).
No description provided by the author
Serialize a string to a byte slice.
Serialize a TinyMap to a byte slice.
Parse a byte into the corresponding Bolt message Type.
Inspect client and server communication for valid Bolt handshake, returning the handshake value's bytes.
Inspect bytes for valid Bolt Magic pattern, returning true if found.
Try to find and validate the Mode for some given bytes, returning the Mode if found or if valid looking Bolt chatter.
# Constants
No description provided by the author
not a true bolt message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
Designed for operating direct (e.g.
No description provided by the author
No description provided by the author
Used for WebSocket-based Bolt connections.
# Interfaces
An abstraction of a Bolt-aware io.ReadWriterCloser.