beanstix v0.1.0 Beanstix.Protocol

Protocol parsing for Beanstix

Link to this section Summary

Link to this section Types

Link to this type

beanstalkd_value()

beanstalkd_value() :: binary() | integer() | [beanstalkd_value()]

Link to this section Functions

Link to this function

build_command(command)

Link to this function

build_commands(commands)

Link to this function

format_command(cmd)

Link to this function

parse(arg1)

parse(binary()) :: {:ok, term(), binary()} | :more | :incomplete
Link to this function

parse_multi(data, n)

parse_multi(binary(), non_neg_integer()) ::
  {:ok, [beanstalkd_value()], binary()} | {:error, term()}
Link to this function

parse_multi(data, n, acc)