View Source ExWechatpay.Typespecs (ex_wechatpay v0.2.0)

some typespecs

Summary

Types

@type api() :: String.t()
@type body() :: binary() | nil
@type dict() :: %{required(String.t()) => any()}
@type headers() :: [{String.t(), String.t()}]
@type http_status() :: non_neg_integer()
@type method() :: :get | :post | :head | :patch | :delete | :options | :put
@type name() :: atom() | {:global, term()} | {:via, module(), term()}
@type on_start() ::
  {:ok, pid()} | :ignore | {:error, {:already_started, pid()} | term()}
@type opts() :: keyword()
@type params() :: %{required(String.t()) => binary()} | nil