Documentation ¶
Index ¶
Constants ¶
View Source
const LOGGER_TOPIC = "System-Log"
View Source
const SPLIT_LINE = "\n----------------------------------------------------\n"
Variables ¶
View Source
var OperateLogSocketClient *websocket.Conn
View Source
var SocketClient = websocket.Upgrader{ HandshakeTimeout: 30 * time.Second, ReadBufferSize: 2048, WriteBufferSize: 2048, WriteBufferPool: nil, Subprotocols: nil, Error: nil, CheckOrigin: nil, EnableCompression: false, }
View Source
var SystemLogSocketClient *websocket.Conn
Functions ¶
func AddBlackList ¶
func AddBlackList(ip string)
func DeleteBlackList ¶
func DeleteBlackList(ip string)
func ReadBlackList ¶
func ReadBlackList() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.