Files
v2fly/main/commands/all/api/api.go
T

20 lines
389 B
Go
Raw Normal View History

2020-11-30 20:08:08 +08:00
package api
import (
2022-01-02 15:16:23 +00:00
"github.com/v2fly/v2ray-core/v5/main/commands/base"
2020-11-30 20:08:08 +08:00
)
// CmdAPI calls an API in an V2Ray process
var CmdAPI = &base.Command{
UsageLine: "{{.Exec}} api",
2021-02-21 23:02:42 +08:00
Short: "call V2Ray API",
2020-11-30 20:08:08 +08:00
Long: `{{.Exec}} {{.LongName}} provides tools to manipulate V2Ray via its API.
`,
Commands: []*base.Command{
2021-02-21 23:02:42 +08:00
cmdLog,
cmdStats,
cmdBalancerInfo,
cmdBalancerOverride,
2020-11-30 20:08:08 +08:00
},
}