diff --git a/data/data.go b/data/data.go index 98db15e..ee52cdc 100644 --- a/data/data.go +++ b/data/data.go @@ -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 ( diff --git a/imageproxy.go b/imageproxy.go index 9d03b3d..5324b00 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -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 ) @@ -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 != "" { diff --git a/proxy/proxy.go b/proxy/proxy.go index f6e9f37..85d8682 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -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. diff --git a/proxy/proxy_test.go b/proxy/proxy_test.go index df46ea1..e24d9c7 100644 --- a/proxy/proxy_test.go +++ b/proxy/proxy_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "github.com/willnorris/go-imageproxy/data" + "github.com/willnorris/imageproxy/data" ) var emptyOptions = new(data.Options) diff --git a/readme.md b/readme.md index f7bbbb1..056e228 100644 --- a/readme.md +++ b/readme.md @@ -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, @@ -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 ### @@ -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: diff --git a/transform/transform.go b/transform/transform.go index edf20d4..79de32e 100644 --- a/transform/transform.go +++ b/transform/transform.go @@ -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)