include/pharos@internal@connection_Transport.hrl
-record(transport, {
connect :: fun(() -> {ok, nil} | {error, binary()}),
deliver :: fun((pharos@metric:metric()) -> {ok, nil} | {error, binary()})
}).
-record(transport, {
connect :: fun(() -> {ok, nil} | {error, binary()}),
deliver :: fun((pharos@metric:metric()) -> {ok, nil} | {error, binary()})
}).