@@ -35,30 +35,30 @@ type TradeClient struct {
35
35
}
36
36
37
37
// OnCreate implemented as part of Application interface
38
- func (e TradeClient ) OnCreate (sessionID quickfix.SessionID ) {}
38
+ func (e TradeClient ) OnCreate (_ quickfix.SessionID ) {}
39
39
40
40
// OnLogon implemented as part of Application interface
41
- func (e TradeClient ) OnLogon (sessionID quickfix.SessionID ) {}
41
+ func (e TradeClient ) OnLogon (_ quickfix.SessionID ) {}
42
42
43
43
// OnLogout implemented as part of Application interface
44
- func (e TradeClient ) OnLogout (sessionID quickfix.SessionID ) {}
44
+ func (e TradeClient ) OnLogout (_ quickfix.SessionID ) {}
45
45
46
46
// FromAdmin implemented as part of Application interface
47
- func (e TradeClient ) FromAdmin (msg * quickfix.Message , sessionID quickfix.SessionID ) (reject quickfix.MessageRejectError ) {
47
+ func (e TradeClient ) FromAdmin (_ * quickfix.Message , _ quickfix.SessionID ) (reject quickfix.MessageRejectError ) {
48
48
return nil
49
49
}
50
50
51
51
// ToAdmin implemented as part of Application interface
52
- func (e TradeClient ) ToAdmin (msg * quickfix.Message , sessionID quickfix.SessionID ) {}
52
+ func (e TradeClient ) ToAdmin (_ * quickfix.Message , _ quickfix.SessionID ) {}
53
53
54
54
// ToApp implemented as part of Application interface
55
- func (e TradeClient ) ToApp (msg * quickfix.Message , sessionID quickfix.SessionID ) (err error ) {
55
+ func (e TradeClient ) ToApp (msg * quickfix.Message , _ quickfix.SessionID ) (err error ) {
56
56
utils .PrintInfo (fmt .Sprintf ("Sending: %s" , msg .String ()))
57
57
return
58
58
}
59
59
60
60
// FromApp implemented as part of Application interface. This is the callback for all Application level messages from the counter party.
61
- func (e TradeClient ) FromApp (msg * quickfix.Message , sessionID quickfix.SessionID ) (reject quickfix.MessageRejectError ) {
61
+ func (e TradeClient ) FromApp (msg * quickfix.Message , _ quickfix.SessionID ) (reject quickfix.MessageRejectError ) {
62
62
utils .PrintInfo (fmt .Sprintf ("FromApp: %s" , msg .String ()))
63
63
return
64
64
}
0 commit comments