Example #1
0
func (i *Index) Index(rr *cyder.RequestResponse) {
	rr.StatusCode(200)
	fmt.Fprintf(rr, "hello world from /")
}
Example #2
0
func (f *Foo) Foobar(rr *cyder.RequestResponse) {
	rr.StatusCode(200)
	fmt.Fprintf(rr, "hello world from foobar")
}
Example #3
0
func (f *Foo) Pope(rr *cyder.RequestResponse, a int) {
	rr.StatusCode(200)
	fmt.Fprintf(rr, "Pope: %d", a)
}
Example #4
0
func (f *Foo) Index(rr *cyder.RequestResponse) {
	rr.StatusCode(200)
	fmt.Fprintf(rr, "hello world from index")
}