Documentation
¶
Index ¶
- Constants
- func AssetToBase64(path string) string
- func GetMimeType(path string) string
- type HTML2Image
- func (h *HTML2Image) GenerateImage() error
- func (h *HTML2Image) GetDestination() string
- func (h *HTML2Image) SetDestination(destinationFile string)
- func (h *HTML2Image) SetImageDirectory(imageDirectory string)
- func (h *HTML2Image) SetScreenWidth(screenWidth uint64)
- func (i *HTML2Image) SetUseExec(useExec bool)
Constants ¶
View Source
const ( NO_IMAGE_SOURCE = "sem imagem de origem" NO_IMAGE_DESTINATION = "sem imagem de destino" )
Variables ¶
This section is empty.
Functions ¶
func AssetToBase64 ¶
func GetMimeType ¶
Types ¶
type HTML2Image ¶
func NewHTML2Imge ¶ added in v0.1.0
func NewHTML2Imge() *HTML2Image
func (*HTML2Image) GenerateImage ¶
func (h *HTML2Image) GenerateImage() error
func (*HTML2Image) GetDestination ¶
func (h *HTML2Image) GetDestination() string
func (*HTML2Image) SetDestination ¶
func (h *HTML2Image) SetDestination(destinationFile string)
func (*HTML2Image) SetImageDirectory ¶ added in v0.0.4
func (h *HTML2Image) SetImageDirectory(imageDirectory string)
func (*HTML2Image) SetScreenWidth ¶
func (h *HTML2Image) SetScreenWidth(screenWidth uint64)
func (*HTML2Image) SetUseExec ¶
func (i *HTML2Image) SetUseExec(useExec bool)
Click to show internal directories.
Click to hide internal directories.