micro/tunnel/socket.go
2019-08-06 11:46:47 +01:00

26 lines
380 B
Go

package tunnel
import "github.com/micro/go-micro/transport"
type tunSocket struct{}
func (s *tunSocket) Recv(m *transport.Message) error {
return nil
}
func (s *tunSocket) Send(m *transport.Message) error {
return nil
}
func (s *tunSocket) Close() error {
return nil
}
func (s *tunSocket) Local() string {
return ""
}
func (s *tunSocket) Remote() string {
return ""
}