Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Name string Logger *logrus.Logger // contains filtered or unexported fields }
Application is a main component of uplink that consists of uplink protocols and mqtt client
func New ¶
func New(name string) *Application
New creates new application. this function creates mqtt client
func (*Application) Run ¶
func (a *Application) Run()
Run runs application. this function connects mqtt client and then register its topic
func (*Application) Scenario ¶
func (a *Application) Scenario() *scenario.Scenario
Scenario returns application scenario instance
Click to show internal directories.
Click to hide internal directories.