Skip to content

Commit

Permalink
rename to 'imageproxy' (drop 'go-' prefix)
Browse files Browse the repository at this point in the history
  • Loading branch information
willnorris committed Dec 26, 2013
1 parent 26dde07 commit 462b70d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion data/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package data provides common shared data structures for go-imageproxy.
// Package data provides common shared data structures for imageproxy.
package data

import (
Expand Down
8 changes: 4 additions & 4 deletions imageproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import (

"github.com/gregjones/httpcache"
"github.com/gregjones/httpcache/diskcache"
"github.com/willnorris/go-imageproxy/proxy"
"github.com/willnorris/imageproxy/proxy"
)

// goxc values
var (
// VERSION is the version string for go-imageproxy.
// VERSION is the version string for imageproxy.
VERSION string
// BUILD_DATE is the timestamp of when go-imageproxy was built.
// BUILD_DATE is the timestamp of when imageproxy was built.
BUILD_DATE string
)

Expand All @@ -47,7 +47,7 @@ func main() {
return
}

fmt.Printf("go-imageproxy (version %v) listening on %s\n", VERSION, *addr)
fmt.Printf("imageproxy (version %v) listening on %s\n", VERSION, *addr)

var c httpcache.Cache
if *cacheDir != "" {
Expand Down
4 changes: 2 additions & 2 deletions proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (

"github.com/golang/glog"
"github.com/gregjones/httpcache"
"github.com/willnorris/go-imageproxy/data"
"github.com/willnorris/go-imageproxy/transform"
"github.com/willnorris/imageproxy/data"
"github.com/willnorris/imageproxy/transform"
)

// URLError reports a malformed URL error.
Expand Down
2 changes: 1 addition & 1 deletion proxy/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"reflect"
"testing"

"github.com/willnorris/go-imageproxy/data"
"github.com/willnorris/imageproxy/data"
)

var emptyOptions = new(data.Options)
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# go-imageproxy #
# imageproxy #

go-imageproxy is a caching image proxy server written in golang. It supports
imageproxy is a caching image proxy server written in golang. It supports
dynamic image resizing and URL whitelisting.

This project was inspired by, and is designed to be an alternative to,
Expand All @@ -20,7 +20,7 @@ building my own for fun.

## URL Structure ##

go-imageproxy URLs are of the form `http://localhost/{options}/{remote_url}`.
imageproxy URLs are of the form `http://localhost/{options}/{remote_url}`.

### Options ###

Expand All @@ -42,7 +42,7 @@ both height and width.

Depending on the options specified, an image may be cropped to fit the
requested size. In all cases, the original aspect ratio of the image will be
preserved; go-imageproxy will never stretch the original image.
preserved; imageproxy will never stretch the original image.

When no explicit crop mode is specified, the following rules are followed:

Expand Down
2 changes: 1 addition & 1 deletion transform/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"reflect"

"github.com/disintegration/imaging"
"github.com/willnorris/go-imageproxy/data"
"github.com/willnorris/imageproxy/data"
)

var emptyOptions = new(data.Options)
Expand Down

0 comments on commit 462b70d

Please sign in to comment.