0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

rename to 'imageproxy' (drop 'go-' prefix)

This commit is contained in:
Will Norris 2013-12-26 11:14:28 -08:00
parent 26dde07ec0
commit 462b70dcc2
6 changed files with 13 additions and 13 deletions

View file

@ -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 (

View file

@ -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 != "" {

View file

@ -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.

View file

@ -19,7 +19,7 @@ import (
"reflect"
"testing"
"github.com/willnorris/go-imageproxy/data"
"github.com/willnorris/imageproxy/data"
)
var emptyOptions = new(data.Options)

View file

@ -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:

View file

@ -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)