go-cache-http

command module
v0.0.0-...-266080a Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 3 Imported by: 0

README

GoCrasHttp

Small Golang expirement 😄

Currently up as an alpine container on heroku

Docker

Only use Docker to build the image if using containerization technologies like:

  1. Docker Swarm
  2. Kubernetes (k8s)
  3. Google Container Platform
  4. Heroku (ex: heroku container:push web --app <app_name>)
  5. AWS/Azure Container Solutions (Ex: Fargate)
  6. A VPS with only Docker as a dependency (Digital Ocean/Linode box)

The image for production is using Alpine Linux.

Very small so no need to worry about bandwith.

Build times are very fast, even from scratch!

Development

Use a local Go install to develop this software.

Get Gin and GoConvey for dev:

Linux:

go get github.com/codegangsta/gin \
  && go get github.com/smartystreets/goconvey \
  && source ~/.bashrc

macOS:

go get github.com/codegangsta/gin \
  && go get github.com/smartystreets/goconvey \
  && source ~/.bash_profile
Use Gin for dev:
./scripts/dev.sh

OR

gin run main.go
Use Convey for dev:

Open a new pane/tab in your terminal and just run $GOPATH/bin/goconvey

This will watch your files, run tests on save, and display really good information about your tests on http://127.0.0.1:8080

Refer to the ./scripts dir for other tasks that can be run

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