commondir

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonDirManager

type CommonDirManager interface {
	EnableCommonDir(serverName string) error
	DisableCommonDir(serverName string) error
	IsCommonDirEnabled(serverName string) bool
}

func GetCommonDirManager

func GetCommonDirManager(webServer webserver.WebServer, reverter *reverter.Reverter, logger logger.Logger) (CommonDirManager, error)

type NginxCommonDirManager

type NginxCommonDirManager struct {
	// contains filtered or unexported fields
}

func (*NginxCommonDirManager) DisableCommonDir

func (c *NginxCommonDirManager) DisableCommonDir(serverName string) error

func (*NginxCommonDirManager) EnableCommonDir

func (c *NginxCommonDirManager) EnableCommonDir(serverName string) error

func (*NginxCommonDirManager) IsCommonDirEnabled

func (c *NginxCommonDirManager) IsCommonDirEnabled(serverName string) bool

Jump to

Keyboard shortcuts

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