19 lines
343 B
Go
19 lines
343 B
Go
package im
|
|
|
|
import "fmt"
|
|
|
|
type IMSender struct {
|
|
}
|
|
|
|
func (this *IMSender) SendMsg(msgid int16, msg interface{}) {
|
|
fmt.Println("IMSender.SendMsg\n")
|
|
}
|
|
|
|
func (this *IMSender) SendIMSocketConnect(msg *IMSocketConnect) {
|
|
this.SendMsg(100, msg)
|
|
}
|
|
|
|
func (this *IMSender) SendIMSocketDisconnect(msg *IMSocketDisconnect) {
|
|
this.SendMsg(100, msg)
|
|
}
|