Documentation ¶ Index ¶ func NewDirectoryLayer(directory, filesExtension string) (onion.Layer, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDirectoryLayer ¶ func NewDirectoryLayer(directory, filesExtension string) (onion.Layer, error) NewDirectoryLayer return a new directory layer. This layer search in a directory for all files with filesExtension extension and will use each of them as a file layer Types ¶ This section is empty. Source Files ¶ View all Source files directory_layer.go Click to show internal directories. Click to hide internal directories.