This commit is contained in:
crusader 2017-10-31 20:46:04 +09:00
parent 4b5cd3af17
commit 88d68b4ab3

View File

@ -3,6 +3,7 @@ package server
import (
"errors"
"io"
"log"
"time"
)
@ -55,11 +56,13 @@ func (ch *ClientHandlers) Dial() (conn io.ReadWriteCloser, err error) {
}
func (ch *ClientHandlers) OnHandshake(remoteAddr string, rwc io.ReadWriteCloser) error {
log.Printf("OnHandshake")
return nil
}
func (ch *ClientHandlers) Handle(rwc io.ReadWriteCloser, stopChan chan struct{}) {
// no op
log.Printf("Handle")
}
func (ch *ClientHandlers) GetAddr() string {