fs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fs contains an HTTP file system that works with zip contents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (http.FileSystem, error)

New creates a new file system with the registered zip contents data. It unzips all files and stores them in an in-memory map.

func Register

func Register(data string)

Register registers zip contents data, later used to initialize the statik file system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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