gotunnelserver/client/main_test.go

16 lines
230 B
Go
Raw Normal View History

2024-11-15 16:49:01 +08:00
package client
import (
"testing"
)
func TestClient(t *testing.T) {
clientConfig := &ClientConfig{
Address: "ws://localhost:8080",
Salt: "",
Username: "test",
}
client := NewClient(clientConfig)
client.Start()
}