live

package
Version: v0.0.0-...-0b8edd3 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

Package live implements a live implementation of go-resources http.FileSystem compatible FileSystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resources

type Resources interface {
	http.FileSystem
	String(string) (string, bool)
}

Resources describes an instance of the go-resources which is an extension of http.FileSystem

func Dir

func Dir(dir string) Resources

Dir returns an Resources implementation that servers the files from the provided dir location, it will expand the path relative to the caller.

Source Files

Jump to

Keyboard shortcuts

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