Documentation
¶
Index ¶
- func CreateImageFile(path string, image image.Image)
- func Criticalf(format string, a ...any)
- func Debugf(isDebug bool, format string, a ...any)
- func Domain2Url(domain string, isReverseProxyed bool, isHttps bool, port string) string
- func Error(err error)
- func ErrorExit(err error)
- func ImageCreate(text string, isDebug bool, options *ImageCreateOptions) (image.Image, error)
- func ImageSynthetic(charImage image.Image) image.Image
- func Infof(format string, a ...any)
- func Intialize()
- func RandomString(num int) string
- func RemoveFiles(dir string) error
- func SplitCharText(text string, char string) ([]string, int)
- func SplitText(text string, splitlen int) ([]string, int)
- func Version() string
- func Warnf(format string, a ...any)
- type ImageCreateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImageFile ¶
func Domain2Url ¶
func ImageCreate ¶
func RandomString ¶
func RemoveFiles ¶
func SplitCharText ¶
Turn array and index
Types ¶
type ImageCreateOptions ¶
type ImageCreateOptions struct {
Font *string
}
Click to show internal directories.
Click to hide internal directories.