usecases

package
v0.0.0-...-57a21a4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineInteractor

type EngineInteractor struct {
	FileWriter FileWriter
	// contains filtered or unexported fields
}

func NewEngineInteractor

func NewEngineInteractor(filesPath string, fileWriter FileWriter) (*EngineInteractor, error)

func (EngineInteractor) CreateConf

func (interactor EngineInteractor) CreateConf(server domain.Server, zipFile io.Writer)

type FileWriter

type FileWriter interface {
	WriteTemplate(conf interface{}, pack string) (string, error)
}

type Template

type Template struct {
	Name   string
	Config interface{}
	Path   string
}

Jump to

Keyboard shortcuts

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