mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-07 17:51:16 +08:00
rename session New func
This commit is contained in:
@@ -34,7 +34,7 @@ type Server struct {
|
||||
completedSessions []Session
|
||||
}
|
||||
|
||||
func NewServer() *Server {
|
||||
func New() *Server {
|
||||
return &Server{}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user