format: gofumpt

This commit is contained in:
Toby
2022-08-13 11:04:28 -07:00
parent 4747be198e
commit 1462cadfdc
41 changed files with 210 additions and 132 deletions

View File

@@ -5,16 +5,18 @@ package tproxy
import (
"errors"
"github.com/tobyxdd/hysteria/pkg/core"
"net"
"time"
"github.com/tobyxdd/hysteria/pkg/core"
)
type TCPTProxy struct{}
func NewTCPTProxy(hyClient *core.Client, listen string, timeout time.Duration,
connFunc func(addr, reqAddr net.Addr),
errorFunc func(addr, reqAddr net.Addr, err error)) (*TCPTProxy, error) {
errorFunc func(addr, reqAddr net.Addr, err error),
) (*TCPTProxy, error) {
return nil, errors.New("not supported on the current system")
}