Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

fileviewer

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

This service is used to view the static files in server.

getting-started

Built With

golang

installation

step 1. download from releases.

step 2. start the service as shown below

./fileviewer -dest /tmp/configs

usage

 ./fileviewer -h
--version
returns application version
--dest string
(required) destination/working directory, should not be root /
--port string
overwrite default port (default "3000")
--tls-crt string
certificate path, only needed for ssl service
--tls-key string
key path, only needed for ssl service
--log-file
writes all the log messages to a file

example

  1. view the static file in given working directory
curl http://localhost:3000/
  1. returns application health check
curl http://localhost:3000/health
  1. Metrics for Prometheus
curl http://localhost:3000/metrics

About

used to view static content in server

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages