|
|
@ -11,9 +11,9 @@ import ( |
|
|
|
) |
|
|
|
|
|
|
|
type apijson struct { |
|
|
|
URL string `json:"url",omitempty` |
|
|
|
Exists bool `json:"exists",omitempty` |
|
|
|
Error string `json:"error",omitempty` |
|
|
|
URL string `json:"url,omitempty"` |
|
|
|
Exists bool `json:"exists,omitempty"` |
|
|
|
Error string `json:"error,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
func (ctx *RootHandler) ServeAPI(w http.ResponseWriter, r *http.Request) { |
|
|
|