Documentation ¶
Index ¶
- func Broadcast(namespace, room, event string, content string)
- func InitMq()
- func PubMsg(data commDomain.MqMsg)
- func SendExecMsg(msg, isRunning string, category commConsts.WsMsgCategory, info iris.Map, ...)
- func SendExecMsgIfNeed(msg, isRunning string, category commConsts.WsMsgCategory, info iris.Map, ...)
- func SendOutputMsg(msg, isRunning string, info iris.Map, wsMsg *websocket.Message)
- func SendOutputMsgIfNeed(msg, isRunning string, info iris.Map, wsMsg *websocket.Message)
- func SetConn(conn *neffos.Conn)
- func SubMsg()
- type PrefixedLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PubMsg ¶
func PubMsg(data commDomain.MqMsg)
func SendExecMsg ¶
func SendExecMsg(msg, isRunning string, category commConsts.WsMsgCategory, info iris.Map, wsMsg *websocket.Message)
func SendExecMsgIfNeed ¶
func SendExecMsgIfNeed(msg, isRunning string, category commConsts.WsMsgCategory, info iris.Map, wsMsg *websocket.Message)
func SendOutputMsg ¶
func SendOutputMsgIfNeed ¶
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.