service

package
v0.0.0-...-fdb4ac5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetOptimizer

type AssetOptimizer interface {
	Optimize(path string) (uint, error)
}

type AssetsOptimizer

type AssetsOptimizer struct {
	// contains filtered or unexported fields
}

func NewAssetsOptimizer

func NewAssetsOptimizer(root string) (_ *AssetsOptimizer, err error)

func (*AssetsOptimizer) PrintStat

func (ao *AssetsOptimizer) PrintStat()

func (*AssetsOptimizer) Run

func (ao *AssetsOptimizer) Run() (err error)

type PNGOptimizer

type PNGOptimizer struct {
	// contains filtered or unexported fields
}

func (*PNGOptimizer) Optimize

func (o *PNGOptimizer) Optimize(path string) (_ uint, err error)

TODO отчет о количестве сэкономленных байт

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL