anchor_sup (anchor v0.3.6)

View Source

Summary

Types

error/0

-type error() :: {error, atom()}.

option/0

-type option() :: {async, pid()}.

options/0

-type options() :: [option()].

response/0

-type response() ::
          #response{op_code :: non_neg_integer() | undefined,
                    key_length :: non_neg_integer() | undefined,
                    extras_length :: non_neg_integer() | undefined,
                    data_type :: non_neg_integer() | undefined,
                    status :: non_neg_integer() | undefined,
                    body_length :: non_neg_integer() | undefined,
                    opaque :: non_neg_integer() | undefined,
                    cas :: non_neg_integer() | undefined,
                    extras :: binary() | undefined,
                    key :: binary() | undefined,
                    value :: binary() | undefined}.

Functions

init(_)

-spec init([]) -> {ok, {{one_for_one, 5, 10}, []}}.

start_link()

-spec start_link() -> {ok, pid()}.