Documentation
¶
Overview ¶
Package app 实现 hosts/exec/get/put 子命令业务(对齐 Spec §4)。
Index ¶
- func Doctor(c *Config, host string) response.Envelope
- func Exec(c *Config, host string, commandParts []string) response.Envelope
- func Get(c *Config, host, remotePath, localPath string) response.Envelope
- func Hosts(c *Config) response.Envelope
- func Put(c *Config, host, localPath, remotePath string) response.Envelope
- func ShowPolicy(c *Config) response.Envelope
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowPolicy ¶
ShowPolicy 返回当前生效策略快照(不回显密钥;denylist 为完整 pattern 列表)。
Types ¶
Click to show internal directories.
Click to hide internal directories.