Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is the application server of SensorBee.
func SetUpCommands ¶
SetUpCommands set up application. Commands are initialized with it.
type Command ¶
type Command interface { // Init the command. Returns error if the command initialize is failed. Init() error // Name returns the names of the command. Users can execute the command // function by inputting these names. Name() []string // Input commands to buffer. If commands are completed, returns that // cmdInputStatusType is preparedCMD, and commands are on the way, // returns that cmdInputStatusType is continuousCMD. // Returns error when the input commands are invalid. Input(input string) (cmdInputStatusType, error) // Eval executes the command. Eval(requester *client.Requester) }
Command is the interface to management SensorBee.
func NewFileLoadCommands ¶
func NewFileLoadCommands() []Command
NewFileLoadCommands returns command list to load BQL file.
func NewTopologiesCommands ¶
func NewTopologiesCommands() []Command
NewTopologiesCommands returns command list to execute BQL statement.
Click to show internal directories.
Click to hide internal directories.