func NewTestingServer() *tas.TASServer { c := tas.NewDefaultTASConfig() svr, err := tas.NewTASServer(c) if err != nil { log.Fatal(err) } return svr }
func main() { tasConfig := tas.NewDefaultTASConfig() svr, err := tas.NewTASServer(tasConfig) if err != nil { log.Println("Failed to start TAS:", err) return } svr.Run() }