fixed vet error in aten messages

This commit is contained in:
amit b 2019-06-16 04:20:17 +03:00
parent 6d2d92b6f0
commit 6f7127bb76

View File

@ -116,7 +116,7 @@ func (msg *AteniKVMFrontGroundEvent) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMFrontGroundEvent) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType
@ -160,7 +160,7 @@ func (msg *AteniKVMKeepAliveEvent) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMKeepAliveEvent) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType
@ -204,7 +204,7 @@ func (msg *AteniKVMVideoGetInfo) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMVideoGetInfo) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType
@ -248,7 +248,7 @@ func (msg *AteniKVMMouseGetInfo) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMMouseGetInfo) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType
@ -292,7 +292,7 @@ func (msg *AteniKVMSessionMessage) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMSessionMessage) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType
@ -336,7 +336,7 @@ func (msg *AteniKVMGetViewerLang) Supported(c Conn) bool {
// String return string representation
func (msg *AteniKVMGetViewerLang) String() string {
return fmt.Sprintf("%s", msg.Type())
return fmt.Sprintf("%v", msg.Type())
}
// Type return ServerMessageType