Skip to content

Commit

Permalink
Merge pull request #4 from themue/feature-restaudit-convenience
Browse files Browse the repository at this point in the history
Added convenience to restaudit package
  • Loading branch information
Frank Mueller authored Feb 9, 2017
2 parents ddd45d1 + a845768 commit 4184fc0
Show file tree
Hide file tree
Showing 25 changed files with 278 additions and 155 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Tideland Go REST Server Library

## 2017-02-10

- Extended *Request* and *Response* of *restaudit* with some
convenience methods for easier testing
- Adopted *restaudit* changes in *rest* tests

## 2017-01-19

- Renamed type *Query* to *Values*
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009-2016, Frank Mueller / Tideland / Oldenburg / Germany
Copyright (c) 2009-2017, Frank Mueller / Tideland / Oldenburg / Germany
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@ I hope you like it. ;)

## Version

Version 2.10.0
Version 2.11.0

## Packages

#### REST
### REST

RESTful web request handling.

[![GoDoc](https://godoc.org/github.com/tideland/gorest/rest?status.svg)](https://godoc.org/github.com/tideland/gorest/rest)

#### Request
### Request

Convenient client requests to RESTful web services.

[![GoDoc](https://godoc.org/github.com/tideland/gorest/request?status.svg)](https://godoc.org/github.com/tideland/gorest/request)

#### Handlers
### Handlers

Some general purpose handlers for the library.

[![GoDoc](https://godoc.org/github.com/tideland/gorest/handlers?status.svg)](https://godoc.org/github.com/tideland/gorest/handlers)

#### JSON Web Token
### JSON Web Token

JWT package for secure authentication and information exchange like claims.

[![GoDoc](https://godoc.org/github.com/tideland/gorest/jwt?status.svg)](https://godoc.org/github.com/tideland/gorest/jwt)

#### REST Audit
### REST Audit

Helpers for the unit tests of the Go REST Server Library.

Expand Down
2 changes: 1 addition & 1 deletion handlers/audit.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - Audit Handler
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
4 changes: 2 additions & 2 deletions handlers/doc.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Tideland Go REST Server Library - Handlers
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.

// The Tideland Go REST Server Library handlers package defines
// Package handlers of the Tideland Go REST Server Library implements
// some initial resource handlers to integrate into own solutions.
package handlers

Expand Down
2 changes: 1 addition & 1 deletion handlers/errors.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - Errors
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion handlers/fileserve.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - File Serve
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion handlers/fileupload.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - File Upload
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion handlers/handlers_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - Unit Tests
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion handlers/jwtauth.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - JWT Authorization
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion handlers/wrapper.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Handlers - Wrapper
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion jwt/algorithm.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - JSON Web Token - Algorithm
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion jwt/cache.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - JSON Web Token - Cache
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion jwt/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - JSON Web Token - Unit Tests
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion jwt/claims.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - JSON Web Token - Claims
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion jwt/claims_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - JSON Web Token - Unit Tests
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
4 changes: 2 additions & 2 deletions jwt/doc.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Tideland Go REST Server Library - JSON Web Token
//
// Copyright (C) 2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2016-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.

// The Tideland Go REST Server Library jwt provides the generation,
// Package jwt of the Tideland Go REST Server Library provides the generation,
// verification, and analyzing of JSON Web Tokens.
package jwt

Expand Down
7 changes: 4 additions & 3 deletions request/doc.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// Tideland Go REST Server Library - Request
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.

// The request package provides a simple way to handle cross-server
// requests in the Tideland REST ecosystem.
// Package request of the Tideland Go REST Server Library provides
// a simple way to handle cross-server requests in the Tideland
// REST ecosystem.
package request

//--------------------
Expand Down
2 changes: 1 addition & 1 deletion request/errors.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Request - Errors
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion request/request.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Request
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
2 changes: 1 addition & 1 deletion request/request_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go REST Server Library - Request - Unit Tests
//
// Copyright (C) 2009-2016 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2009-2017 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand Down
4 changes: 2 additions & 2 deletions rest/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// All rights reserved. Use of this source code is governed
// by the new BSD license.

// The Tideland Go REST Server Library provides the package rest for the
// implementation of servers with a RESTful API. The business has to
// Package rest of the Tideland Go REST Server Library provides types for
// the implementation of servers with a RESTful API. The business has to
// be implemented in types fullfilling the ResourceHandler interface.
// This basic interface only allows the initialization of the handler.
// More interesting are the other interfaces like GetResourceHandler
Expand Down
Loading

0 comments on commit 4184fc0

Please sign in to comment.