Documentation ¶
Index ¶
- func Broadcast(namespace, room, event string, content string)
- func InitMq()
- func PubMsg(data _domain.MqMsg)
- func SendExecMsg(msg string, log interface{}, category consts.WsMsgCategory, ...)
- func SendExecResult(data interface{}, wsMsg *websocket.Message)
- func SendExecStatus(category consts.WsMsgCategory, wsMsg *websocket.Message)
- func SendInitializeMsg(data interface{}, wsMsg *websocket.Message)
- func SendStatInfo(data agentDomain.InterfaceStat, wsMsg *websocket.Message)
- func SetConn(conn *neffos.Conn)
- func SubMsg()
- type PrefixedLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendExecMsg ¶
func SendExecMsg(msg string, log interface{}, category consts.WsMsgCategory, wsMsg *websocket.Message)
func SendExecResult ¶
func SendExecStatus ¶
func SendExecStatus(category consts.WsMsgCategory, wsMsg *websocket.Message)
func SendInitializeMsg ¶
func SendStatInfo ¶
func SendStatInfo(data agentDomain.InterfaceStat, wsMsg *websocket.Message)
Types ¶
type PrefixedLogger ¶
type PrefixedLogger struct {
Prefix string
}
func (*PrefixedLogger) Log ¶
func (s *PrefixedLogger) Log(msg string)
Click to show internal directories.
Click to hide internal directories.