Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrScriptFileNotFound = errors.New("script file not found")
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(options ...HandlerOption) *Handler
type HandlerOption ¶
type HandlerOption = func(*Handler)
func WithFileSystem ¶
func WithFileSystem(fs afero.Fs) HandlerOption
func WithLogger ¶
func WithLogger(logger contracts.Logger) HandlerOption
func WithScript ¶
func WithScript(script config.Script) HandlerOption
Click to show internal directories.
Click to hide internal directories.