Documentation ¶
Index ¶
- Constants
- func WithLoader(fn LoadFunc) func(*thumber)
- func WithSizes(ss ...uint) func(*thumber)
- func WithWalker(fn WalkFunc) func(*thumber)
- func WithWaterOpacity(opacity uint8) func(*thumber)
- func WithWatermark(filename string) func(*thumber)
- type CodeError
- type File
- type Item
- type LoadFunc
- type Option
- type Thumber
- type WalkFunc
Constants ¶
View Source
const (
CatThumb = "thumb"
)
consts Cate of Key
Variables ¶
This section is empty.
Functions ¶
func WithLoader ¶
func WithLoader(fn LoadFunc) func(*thumber)
func WithWalker ¶
func WithWalker(fn WalkFunc) func(*thumber)
func WithWaterOpacity ¶
func WithWaterOpacity(opacity uint8) func(*thumber)
func WithWatermark ¶
func WithWatermark(filename string) func(*thumber)
Types ¶
type Item ¶ added in v1.5.5
type Item interface { GetID() string GetName() string GetRoof() string IsOrigin() bool GetOrigin() string }
Item item for load and read
Click to show internal directories.
Click to hide internal directories.