You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
336 B
17 lines
336 B
package v1 |
|
|
|
import ( |
|
"fmt" |
|
) |
|
|
|
func (m *ConnectReq) String() string { |
|
return fmt.Sprintf("server:%s serverKey:%s token:%s", m.Server, m.ServerKey, m.Token) |
|
} |
|
|
|
func (m *OnlineReq) String() string { |
|
return fmt.Sprintf("server:%s", m.Server) |
|
} |
|
|
|
func (m *OnlineReply) String() string { |
|
return fmt.Sprintf("rooms:%d", len(m.RoomCount)) |
|
}
|
|
|