mirror of
https://github.com/amitbet/vnc2video.git
synced 2025-04-27 18:25:10 +00:00
fixed vet error in aten messages
This commit is contained in:
parent
6d2d92b6f0
commit
6f7127bb76
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user