Packages

WeChat SDK for Elixir. Community-maintained fork of elixir_wechat, created to keep compatibility and updates after the original project became inactive.

Current section

Files

Jump to
elixir_wechat_fork lib plug pipeline.ex
Raw

lib/plug/pipeline.ex

if Code.ensure_loaded?(Plug) do
defmodule WeChat.Plug.Pipeline do
@moduledoc false
use Plug.Builder, copy_opts_to_assign: :wechat_opts
require Logger
plug(WeChat.Plug.Router)
end
end