diff options
Diffstat (limited to 'src/rabbit_types.erl')
-rw-r--r-- | src/rabbit_types.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_types.erl b/src/rabbit_types.erl index 2e492b80..3aaf1917 100644 --- a/src/rabbit_types.erl +++ b/src/rabbit_types.erl @@ -39,8 +39,8 @@ delivery/0, content/0, decoded_content/0, undecoded_content/0, unencoded_content/0, encoded_content/0, vhost/0, ctag/0, amqp_error/0, r/1, r2/2, r3/3, ssl_socket/0, listener/0, - binding/0, amqqueue/0, exchange/0, connection/0, user/0, - error/1, ok_or_error/1, ok_or_error2/2, ok/1]). + binding/0, amqqueue/0, exchange/0, connection/0, protocol/0, + user/0, error/1, ok_or_error/1, ok_or_error2/2, ok/1]). -type(maybe(T) :: T | 'none'). -type(vhost() :: binary()). @@ -133,6 +133,8 @@ -type(connection() :: pid()). +-type(protocol() :: atom()). + -type(user() :: #user{username :: rabbit_access_control:username(), password :: rabbit_access_control:password()}). |