(vars map[string]string)
| 658 | } |
| 659 | |
| 660 | func (a *explorerAPI) getHash(vars map[string]string) (h *hash.Hash, err error) { |
| 661 | hStr := vars["hash"] |
| 662 | return hash.NewHashFromStr(hStr) |
| 663 | } |
| 664 | |
| 665 | func startAPI(service *Service, listenAddr string, version string) (server *http.Server, err error) { |
| 666 | statikFS, err := fs.New() |
no test coverage detected