All Projects → globocom → gothumbor

globocom / gothumbor

Licence: MIT license
Golang client for Thumbor Image Service

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

gothumbor

GoDoc Build Status Coverage Status

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].