gofileserver

package module
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 10 Imported by: 0

README

Go File Server

Go Reference

A simple server with web UI, which serves files under a directory and is written in Go.

Install

go get github.com/plan97/gofileserver/cmd/runfs

Usage

After installing, run the following to check on usage.

runfs --help

Documentation

Overview

Package gofileserver provides REST API's and web UI for accessing files in the system.

The server can be configured during setup.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup added in v0.3.0

func Setup(conf *config.Config) (router *gin.Engine, err error)

Setup the router using the provided configuration.

Types

This section is empty.

Directories

Path Synopsis
cmd
Package config provides the necessary configurations for gofileserver.
Package config provides the necessary configurations for gofileserver.
Package handlers provides middlewares that are used to handle the API endpoints.
Package handlers provides middlewares that are used to handle the API endpoints.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL