controller

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 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
	ProxyUrl  *url.URL
	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