Skip to content

Commit

Permalink
Add missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
szajbus committed May 24, 2023
1 parent 675ad1f commit 6a9dd44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/etcd_ex/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,13 @@ defmodule EtcdEx.Types do

@type ttl_opt ::
{:keys, boolean}

@type watch_id :: integer

@type response ::
{:status, Mint.Types.request_ref(), Mint.Types.status()}
| {:headers, Mint.Types.request_ref(), Mint.Types.headers()}
| {:data, Mint.Types.request_ref(), map}
| {:done, Mint.Types.request_ref()}
| {:error, Mint.Types.request_ref(), reason :: term}
end

0 comments on commit 6a9dd44

Please sign in to comment.