Localroast Versions Save

Mock a server for development and testing

v0.4.0

4 years ago

Changelog

fe5263e #11 - Add Access-Control-Allow-Origin: * bc9c5af Use go 1.13

v0.3.0

5 years ago

Changelog

ea1e514 Update release scripts to support go mod 4931e88 Remove dep files 6618092 changed assertion ec6d08d test coverage 44a2ec9 add URL parameter for pretty json output 565352e go mod tidy 45efeed Fix wrong case on GO111MODULE environment 9e9b1d4 Set up CI to use go modules 0c4a0b8 changed module name to correct one 47f235c added go modules support e389cb2 #6 - Complete changing of coverage tool to codecov cca9a88 #6 - Complete changing of coverage tool to codecov 06d045c Fix CI script - #6 b31a9a3 Set up Codecov - #6 2f0b0d6 Use go 1.11.1 ba630cb Fix goveralls command

v0.2.1

5 years ago

Changelog

0603cd3 change loops to use indexing range dd3ebb4 improve parser and server reload performance by indexing 8ab1b5f Use default sorting for changelog 9f7da0c Update README.md d4b141d Add demo gif 75013a2 Update README.md 78515b0 Update readme

v0.2.0

5 years ago

Changelog

41fb7d7 Add ability to update router through a channel d390c20 Add codecov to pipeline 8bba225 Add file watcher for create and write event 59fcf8b Add integration test on command 4d1cddd Add logging f54eb4a Add tests 6b3ed9d Fix bug to watch directory for changes instead of file 6bc05c9 Include windows release 1fbc9d9 Open and watch file in filehandler, sending io.Reader via output channel 5da1a3d Parser takes an input channel for file d6eb62c Parser takes an output channel for schemas eecfbbf Refactor commands 9f3afaa Refactor commands to use cobra. Defaults to json bc90e1a Refactor commands: inject dependencies into commands 9eaadad Refactor filesystem package 7fdc81a Refactor router to be able to update schemas 1c3bf46 Refactor test fe63881 Refactoring 0b93277 Remove duplicate whitespace from raw JSON 00d4cee Test root command 91bb347 Tick off TODO - autoload file changes 🎊🎉 999083e Update installation with brew 3fbfc34 Update parser and server to watch file changes

v0.1.0

5 years ago

Changelog

44edf50 Add .gitignore 1baec17 Add Header Content-Type a45884e Add JSON content to http response 3f4c5f6 Add JSON response to schema 47935d5 Add badges :tada::confetti_ball: 3259f5a Add basic parsing of JSON into schema bccebff Add circle ci 6bdd8f4 Add cli flag for port number 8907f72 Add comments on exported types & functions 402813f Add description to README 33f6270 Add feature list f601986 Add logo b85993a Add release job and workflow on tags 63ab501 Add setup step 1172d1d Add string validation f71a40e Add support for PUT, PATCH, DELETE methods 44857fd Add support for json input ffcb6b2 Add support for string input with multiple routes 22bf7e7 Add test coverage e27d767 Add workflow to build and test 4ec8115 Coverage badge e3ef083 Create LICENSE.md 7ea5d25 Create a http handler from a schema 4c10312 Create endpoint Schema from string b58c755 Create main application and ignore compiled binary c34934d Create mux with multiple handlers from multiple schema 0cb8c8e Fix failing build due to dep version 4155eef Fix port flag 1a17c3b Fix tests 444ce15 Initial commit eaf15f4 Initialise dep 3929e39 Install dep in release job 755f7dc Move starting of server into command 9d7a854 Parse POST method into schema 04d3d26 Print version 0dadb5e Refactor commands df3150c Refactor http server to a separate package edf2f85 Refactor routing table to use a struct as key a3ebe7a Refactor server test to use http.ResponseRecorder 35bb37a Remove support for string input 04166bb Remove unnecessary pointers 7042089 Rename project d302b26 Rename project to localroast 9a5a6a0 Replace mux with httprouter to support path parameter 54a60e6 Set up goreleaser 8519f7e Support multiple methods per path 1d334b3 Update README 75e5fc4 Update README a7e18d1 Update README with instructions to use JSON 56fdbf8 Update Readme 0204e91 Update Readme aca5504 Update circleCI with untagged build 5b876b9 Update dependencies 8c3197e Update dependencies 0d41a05 Update installation step 070742b Use Makefile for tasks 6242ef0 Use custom Handler type instead of ServeMux to prevent unintended route matches 277d9c8 Use testify/mock 6a667f9 Validate cli arguments 2bf0ff2 Write test to match path parameter e9bdbb2 dep ensure before release 02788ce resize image cd4ae79 resize image