morty
Privacy aware web content sanitizer proxy as a service
File Explorer
- config.go
- contenttype.go
- contenttype_test.go
- .gitignore
- .travis.yml
- CHANGELOG.md
- Dockerfile
- go.mod
- go.sum
- LICENSE
- Makefile
- morty.1
- morty.go
- morty_test.go
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
docker run
View Details ▼
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
go get
View Details ▼
go get
Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go get {{example.com/pkg}}
Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:
go get {{example.com/pkg}}@{{v1.2.3}}
Modify the package with a given version in module-aware mode:
go get {{example.com/pkg}}@{{none}}
Remove a specified package:
go test
View Details ▼
go test
Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go test
Test the package found in the current directory:
go test -v
[v]erbosely test the package in the current directory:
go test -v ./...
Test the packages in the current directory and all subdirectories:
openssl rand
View Details ▼
openssl rand
Generate random bytes using a cryptographically secure PRNG.
openssl rand -hex 8
Generate an 8-byte (16 characters) hex string and write it to `stdout`:
openssl rand -base64 20
Generate 20 random bytes encoded in base64:
openssl rand -out {{path/to/file}} {{length}}
Generate random bytes and write them to a file (without encoding):
