controller

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	GetConfig func(v any) (bool, error)
	FileController
}

func NewController

func NewController() *Controller

type DefaultFileController

type DefaultFileController struct {
}

func (*DefaultFileController) Touch

func (c *DefaultFileController) Touch(name string, size int64) (file *os.File, err error)

type FileController

type FileController interface {
	Touch(name string, size int64) (file *os.File, err error)
}

Jump to

Keyboard shortcuts

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