import "v2ray.com/core/infra/control"
api.go cert.go command.go config.go control.go errors.generated.go fetch.go love.go tlsping.go uuid.go verify.go
FetchHTTPContent dials https for remote content
func PrintUsage()
type ApiCommand struct{}
func (c *ApiCommand) Description() Description
func (c *ApiCommand) Execute(args []string) error
func (c *ApiCommand) Name() string
type CertificateCommand struct { }
func (c *CertificateCommand) Description() Description
func (c *CertificateCommand) Execute(args []string) error
func (c *CertificateCommand) Name() string
type Command interface { Name() string Description() Description Execute(args []string) error }
type ConfigCommand struct{}
ConfigCommand is the json to pb convert struct
func (c *ConfigCommand) Description() Description
Description for help usage
func (c *ConfigCommand) Execute(args []string) error
Execute real work here.
LoadArg loads one arg, maybe an remote url, or local file path
func (c *ConfigCommand) Name() string
Name for cmd usage
type FetchCommand struct{}
func (c *FetchCommand) Description() Description
func (c *FetchCommand) Execute(args []string) error
func (c *FetchCommand) Name() string
type LoveCommand struct{}
func (c *LoveCommand) Description() Description
func (*LoveCommand) Execute([]string) error
func (*LoveCommand) Hidden() bool
func (*LoveCommand) Name() string
type TlsPingCommand struct{}
func (c *TlsPingCommand) Description() Description
func (c *TlsPingCommand) Execute(args []string) error
func (c *TlsPingCommand) Name() string
type UUIDCommand struct{}
func (c *UUIDCommand) Description() Description
func (c *UUIDCommand) Execute([]string) error
func (c *UUIDCommand) Name() string
type VerifyCommand struct{}
func (c *VerifyCommand) Description() Description
func (c *VerifyCommand) Execute(args []string) error
func (c *VerifyCommand) Name() string
Path | Synopsis |
---|---|
main |
Package control imports 34 packages (graph) and is imported by 6 packages. Updated 2020-10-15. Refresh now. Tools for package owners.