mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 07:06:53 +00:00
module
This commit is contained in:
15
server/socks5/socks5_server_test.go
Normal file
15
server/socks5/socks5_server_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package socks5
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestNewS5Server(t *testing.T) {
|
||||
g := make(map[string]string)
|
||||
c := make(map[string]string)
|
||||
p := make(map[string]string)
|
||||
s5 := NewS5Server(g, c, p, "", 1099)
|
||||
ctx := context.Background()
|
||||
s5.Start(ctx)
|
||||
}
|
Reference in New Issue
Block a user