Discover Packages
github.com/pubgo/lava/v2
cmds
devproxycmd
package
Version:
v2.0.0-beta.17
Opens a new window with list of versions in this module.
Published: Apr 16, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func InstallSystemIntegration() error
InstallSystemIntegration 安装系统集成
func UninstallSystemIntegration() error
UninstallSystemIntegration 卸载系统集成
type Config struct {
DNS struct {
Port int `json:"port" yaml:"port"`
} `json:"dns" yaml:"dns"`
HTTP struct {
Port int `json:"port" yaml:"port"`
} `json:"http" yaml:"http"`
Routes []Route `json:"routes" yaml:"routes"`
}
Config 配置结构
type Route struct {
Pattern string `json:"pattern" yaml:"pattern"`
Target string `json:"target" yaml:"target"`
Path string `json:"path" yaml:"path"`
}
Route 路由配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.