Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port string `yaml:"port" json:"port"`
Interface string `yaml:"interface" json:"interface"` // WiFi interface to manage
SSID string `yaml:"ssid" json:"ssid"` // SSID of the AP hosting this portal
Gateway string `yaml:"gateway" json:"gateway"` // Gateway IP of the AP
RedirectURL string `yaml:"redirect_url" json:"redirect_url"` // Optional redirect after setup
}
Config represents the configuration for the WiFi setup portal server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the WiFi setup portal HTTP server
Click to show internal directories.
Click to hide internal directories.