SYMBOL INDEX (159 symbols across 16 files) FILE: env.go constant Dev (line 9) | Dev string = "development" constant Prod (line 10) | Prod string = "production" constant Test (line 11) | Test string = "test" function setENV (line 18) | func setENV(e string) { function init (line 24) | func init() { FILE: env_test.go function Test_SetENV (line 7) | func Test_SetENV(t *testing.T) { function Test_Root (line 24) | func Test_Root(t *testing.T) { FILE: go_version.go function MartiniDoesNotSupportGo1Point0 (line 5) | func MartiniDoesNotSupportGo1Point0() { FILE: logger.go function Logger (line 10) | func Logger() Handler { FILE: logger_test.go function Test_Logger (line 11) | func Test_Logger(t *testing.T) { FILE: martini.go type Martini (line 30) | type Martini struct method Handlers (line 47) | func (m *Martini) Handlers(handlers ...Handler) { method Action (line 55) | func (m *Martini) Action(handler Handler) { method Logger (line 61) | func (m *Martini) Logger(logger *log.Logger) { method Use (line 67) | func (m *Martini) Use(handler Handler) { method ServeHTTP (line 74) | func (m *Martini) ServeHTTP(res http.ResponseWriter, req *http.Request) { method RunOnAddr (line 79) | func (m *Martini) RunOnAddr(addr string) { method Run (line 90) | func (m *Martini) Run() { method createContext (line 101) | func (m *Martini) createContext(res http.ResponseWriter, req *http.Req... function New (line 38) | func New() *Martini { type ClassicMartini (line 111) | type ClassicMartini struct function Classic (line 118) | func Classic() *ClassicMartini { type Handler (line 131) | type Handler interface function validateHandler (line 133) | func validateHandler(handler Handler) { type Context (line 140) | type Context interface type context (line 150) | type context struct method handler (line 158) | func (c *context) handler() Handler { method Next (line 168) | func (c *context) Next() { method Written (line 173) | func (c *context) Written() bool { method run (line 177) | func (c *context) run() { FILE: martini_test.go function expect (line 11) | func expect(t *testing.T, a interface{}, b interface{}) { function refute (line 17) | func refute(t *testing.T, a interface{}, b interface{}) { function Test_New (line 23) | func Test_New(t *testing.T) { function Test_Martini_RunOnAddr (line 30) | func Test_Martini_RunOnAddr(t *testing.T) { function Test_Martini_Run (line 35) | func Test_Martini_Run(t *testing.T) { function Test_Martini_ServeHTTP (line 39) | func Test_Martini_ServeHTTP(t *testing.T) { function Test_Martini_Handlers (line 65) | func Test_Martini_Handlers(t *testing.T) { function Test_Martini_EarlyWrite (line 95) | func Test_Martini_EarlyWrite(t *testing.T) { function Test_Martini_Written (line 118) | func Test_Martini_Written(t *testing.T) { function Test_Martini_Basic_NoRace (line 133) | func Test_Martini_Basic_NoRace(t *testing.T) { FILE: recovery.go constant panicHtml (line 15) | panicHtml = ` function stack (line 53) | func stack(skip int) []byte { function source (line 80) | func source(lines [][]byte, n int) []byte { function function (line 89) | func function(pc uintptr) []byte { function Recovery (line 115) | func Recovery() Handler { FILE: recovery_test.go function Test_Recovery (line 11) | func Test_Recovery(t *testing.T) { function Test_Recovery_ResponseWriter (line 33) | func Test_Recovery_ResponseWriter(t *testing.T) { FILE: response_writer.go type ResponseWriter (line 13) | type ResponseWriter interface type BeforeFunc (line 29) | type BeforeFunc function NewResponseWriter (line 32) | func NewResponseWriter(rw http.ResponseWriter) ResponseWriter { type responseWriter (line 40) | type responseWriter struct method WriteHeader (line 47) | func (rw *responseWriter) WriteHeader(s int) { method Write (line 53) | func (rw *responseWriter) Write(b []byte) (int, error) { method Status (line 63) | func (rw *responseWriter) Status() int { method Size (line 67) | func (rw *responseWriter) Size() int { method Written (line 71) | func (rw *responseWriter) Written() bool { method Before (line 75) | func (rw *responseWriter) Before(before BeforeFunc) { method Hijack (line 79) | func (rw *responseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { method callBefore (line 87) | func (rw *responseWriter) callBefore() { method Flush (line 93) | func (rw *responseWriter) Flush() { type closeNotifyResponseWriter (line 100) | type closeNotifyResponseWriter struct method CloseNotify (line 105) | func (rw *closeNotifyResponseWriter) CloseNotify() <-chan bool { FILE: response_writer_test.go type closeNotifyingRecorder (line 13) | type closeNotifyingRecorder struct method close (line 25) | func (c *closeNotifyingRecorder) close() { method CloseNotify (line 29) | func (c *closeNotifyingRecorder) CloseNotify() <-chan bool { function newCloseNotifyingRecorder (line 18) | func newCloseNotifyingRecorder() *closeNotifyingRecorder { type hijackableResponse (line 33) | type hijackableResponse struct method Header (line 41) | func (h *hijackableResponse) Header() http.Header { return n... method Write (line 42) | func (h *hijackableResponse) Write(buf []byte) (int, error) { return 0... method WriteHeader (line 43) | func (h *hijackableResponse) WriteHeader(code int) {} method Flush (line 44) | func (h *hijackableResponse) Flush() {} method Hijack (line 45) | func (h *hijackableResponse) Hijack() (net.Conn, *bufio.ReadWriter, er... function newHijackableResponse (line 37) | func newHijackableResponse() *hijackableResponse { function Test_ResponseWriter_WritingString (line 50) | func Test_ResponseWriter_WritingString(t *testing.T) { function Test_ResponseWriter_WritingStrings (line 63) | func Test_ResponseWriter_WritingStrings(t *testing.T) { function Test_ResponseWriter_WritingHeader (line 76) | func Test_ResponseWriter_WritingHeader(t *testing.T) { function Test_ResponseWriter_Before (line 88) | func Test_ResponseWriter_Before(t *testing.T) { function Test_ResponseWriter_Hijack (line 109) | func Test_ResponseWriter_Hijack(t *testing.T) { function Test_ResponseWrite_Hijack_NotOK (line 121) | func Test_ResponseWrite_Hijack_NotOK(t *testing.T) { function Test_ResponseWriter_CloseNotify (line 131) | func Test_ResponseWriter_CloseNotify(t *testing.T) { function Test_ResponseWriter_Flusher (line 145) | func Test_ResponseWriter_Flusher(t *testing.T) { function Test_ResponseWriter_FlusherHandler (line 154) | func Test_ResponseWriter_FlusherHandler(t *testing.T) { FILE: return_handler.go type ReturnHandler (line 13) | type ReturnHandler function defaultReturnHandler (line 15) | func defaultReturnHandler() ReturnHandler { function isByteSlice (line 37) | func isByteSlice(val reflect.Value) bool { function canDeref (line 41) | func canDeref(val reflect.Value) bool { FILE: router.go type Params (line 13) | type Params type Router (line 16) | type Router interface type router (line 47) | type router struct method Group (line 72) | func (r *router) Group(pattern string, fn func(Router), h ...Handler) { method Get (line 78) | func (r *router) Get(pattern string, h ...Handler) Route { method Patch (line 82) | func (r *router) Patch(pattern string, h ...Handler) Route { method Post (line 86) | func (r *router) Post(pattern string, h ...Handler) Route { method Put (line 90) | func (r *router) Put(pattern string, h ...Handler) Route { method Delete (line 94) | func (r *router) Delete(pattern string, h ...Handler) Route { method Options (line 98) | func (r *router) Options(pattern string, h ...Handler) Route { method Head (line 102) | func (r *router) Head(pattern string, h ...Handler) Route { method Any (line 106) | func (r *router) Any(pattern string, h ...Handler) Route { method AddRoute (line 110) | func (r *router) AddRoute(method, pattern string, h ...Handler) Route { method Handle (line 114) | func (r *router) Handle(res http.ResponseWriter, req *http.Request, co... method NotFound (line 142) | func (r *router) NotFound(handler ...Handler) { method addRoute (line 146) | func (r *router) addRoute(method string, pattern string, handlers []Ha... method appendRoute (line 166) | func (r *router) appendRoute(rt *route) { method getRoutes (line 172) | func (r *router) getRoutes() []*route { method findRoute (line 178) | func (r *router) findRoute(name string) *route { method URLFor (line 338) | func (r *router) URLFor(name string, params ...interface{}) string { method All (line 362) | func (r *router) All() []Route { method MethodsFor (line 383) | func (r *router) MethodsFor(path string) []string { type group (line 54) | type group struct function NewRouter (line 68) | func NewRouter() Router { type Route (line 189) | type Route interface type route (line 202) | type route struct method MatchMethod (line 242) | func (r route) MatchMethod(method string) RouteMatch { method Match (line 255) | func (r route) Match(method string, path string) (RouteMatch, map[stri... method Validate (line 275) | func (r *route) Validate() { method Handle (line 281) | func (r *route) Handle(c Context, res http.ResponseWriter) { method URLWith (line 291) | func (r *route) URLWith(args []string) string { method Name (line 311) | func (r *route) Name(name string) { method GetName (line 315) | func (r *route) GetName() string { method Pattern (line 319) | func (r *route) Pattern() string { method Method (line 323) | func (r *route) Method() string { function newRoute (line 213) | func newRoute(method string, pattern string, handlers []Handler) *route { type RouteMatch (line 228) | type RouteMatch method BetterThan (line 238) | func (r RouteMatch) BetterThan(o RouteMatch) bool { constant NoMatch (line 231) | NoMatch RouteMatch = iota constant StarMatch (line 232) | StarMatch constant OverloadMatch (line 233) | OverloadMatch constant ExactMatch (line 234) | ExactMatch type Routes (line 328) | type Routes interface function hasMethod (line 373) | func hasMethod(methods []string, method string) bool { type routeContext (line 394) | type routeContext struct method Next (line 400) | func (r *routeContext) Next() { method run (line 405) | func (r *routeContext) run() { FILE: router_test.go function Test_Routing (line 10) | func Test_Routing(t *testing.T) { function Test_RouterHandlerStatusCode (line 139) | func Test_RouterHandlerStatusCode(t *testing.T) { function Test_RouterHandlerStacking (line 198) | func Test_RouterHandlerStacking(t *testing.T) { function Test_RouteMatching (line 252) | func Test_RouteMatching(t *testing.T) { function Test_MethodsFor (line 262) | func Test_MethodsFor(t *testing.T) { function Test_NotFound (line 293) | func Test_NotFound(t *testing.T) { function Test_NotFoundAsHandler (line 309) | func Test_NotFoundAsHandler(t *testing.T) { function Test_NotFoundStacking (line 349) | func Test_NotFoundStacking(t *testing.T) { function Test_Any (line 384) | func Test_Any(t *testing.T) { function Test_URLFor (line 407) | func Test_URLFor(t *testing.T) { function Test_AllRoutes (line 437) | func Test_AllRoutes(t *testing.T) { function Test_ActiveRoute (line 455) | func Test_ActiveRoute(t *testing.T) { FILE: static.go type StaticOptions (line 13) | type StaticOptions struct function prepareStaticOptions (line 30) | func prepareStaticOptions(options []StaticOptions) StaticOptions { function Static (line 53) | func Static(directory string, staticOpt ...StaticOptions) Handler { FILE: static_test.go function Test_Static (line 18) | func Test_Static(t *testing.T) { function Test_Static_Local_Path (line 40) | func Test_Static_Local_Path(t *testing.T) { function Test_Static_Head (line 67) | func Test_Static_Head(t *testing.T) { function Test_Static_As_Post (line 89) | func Test_Static_As_Post(t *testing.T) { function Test_Static_BadDir (line 107) | func Test_Static_BadDir(t *testing.T) { function Test_Static_Options_Logging (line 121) | func Test_Static_Options_Logging(t *testing.T) { function Test_Static_Options_ServeIndex (line 154) | func Test_Static_Options_ServeIndex(t *testing.T) { function Test_Static_Options_Prefix (line 175) | func Test_Static_Options_Prefix(t *testing.T) { function Test_Static_Options_Expires (line 197) | func Test_Static_Options_Expires(t *testing.T) { function Test_Static_Options_Fallback (line 218) | func Test_Static_Options_Fallback(t *testing.T) { function Test_Static_Redirect (line 240) | func Test_Static_Redirect(t *testing.T) {