api/siri_lite_handler.go
Method SIRILiteHandler.serve
has 5 return statements (exceeds 4 allowed). Open
Open
func (handler *SIRILiteHandler) serve(response http.ResponseWriter, request *http.Request, requestData *SIRIRequestData) {
if handler.token == "" {
http.Error(response, "No Authorization Token", http.StatusUnauthorized)
return
}