mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 13:10:24 +00:00
Add the remaining missing specs
Found thanks to warn_missing_spec and added with the help of typer. Eunit functions do not have specs yet however.
This commit is contained in:
parent
227529761c
commit
58267689f0
4 changed files with 12 additions and 2 deletions
|
@ -15,6 +15,8 @@
|
|||
-module(cowboy_http_handler).
|
||||
-export([behaviour_info/1]).
|
||||
|
||||
-spec behaviour_info(_)
|
||||
-> undefined | [{handle, 2} | {init, 3} | {terminate, 2}, ...].
|
||||
behaviour_info(callbacks) ->
|
||||
[{init, 3}, {handle, 2}, {terminate, 2}];
|
||||
behaviour_info(_Other) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue