Open soygul opened 8 years ago
+1 again for this. Having to do this:
titan.InitConf("test")
s, err := titan.NewServer(addr)
is super duper ugly and non-standard. Should be titan.NewServer(conf)
or at least titan.NewServer(addr, a, b, c, conf)
like in tls.Listen(...)
.
Same goes for replacing Client.UseTLS -> Client.UseConf(...) or similar usage in golang std.