Add HTTP endpoints to README

pull/977/head
Daniel Wagner-Hall 9 years ago
parent ca7dd49dc6
commit bf318ffcd5

@ -1,4 +1,8 @@
speculator allows you to preview pull requests to the matrix.org specification. speculator allows you to preview pull requests to the matrix.org specification.
It serves two HTTP endpoints:
- /spec/123 which renders the spec as html at pull request 123.
- /diff/rst/123 which gives a diff of the spec's rst at pull request 123.
To run it, you must install the `go` tool, and run: To run it, you must install the `go` tool, and run:
`go run main.go` `go run main.go`

Loading…
Cancel
Save