Spec-Zone.ru › Phoenix

mix phx.gen.presence

Source

Generates a Presence tracker.

$ mix phx.gen.presence
$ mix phx.gen.presence MyPresence

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

Generates a new file, lib/my_app_web/channels/my_presence.ex, where my_presence is the snake-cased version of the provided module name.

Hex Package Hex Preview Download ePub version

Built using ExDoc (v0.40.3) for the Elixir programming language

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API