mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-20 08:16:55 -05:00
a17fc40651
* api commands * do not build all commands texts * apply lint style * configurable api timeout * api cmds accepts file, url, stdin. optimze output * extract to dialAPIServer()
27 lines
403 B
Go
27 lines
403 B
Go
package all
|
|
|
|
import (
|
|
"v2ray.com/core/commands/all/api"
|
|
"v2ray.com/core/commands/all/tls"
|
|
"v2ray.com/core/commands/base"
|
|
)
|
|
|
|
// go:generate go run v2ray.com/core/common/errors/errorgen
|
|
|
|
func init() {
|
|
base.RootCommand.Commands = append(
|
|
base.RootCommand.Commands,
|
|
api.CmdAPI,
|
|
cmdConvert,
|
|
cmdLove,
|
|
tls.CmdTLS,
|
|
cmdUUID,
|
|
cmdVerify,
|
|
cmdMerge,
|
|
|
|
// documents
|
|
docFormat,
|
|
docMerge,
|
|
)
|
|
}
|