go-web

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: MIT

README

go-web

Source code for the book "Web Development with Go" published by Apress.

TaskManager RESTful API

Sample REST API app with Go and MongoDB for chapter 9.

Updates on 22-Jun-2016 in TaskManager App
  1. Upgraded the package jwt-go and modified the source in common/auth.go.
  2. Authentication middleware now sets the user name into the HTTP Request context using package "github.com/gorilla/context".
  3. Added a logging implementation in common/logger.go.
  4. Minor code refactoring in the app.

Directories

Path Synopsis
chapter-1
web
chapter-10
chapter-11
chapter-3
concurrency
This sample program demonstrates how to create goroutines Example program with unbuffered chanel
This sample program demonstrates how to create goroutines Example program with unbuffered chanel
interfaces
Example program with Interface, Composition and Method Overriding
Example program with Interface, Composition and Method Overriding
structs
Example program for Composition of types Example program for Composition of types
Example program for Composition of types Example program for Composition of types
chapter-4
mux
chapter-5
chapter-6
chapter-7
Godeps/_workspace/src/github.com/codegangsta/negroni
Package negroni is an idiomatic approach to web middleware in Go.
Package negroni is an idiomatic approach to web middleware in Go.
Godeps/_workspace/src/github.com/dgrijalva/jwt-go
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html See README.md for more info.
Package jwt is a Go implementation of JSON Web Tokens: http://self-issued.info/docs/draft-jones-json-web-token.html See README.md for more info.
Godeps/_workspace/src/github.com/dgrijalva/jwt-go/request
Utility package for extracting JWT tokens from HTTP requests.
Utility package for extracting JWT tokens from HTTP requests.
Godeps/_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
Godeps/_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
Godeps/_workspace/src/golang.org/x/crypto/bcrypt
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
Godeps/_workspace/src/golang.org/x/crypto/blowfish
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
Godeps/_workspace/src/gopkg.in/mgo.v2
Package mgo offers a rich MongoDB driver for Go.
Package mgo offers a rich MongoDB driver for Go.
Godeps/_workspace/src/gopkg.in/mgo.v2/bson
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
Godeps/_workspace/src/gopkg.in/mgo.v2/internal/scram
Pacakage scram implements a SCRAM-{SHA-1,etc} client per RFC5802.
Pacakage scram implements a SCRAM-{SHA-1,etc} client per RFC5802.

Jump to

Keyboard shortcuts

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