services

package
v0.0.0-...-841437a Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FileCollectorKey = "FileCollector"
View Source
const FileFilterKey = "FileFilter"
View Source
const FileServiceKey = "FileService"
View Source
const FilerKey = "Filer"
View Source
const JsonMergerKey = "JsonMerger"

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCollector

type FileCollector interface {
	Collect(path string) []string
}

type FileFilter

type FileFilter interface {
	Filter(fp string) bool
}

type FileService

type FileService interface {
	ToFile(directory, fileExt string, config *domain.CompiledSchema) error

	// Removes the root path from the filepath (fp) if it's present. If the root path cannot be found in the fp, the fp
	// is returned.
	SubtractPath(root, fp string) string

	// Same as SubtractPath but for a slice of filepaths (fps).
	SubtractPaths(root string, fps []string) []string
}

type Package

type Package struct {
}

func (*Package) Bindings

func (*Package) Bindings() []axon.Binding

Jump to

Keyboard shortcuts

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