ing
This commit is contained in:
parent
4b5cd3af17
commit
88d68b4ab3
|
@ -3,6 +3,7 @@ package server
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
|
"log"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -55,11 +56,13 @@ func (ch *ClientHandlers) Dial() (conn io.ReadWriteCloser, err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) OnHandshake(remoteAddr string, rwc io.ReadWriteCloser) error {
|
func (ch *ClientHandlers) OnHandshake(remoteAddr string, rwc io.ReadWriteCloser) error {
|
||||||
|
log.Printf("OnHandshake")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) Handle(rwc io.ReadWriteCloser, stopChan chan struct{}) {
|
func (ch *ClientHandlers) Handle(rwc io.ReadWriteCloser, stopChan chan struct{}) {
|
||||||
// no op
|
// no op
|
||||||
|
log.Printf("Handle")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) GetAddr() string {
|
func (ch *ClientHandlers) GetAddr() string {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user