Browse Source

No parameter names in documentation

Carl Jackson 11 years ago
parent
commit
7a0c709c84
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      web/web.go

+ 3
- 3
web/web.go View File

@ -97,8 +97,8 @@ interface{} (that is named for the purposes of documentation), however only the
following concrete types are accepted: following concrete types are accepted:
- types that implement http.Handler - types that implement http.Handler
- types that implement Handler - types that implement Handler
- func(w http.ResponseWriter, r *http.Request)
- func(c web.C, w http.ResponseWriter, r *http.Request)
- func(http.ResponseWriter, *http.Request)
- func(web.C, http.ResponseWriter, *http.Request)
*/ */
type HandlerType interface{} type HandlerType interface{}
@ -107,6 +107,6 @@ MiddlewareType is the type of Goji middleware. In order to provide an expressive
API, this type is an alias for interface{} (that is named for the purposes of API, this type is an alias for interface{} (that is named for the purposes of
documentation), however only the following concrete types are accepted: documentation), however only the following concrete types are accepted:
- func(http.Handler) http.Handler - func(http.Handler) http.Handler
- func(c *web.C, http.Handler) http.Handler
- func(*web.C, http.Handler) http.Handler
*/ */
type MiddlewareType interface{} type MiddlewareType interface{}

Loading…
Cancel
Save