api

package
v0.0.0-...-07af6e5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// APIConfigFormat is an internal variable
	APIConfigFormat string
	// APIConfigRecursively is an internal variable
	APIConfigRecursively bool
)
View Source
var CmdAPI = &base.Command{
	UsageLine: "{{.Exec}} api",
	Short:     "call V2Ray API",
	Long: `{{.Exec}} {{.LongName}} provides tools to manipulate V2Ray via its API.
`,
	Commands: []*base.Command{
		cmdLog,
		cmdStats,
		cmdBalancerInfo,
		cmdBalancerOverride,
	},
}

CmdAPI calls an API in an V2Ray process

Functions

func DialAPIServer

func DialAPIServer() (conn *grpc.ClientConn, ctx context.Context, close func())

SetSharedFlags is an internal API

func SetSharedConfigFlags

func SetSharedConfigFlags(cmd *base.Command)

SetSharedConfigFlags is an internal API

func SetSharedFlags

func SetSharedFlags(cmd *base.Command)

SetSharedFlags is an internal API

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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