Versions in this module Expand all Collapse all v1 v1.0.6 Oct 31, 2016 Changes in this version + type RGroup struct + Request *Request + Response *Response + func (rg *RGroup) RBody(body io.Reader) *RGroup + func (rg *RGroup) RBodyString(body string) *RGroup + func (rg *RGroup) RFile(path string) *RGroup + func (rg *RGroup) RJSON(data interface{}) *RGroup + func (rg *RGroup) RQuery(query string) *RGroup + func (rg *RGroup) Reply(status int) *RGroup + func (rg *RGroup) WBody(body io.Reader) *RGroup + func (rg *RGroup) WBodyString(body string) *RGroup + func (rg *RGroup) WFile(path string) *RGroup + func (rg *RGroup) WJSON(data interface{}) *RGroup + type Request struct + BodyBuffer []byte + Error error + Query string + type Response struct + BodyBuffer []byte + Error error + StatusCode int + type RouterMap struct + Method string + Path string + RGroups []*RGroup + func (rm *RouterMap) Handler(w http.ResponseWriter, r *http.Request) + func (rm *RouterMap) RGroup() *RGroup + type Server struct + Addr string + Port string + Scheme string + func NewServer() *Server + func (s *Server) AddRouter(path string, method string) *RouterMap + func (s *Server) Close() + func (s *Server) Register()