genincl

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

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(filename string) (io.ReadCloser, error)

func ReadFile

func ReadFile(filename string) ([]byte, error)

func Register

func Register(files map[string]File)

func Stat

func Stat(filename string) (os.FileInfo, error)

Types

type File

type File struct {
	Data    []byte
	Modsec  int64
	Modnano int64
	Length  int64
	Format  string
}

type Reader

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

func (*Reader) Close

func (r *Reader) Close() error

func (*Reader) Read

func (r *Reader) Read(buf []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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