diff --git a/ConnectionState.go b/ConnectionState.go index 35e13b1..fbb163e 100644 --- a/ConnectionState.go +++ b/ConnectionState.go @@ -12,7 +12,7 @@ const ( CONNECTIONSTATE_CONNECTED = 3 ) -func (cs ConnectionState) Format() string { +func (cs ConnectionState) String() string { switch cs { case CONNECTIONSTATE_DISCONNECTED: return "Disconnected"