Documentation
¶
Overview ¶
Package proxy provides types and handlers for managing reverse proxy applications. It defines the core interfaces and configuration for reverse proxying, with concrete runtime integration (currently using Caddy, see https://github.com/caddyserver/caddy) implemented in the internal/proxy package.
Index ¶
- func LoadState() map[string]proxy.App
- type AppTemplateData
- type CaddyHandler
- func (c *CaddyHandler) Add(apps map[string]proxy.App) error
- func (c *CaddyHandler) Remove(domains []string) error
- func (c *CaddyHandler) Restart() error
- func (c *CaddyHandler) Setup(apps map[string]proxy.App) error
- func (c *CaddyHandler) Status() proxy.ProxyStatusResponse
- func (c *CaddyHandler) Stop() error
- type TemplateData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppTemplateData ¶
type CaddyHandler ¶
func (*CaddyHandler) Remove ¶
func (c *CaddyHandler) Remove(domains []string) error
func (*CaddyHandler) Restart ¶
func (c *CaddyHandler) Restart() error
func (*CaddyHandler) Status ¶
func (c *CaddyHandler) Status() proxy.ProxyStatusResponse
func (*CaddyHandler) Stop ¶
func (c *CaddyHandler) Stop() error
Click to show internal directories.
Click to hide internal directories.