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