https://github.com/qjcg/servant
Simply serve HTTP
https://github.com/qjcg/servant
http http-server webserver
Last synced: 7 months ago
JSON representation
Simply serve HTTP
- Host: GitHub
- URL: https://github.com/qjcg/servant
- Owner: qjcg
- License: mit
- Created: 2017-02-23T23:29:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-31T01:38:10.000Z (almost 3 years ago)
- Last Synced: 2025-01-08T06:18:24.886Z (about 1 year ago)
- Topics: http, http-server, webserver
- Language: Go
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Servant
[![Build Status][badge_build]][travis_servant]
[![GoReportCard][badge_reportcard]][reportcard]
[![GoDoc][badge_godoc]][godoc]
[badge_build]: https://travis-ci.org/qjcg/servant.svg?branch=master
[badge_reportcard]: https://goreportcard.com/badge/github.com/qjcg/servant
[travis_servant]: https://travis-ci.org/qjcg/servant
[reportcard]: https://goreportcard.com/report/github.com/qjcg/servant
[badge_godoc]: https://godoc.org/github.com/qjcg/servant?status.svg
[godoc]: https://godoc.org/github.com/qjcg/servant
Simply serve HTTP.
## Features
- Serve HTTP my way
- That's it
## Install
```sh
go get -u github.com/qjcg/servant
```
## Usage
```shell
# Serve HTTP on localhost:8080
$ servant
# Serve ~/public via LAN IP and custom port:
$ servant -i 10.13.37.10 -p 8888 ~/public
# Serve HTTPS:
$ servant -c example.com.pem -k example.com-key.pem -i example.com ~/public
```
## Licence
MIT.