Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultGenerator interface { GenerateImageUrl(url string, height, width int) string } = NewImgGenerator()
Functions ¶
This section is empty.
Types ¶
type PreviewGenerator ¶
type PreviewGenerator struct{}
func NewImgGenerator ¶
func NewImgGenerator() *PreviewGenerator
func (*PreviewGenerator) GenerateImageUrl ¶
func (g *PreviewGenerator) GenerateImageUrl(url string, height, width int) string
Click to show internal directories.
Click to hide internal directories.