curl localhost:3000/hello
{"hello": "world"}
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"fmt" | |
"github.com/icub3d/wrapio" | |
"io" |
package main | |
import ( | |
"html/template" | |
"io" | |
"net/http" | |
"os" | |
) | |
//Compile templates on start |
package main | |
import ( | |
"code.google.com/p/go.net/websocket" | |
"net/http" | |
"log" | |
) | |
// all code is in an init function to avoid any name collisions |
<?php | |
/** | |
* Array to Text Table Generation Class | |
* | |
* @author Tony Landis <tony@tonylandis.com> | |
* @link http://www.tonylandis.com/ | |
* @copyright Copyright (C) 2006-2009 Tony Landis | |
* @license http://www.opensource.org/licenses/bsd-license.php | |
*/ | |
class ArrayToTextTable |
curl localhost:3000/hello
{"hello": "world"}
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"fmt" | |
"github.com/icub3d/wrapio" | |
"io" |
package main | |
import ( | |
"bytes" | |
"code.google.com/p/go.crypto/ssh" | |
"fmt" | |
"log" | |
"net" | |
"os" | |
) |
eventsource | |
go-eventsource | |
client/client |
package main | |
import ( | |
"container/list" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"net/http" |