github.com/imannamdari/v2ray-core/v5@v5.0.5/main/commands/all/api/api.go (about)

     1  package api
     2  
     3  import (
     4  	"github.com/imannamdari/v2ray-core/v5/main/commands/base"
     5  )
     6  
     7  // CmdAPI calls an API in an V2Ray process
     8  var CmdAPI = &base.Command{
     9  	UsageLine: "{{.Exec}} api",
    10  	Short:     "call V2Ray API",
    11  	Long: `{{.Exec}} {{.LongName}} provides tools to manipulate V2Ray via its API.
    12  `,
    13  	Commands: []*base.Command{
    14  		cmdLog,
    15  		cmdStats,
    16  		cmdBalancerInfo,
    17  		cmdBalancerOverride,
    18  	},
    19  }