Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SystemPrompt string `yaml:"system_prompt"` UserPrompt string `yaml:"user_prompt"` Ports []PortConfig `yaml:"ports"` Profiles map[string]TLSConfig `yaml:"profiles"` }
Config holds the configuration file settings for the application.
func LoadConfig ¶
LoadConfig reads and parses the configuration file.
type PortConfig ¶
type PortConfig struct { Port uint16 `yaml:"port"` Protocol string `yaml:"protocol"` TLSProfile string `yaml:"tls_profile,omitempty"` }
PortConfig specifies honeypot port settings.
Click to show internal directories.
Click to hide internal directories.