Title: | HTTP File Server with Range Requests and Unbounded CORS using Go |
---|---|
Description: | This package provides an interface to an HTTP file server written in Go using Copilot. The server supports range requests and unbounded CORS. It uses the cgo package to call Go functions from R, following the guide at https://purrple.cat/blog/2017/05/14/calling-go-from-r/. |
Authors: | Sounkou Mahammane Toure |
Maintainer: | Sounkou Mahammane Toure <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.1.0 |
Built: | 2025-03-01 20:28:57 UTC |
Source: | https://github.com/sounkou-bioinfo/goServeR |
Run the go http server
runServer(dir = getwd(), addr = "0.0.0.0:8181", prefix = "")
runServer(dir = getwd(), addr = "0.0.0.0:8181", prefix = "")
dir |
directory to serve |
addr |
address |
prefix |
server prefix |
NULL blocks the session
## Not run: # ADD_EXAMPLES_HERE ## End(Not run)
## Not run: # ADD_EXAMPLES_HERE ## End(Not run)