Mariaex v0.8.2 Mariaex.ProtocolHelper

Summary

Macros

Define a packet handler, recv_func/2. If a packet is received successfully, it will pass (packet, request, state) from MariaDB to handle_func/3. Otherwise, it will disconnect from the database

Macros

def_handle(recv_func, handle_func)

Define a packet handler, recv_func/2. If a packet is received successfully, it will pass (packet, request, state) from MariaDB to handle_func/3. Otherwise, it will disconnect from the database.