Skip to content

Golang client for Thumbor Image Service

License

Notifications You must be signed in to change notification settings

ceelsoin/gothumbor

 
 

Repository files navigation

gothumbor

GoDoc Go Report Card Tests Coverage

gothumbor allows easy usage of Thumbor in Go.

Using it

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

License

MIT © Globo.com

Contributors

Click here to see the list of contributors.

About

Golang client for Thumbor Image Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.3%
  • Shell 1.6%
  • Makefile 0.1%