Mix.Tasks.Phoenix.Gen.Presence

Mix.Tasks.Phoenix.Gen.Presence

Generates a Presence tracker for your application.

mix phoenix.gen.presence

mix phoenix.gen.presence MyPresence

The only argument is the module name of the Presence tracker, which defaults to Presence.

A new file will be generated in:

  • web/channels/presence.ex

Where presence.ex is the snake cased version of the module name provided.

Summary

Functions

run(list)

Functions

run(list)

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部