Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/globocom/gothumbor
Golang client for Thumbor Image Service
https://github.com/globocom/gothumbor
Last synced: 12 days ago
JSON representation
Golang client for Thumbor Image Service
- Host: GitHub
- URL: https://github.com/globocom/gothumbor
- Owner: globocom
- License: mit
- Created: 2015-08-24T18:14:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T13:31:49.000Z (about 1 year ago)
- Last Synced: 2024-08-01T19:46:42.728Z (3 months ago)
- Language: Go
- Size: 34.2 KB
- Stars: 23
- Watchers: 82
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gothumbor
=========[![GoDoc](https://godoc.org/github.com/globocom/gothumbor?status.svg)](https://godoc.org/github.com/globocom/gothumbor)
gothumbor allows easy usage of [Thumbor] in Go.
Using it
-------
```go
myKey := "my-very-secret-key"
myImageURL := "my-domain.com/static/images/fancy-image.png"
thumborOptions := gothumbor.ThumborOptions{Width: 540, Height: 480}
newURL, err := gothumbor.GetCryptedThumborPath(myKey, myImageURL, thumborOptions)
```With these variables the values of:
* newURL: AGp4diIF89Cm2ugmDGjhycikYjY=/540x480/my-domain.com/static/images/fancy-image.png
* err: nilLicense
-------[MIT][mit] © [Globo.com][globocom]
Contributors
------------Click [here][contributors] to see the list of contributors.
[Thumbor]: https://github.com/thumbor/thumbor
[mit]: https://github.com/globocom/gothumbor/blob/master/LICENSE
[globocom]: https://github.com/globocom
[contributors]: https://github.com/globocom/gothumbor/graphs/contributors