expandPath expands the path using PathExpander if set.
(path string)
| 159 | |
| 160 | // expandPath expands the path using PathExpander if set. |
| 161 | func (s *Server) expandPath(path string) (string, error) { |
| 162 | if s.PathExpander != nil { |
| 163 | return s.PathExpander(path) |
| 164 | } |
| 165 | return path, nil |
| 166 | } |
| 167 | |
| 168 | func (s *Server) handleStart(w http.ResponseWriter, r *http.Request) { |
| 169 | var req StartRequest |
no outgoing calls
no test coverage detected