Mix.Tasks.Phoenix.Gen.Channel

Mix.Tasks.Phoenix.Gen.Channel

Generates a Phoenix channel.

mix phoenix.gen.channel Room

Accepts the module name for the channel

The generated model will contain:

  • a channel in web/channels
  • a channel_test in test/channels

Summary

Functions

run(args)

Functions

run(args)

© 2014 Chris McCord
Licensed under the MIT License.
https://hexdocs.pm/phoenix/Mix.Tasks.Phoenix.Gen.Channel.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部