Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultHttpsServerName = "gopanel"
)
Variables ¶
This section is empty.
Functions ¶
func InitManager ¶
func InitManager(adminAddress config.NetAddress, panelPort string) (err error)
Types ¶
type Config ¶
type Config struct { Apps map[string]interface{} `json:"apps"` Logging caddy.Logging `json:"logging"` }
type Manager ¶
type Manager struct { HTTPSServerName string // contains filtered or unexported fields }
func GetManager ¶
func GetManager() *Manager
func (*Manager) AddOrUpdateApp ¶
func (*Manager) IsAppExist ¶
func (*Manager) NotifyCaddyConfigChange ¶
func (m *Manager) NotifyCaddyConfigChange()
func (*Manager) RegisterCaddyApp ¶
type SubrouteHandle ¶
type SubrouteHandle struct { Handler string `json:"handler"` Routes caddyhttp.RouteList `json:"routes"` }
func NewSubrouteHandle ¶
func NewSubrouteHandle(routes []caddyhttp.Route) *SubrouteHandle
Click to show internal directories.
Click to hide internal directories.