example: Add example for NXAST_LEARN

This commit is contained in:
Eishun Kondoh 2019-06-05 01:18:25 +09:00
parent 04fb4ffa52
commit 270d01b626
9 changed files with 180 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
config :tres,
protocol: :tcp,
port: 6653,
max_connections: 10,
num_acceptors: 10,
callback_module: NxLearningSwitch,
callback_args: []
config :logger,
level: :debug,
format: "$date $time [$level] $metadata$message\n",
metadata: [:application],
handle_otp_reports: true