cmd

package
v0.0.0-...-8222509 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(c string)

Execute 执行根命令

Types

type ConfigWatcher

type ConfigWatcher struct {
	// contains filtered or unexported fields
}

ConfigWatcher 配置文件监听器

func (*ConfigWatcher) Close

func (cw *ConfigWatcher) Close()

Close 关闭配置监听器

type FetchResult

type FetchResult struct {
	Name  string // 文件名称(node/template)
	Error error  // 获取过程中的错误
}

FetchResult 文件获取结果

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server 服务器主结构体

func NewServer

func NewServer(runEnv *runFlags) (*Server, error)

NewServer 创建并初始化服务器实例

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址