Skip to content

cloudhubs/sourcecrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Crawler version 1.0.0

A REST API to parse a single Go project and create a program slice based on found log statements and a given stack trace, and suggest integer inputs that can recreate the executed path. Project template based on this sample Go API

Installation & Run

Clone this repository

git clone https://github.com/cloudhubs/sourcecrawler

Build and run the project:

go get
go build
./sourcecrawler
# API now available on http://127.0.0.1:3000
# Slice endpoint: /slice

API

/slicer

  • POST : Parse a project to extract its log types
    • Request format:
    {
        "stackTrace": "", // stack trace escaped for JSON
        "logMessages": ["message", "message2"], // array of collected log messages
        "projectRoot": "/path/to/project" // path to project to be sliced
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages