Package 'goserveR'

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

Help Index


runServer

Description

Run the go http server

Usage

runServer(dir = getwd(), addr = "0.0.0.0:8181", prefix = "")

Arguments

dir

directory to serve

addr

address

prefix

server prefix

Value

NULL blocks the session

Examples

## Not run: 
# ADD_EXAMPLES_HERE

## End(Not run)