|
|
|
@ -16,8 +16,9 @@ import ( |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
func TestRegistry_Register(t *testing.T) { |
|
|
|
|
out := exec.Command("lsof-i:8848").String() |
|
|
|
|
fmt.Println(out) |
|
|
|
|
exec := exec.Command("lsof-i:8848") |
|
|
|
|
exec.Run() |
|
|
|
|
fmt.Println(exec.String()) |
|
|
|
|
sc := []constant.ServerConfig{ |
|
|
|
|
*constant.NewServerConfig("127.0.0.1", 8848), |
|
|
|
|
} |
|
|
|
|