mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Chore: remove NewBase
This commit is contained in:
@@ -16,10 +16,6 @@ type Base struct {
|
||||
proto proto.Proto
|
||||
}
|
||||
|
||||
func NewBase(addr string, proto proto.Proto) *Base {
|
||||
return &Base{addr: addr, proto: proto}
|
||||
}
|
||||
|
||||
func (b *Base) Addr() string {
|
||||
return b.addr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user