Add Quickfix library #1
@ -42,7 +42,7 @@ func (a *application) OnLogon(sessionID quickfix.SessionID) {
|
|||||||
func (a *application) OnLogout(sessionID quickfix.SessionID) {
|
func (a *application) OnLogout(sessionID quickfix.SessionID) {
|
||||||
slog.Info("FIX session logged out", "session", sessionID.String())
|
slog.Info("FIX session logged out", "session", sessionID.String())
|
||||||
|
|
||||||
a.notifier.SendMsg(domain.MessageChannelError, "Logout", domain.MessageStatusWarning, nil)
|
go a.notifier.SendMsg(domain.MessageChannelError, "Logout", domain.MessageStatusWarning, nil)
|
||||||
|
|
||||||
if a.onLogout != nil {
|
if a.onLogout != nil {
|
||||||
a.onLogout(sessionID)
|
a.onLogout(sessionID)
|
||||||
|
|||||||
@ -132,7 +132,7 @@ func getMessage(text string, status domain.MessageStatus) string {
|
|||||||
'cardId': 'createCardMessage',
|
'cardId': 'createCardMessage',
|
||||||
'card': {
|
'card': {
|
||||||
'header': {
|
'header': {
|
||||||
'title': 'qfixdpl',
|
'title': 'QFIXDPL',
|
||||||
'subtitle': 'Notification',
|
'subtitle': 'Notification',
|
||||||
'imageUrl': '%s',
|
'imageUrl': '%s',
|
||||||
'imageType': 'CIRCLE'
|
'imageType': 'CIRCLE'
|
||||||
|
|||||||
Reference in New Issue
Block a user