go-aws-webserver

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

README

Build Status

go-aws-webserver

A small webserver written in Go, to perform simple tasks on your AWS ressources

How to use

Make sure you have AWS credentials available on your computer:

Windows: C:\Users{USERNAME}.aws\credentials

package main

import (
	"github.com/emilhein/go-aws-webserver/webserver"
)

func main() {
	webserver.Start()
}

Now you have a webserver with some already defined endpoints for your AWS ressources.

For now the most usefull endpoint is:

POST: localhost:3000/getS3files

A POST body request in postman could look like this:

{
	"bucket" : "YOUR_BUCKET",
	"filepaths" : ["json_file_1", "json_file_2"]
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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