Code Monkey home page Code Monkey logo

pea-sharing's Introduction

PEA-SHARING

本项目是一个使用Golang编写的简单Web服务,提供了文件上传和下载的功能。用户可以通过该服务上传文件到服务器的uploads目录,并且可以通过下载链接下载已上传的文件。

功能

  • 文件上传:用户可以通过Web界面上传文件到服务器的uploads目录。
  • 文件下载:用户可以通过下载链接下载服务器uploads目录中的文件。

使用场景

该项目适用于需要在Web应用中实现文件上传和下载功能的场景,例如:

  • 网站用户上传头像或其他文件。
  • 管理员上传和分享文件。

使用方法

  1. 启动服务:在项目根目录下执行go run main.go命令启动服务。
  2. 访问网页:在浏览器中访问http://localhost:8080,即可进入文件上传页面。
  3. 上传文件:在网页中选择文件并上传到服务器。
  4. 下载文件:通过下载链接下载已上传的文件。

技术栈

  • Golang:使用Golang编写后端服务。
  • Gin框架:使用Gin框架构建Web应用。
  • BOOTSTRAP框架:使用BOOTSTRAP构建前端界面。

欢迎使用和贡献!

pea-sharing's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.