Discover Packages
github.com/jecolon/restsrv
command
module
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Apr 30, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
restsrv
A sample HTTP2 REST API Server.
Quick Start
You need the latest version of Go https://golang.org
$ git clone https://github.com/jecolon/restsrv
$ cd restsrv
$ mkdir tls
$ cd tls
$ go run /usr/local/go/src/crypto/tls/generate_cert.go --host localhost
$ cd ..
$ go build
$ ./restsrv
Navigate to https://localhost:8443 for file server homepage and https://localhost:8443/api/v1/posts for REST API using
github.com/jecolon/post package.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.