socks5_server_test.go 261 B

123456789101112131415
  1. package socks5
  2. import (
  3. "context"
  4. "testing"
  5. )
  6. func TestNewS5Server(t *testing.T) {
  7. g := make(map[string]string)
  8. c := make(map[string]string)
  9. p := make(map[string]string)
  10. s5 := NewS5Server(g, c, p, "", 1099)
  11. ctx := context.Background()
  12. s5.Start(ctx)
  13. }