ing
This commit is contained in:
parent
4b5cd3af17
commit
88d68b4ab3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user