domainfs

package
v0.0.0-...-30ba9ae Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: BSD-2-Clause-Views Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domainfs

type Domainfs struct {
	*sync.RWMutex
	// contains filtered or unexported fields
}

func NewDomainfs

func NewDomainfs() *Domainfs

func (*Domainfs) Add

func (fs *Domainfs) Add(newfs ffs.Fs, names ...string)

func (*Domainfs) AddDNS

func (fs *Domainfs) AddDNS(newfs ffs.Fs, names ...string)

func (*Domainfs) AddSub

func (fs *Domainfs) AddSub(newfs ffs.Fs, names ...string)

func (*Domainfs) HTTPSServer

func (fs *Domainfs) HTTPSServer(httpsport, httpport string) (srv *http.Server)

func (*Domainfs) Open

func (fs *Domainfs) Open(path string, mode int) (ffs.File, error)

func (*Domainfs) ReadDir

func (fs *Domainfs) ReadDir(path string) (ffs.Dir, error)

func (*Domainfs) ServeHTTP

func (fs *Domainfs) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Domainfs) Stat

func (fs *Domainfs) Stat(path string) (os.FileInfo, error)

Jump to

Keyboard shortcuts

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