websocket

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSeed

func AddSeed(c *websocket.WebsocketConnection, a []string)

AddSeed handle task creation by send a seed, eg: SEED http://elastic.co

func Dispatch

func Dispatch(c *websocket.WebsocketConnection, a []string)

TODO Dispatch just send a dispatch signal to dispatch service

func GetTask

func GetTask(c *websocket.WebsocketConnection, a []string)

GetTask return task information by send task_id, or task field and value, eg: GET_TASK host elasticsearch.cn GET_TASK 596

func UpdateLogLevel

func UpdateLogLevel(c *websocket.WebsocketConnection, a []string)

UpdateLogLevel update the logging level, usually used for debug

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL