generator

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Filepath  string
	Filename  string
	UpdatedAt time.Time
	Raw       []byte
	Encoded   []byte
}

type Generator

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

func New

func New() *Generator

func (*Generator) DeregisterSub

func (gen *Generator) DeregisterSub(id int)

func (*Generator) GetFiles

func (gen *Generator) GetFiles() []File

func (*Generator) PutFile

func (gen *Generator) PutFile(path string, rawContent []byte) error

func (*Generator) RegisterSub

func (gen *Generator) RegisterSub() (int, chan File)

Jump to

Keyboard shortcuts

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