Update README
This commit is contained in:
parent
a540d95b78
commit
c173d8a922
1 changed files with 6 additions and 0 deletions
|
|
@ -26,3 +26,9 @@ To use `Tres.Controller` with your code, set the handler callback_module to your
|
||||||
This module must implement the `Module.start_link/2` that returns `on_start`.
|
This module must implement the `Module.start_link/2` that returns `on_start`.
|
||||||
|
|
||||||
Set the callback_args to the terms you want pass to the `start_link/2` callback function.
|
Set the callback_args to the terms you want pass to the `start_link/2` callback function.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
- learning-switch: Simple Layer2 switch
|
||||||
|
- leader-example: Simple Leader election based multiple controller
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue