[go: nahoru, domu]

Skip to content

cprates/lws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Go Report Card License

LWS

LWS (Local Web Services) is a set of mocks for AWS services that allows you to test you code offline and without the need of an account.

Services

  • SQS
  • Lambda (in development)

Requirements

  • Golang: Currently it only runs localy so, you'll need to download and install Golang. Make sure you have configured your GOPATH.

SQS

For a list of supported features check the Wiki.

Lambda

Lambda service is in early development stage. If you are keen and want to follow the development, check out the branch llambda.

Installation

After installing Golang and configuring your GOPATH clone the LWS repository:

git clone https://github.com/cprates/lws.git

Running

> cd lws
> make install
> make run

Testing your installation

Create a new queue

aws sqs create-queue --endpoint-url http://localhost:8080 --queue-name queue1

Check if it was created

aws sqs list-queues --endpoint-url http://localhost:8080

Send a message (use the queue-url returned by the previous command)

aws sqs send-message --endpoint-url http://localhost:8080 --queue-url "$QueueURL" --message-body "Hello!"

Read the message

aws sqs receive-message --endpoint-url http://localhost:8080 --queue-url "$QueueURL"

About

Mocks of AWS services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages