Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleRegistration ¶
type ModuleRegistration caddy.ModuleInfo
func (ModuleRegistration) CaddyModule ¶
func (m ModuleRegistration) CaddyModule() caddy.ModuleInfo
CaddyModule implements the caddy.Module interface
type OutlineApp ¶
type OutlineApp struct { ShadowsocksConfig *ShadowsocksConfig `json:"shadowsocks,omitempty"` ReplayCache outline.ReplayCache Metrics outline.ServiceMetrics // contains filtered or unexported fields }
func (OutlineApp) CaddyModule ¶
func (OutlineApp) CaddyModule() caddy.ModuleInfo
func (*OutlineApp) Provision ¶
func (app *OutlineApp) Provision(ctx caddy.Context) error
Provision sets up Outline.
type ShadowsocksConfig ¶
type ShadowsocksConfig struct {
ReplayHistory int `json:"replay_history,omitempty"`
}
type ShadowsocksHandler ¶
type ShadowsocksHandler struct { Keys []KeyConfig `json:"keys,omitempty"` // contains filtered or unexported fields }
func (*ShadowsocksHandler) CaddyModule ¶
func (*ShadowsocksHandler) CaddyModule() caddy.ModuleInfo
func (*ShadowsocksHandler) Handle ¶
func (h *ShadowsocksHandler) Handle(cx *layer4.Connection, _ layer4.Handler) error
Handle implements layer4.NextHandler.
func (*ShadowsocksHandler) Provision ¶
func (h *ShadowsocksHandler) Provision(ctx caddy.Context) error
Provision implements caddy.Provisioner.
Click to show internal directories.
Click to hide internal directories.