minifier

package
v0.0.0-...-42d6f5d Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for minification of Resource objects. Supported minifiers are: css, html, js, json, svg and xml.

func New

func New(rs *resources.Spec) (*Client, error)

New creates a new Client given a specification. Note that it is the media types configured for the site that is used to match files to the correct minifier.

func (*Client) Minify

Jump to

Keyboard shortcuts

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