crx

package module
v0.0.0-...-e9c7e07 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

README

crx

import "github.com/tmc/crx"

Overview

Package crx contains tools for producing Chrome crx files.

Index

func CRXFromPath

func CRXFromPath(path string, rsaKey io.Reader, walkable ziputil.Walkable) (io.Reader, error)

CRXFromPath returns a reader that contains a CRX file.

If walkable is nil it will fall back to the local filesystem.

func WriteCRXFromZip

func WriteCRXFromZip(w io.Writer, zipContents io.Reader, rsaKey io.Reader) error

WriteCRXFromZip writes to the given writer a crx file that is described by zipContents.

Documentation

Overview

Package crx contains tools for producing Chrome crx files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPath

func FromPath(path string, rsaKey io.Reader, walkable ziputil.Walkable) (io.Reader, error)

FromPath returns a reader that contains a CRX file.

If walkable is nil it will fall back to the local filesystem.

func FromZip

func FromZip(w io.Writer, zipContents io.Reader, rsaKey io.Reader) error

FromZip writes to the given writer a crx file that is described by zipContents.

Types

This section is empty.

Directories

Path Synopsis
cmd
mkcrx
Program mkcrx packages a directory as a Chrome crx extension.
Program mkcrx packages a directory as a Chrome crx extension.

Jump to

Keyboard shortcuts

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