()
| 9 | ) |
| 10 | |
| 11 | func main() { |
| 12 | tars.ServerConfigPath = "config.conf" |
| 13 | comm := tars.GetCommunicator() |
| 14 | obj := fmt.Sprintf("App.TlsTestServer.TlsObj@ssl -h 127.0.0.1 -p 13015 -t 6000000000") |
| 15 | app := new(App.Tls) |
| 16 | comm.StringToProxy(obj, app) |
| 17 | var out, i int32 |
| 18 | i = 123 |
| 19 | ret, err := app.Add(i, i*2, &out) |
| 20 | if err != nil { |
| 21 | fmt.Println(err) |
| 22 | return |
| 23 | } |
| 24 | fmt.Println(ret, out) |
| 25 | } |
nothing calls this directly
no test coverage detected