You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is failing
Details
|
4 weeks ago | |
---|---|---|
.github/workflows | 2 years ago | |
templates | 2 years ago | |
.codecov.yml | 2 years ago | |
.dockerignore | 6 years ago | |
.drone.yml | 2 years ago | |
.gitignore | 2 years ago | |
CHANGELOG.md | 3 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 7 years ago | |
Makefile | 4 weeks ago | |
README.md | 2 years ago | |
config.go | 4 weeks ago | |
config_test.go | 2 years ago | |
go.mod | 4 weeks ago | |
go.sum | 4 weeks ago | |
handler.go | 2 years ago | |
handler_test.go | 3 years ago | |
main.go | 2 years ago | |
sally.yaml | 7 years ago | |
tools.go | 4 weeks ago | |
utils_test.go | 4 weeks ago | |
version.go | 2 years ago | |
version_test.go | 2 years ago |
README.md
sally
A tiny HTTP server for supporting custom Golang import paths
Installation
Using Go:
go install go.mills.io/sally@latest
Using Docker:
docker pull prologic/sally
Usage
Create a YAML file with the following structure:
# This optional section configures godoc documentation linking.
godoc:
# Instance of godoc server used for documentation links. Defaults to pkg.go.dev.
host: pkg.go.dev
url: google.golang.org
packages:
grpc:
repo: github.com/grpc/grpc-go
Then run Sally to start the HTTP server:
$ sally -yml site.yaml -port 5000
Or using Docker:
docker run -p 8080:8080 -v /path/to/sally.yaml:/sally.yaml prologic/sally