Documentation ¶
Index ¶
- func FetchHTTPContent(target string) ([]byte, error)
- func PrintUsage()
- func RegisterCommand(cmd Command) error
- type APICommand
- type CertificateChainHashCommand
- type CertificateCommand
- type Command
- type ConfigCommand
- type Description
- type FetchCommand
- type LoveCommand
- type TLSPingCommand
- type UUIDCommand
- type VerifyCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchHTTPContent ¶
FetchHTTPContent dials https for remote content
func PrintUsage ¶
func PrintUsage()
func RegisterCommand ¶
Types ¶
type APICommand ¶
type APICommand struct{}
func (*APICommand) Description ¶
func (c *APICommand) Description() Description
func (*APICommand) Execute ¶
func (c *APICommand) Execute(args []string) error
func (*APICommand) Name ¶
func (c *APICommand) Name() string
type CertificateChainHashCommand ¶ added in v4.38.0
type CertificateChainHashCommand struct { }
func (CertificateChainHashCommand) Description ¶ added in v4.38.0
func (c CertificateChainHashCommand) Description() Description
func (CertificateChainHashCommand) Execute ¶ added in v4.38.0
func (c CertificateChainHashCommand) Execute(args []string) error
func (CertificateChainHashCommand) Name ¶ added in v4.38.0
func (c CertificateChainHashCommand) Name() string
type CertificateCommand ¶
type CertificateCommand struct { }
func (*CertificateCommand) Description ¶
func (c *CertificateCommand) Description() Description
func (*CertificateCommand) Execute ¶
func (c *CertificateCommand) Execute(args []string) error
func (*CertificateCommand) Name ¶
func (c *CertificateCommand) Name() string
type Command ¶
type Command interface { Name() string Description() Description Execute(args []string) error }
func GetCommand ¶
type ConfigCommand ¶
type ConfigCommand struct{}
ConfigCommand is the json to pb convert struct
func (*ConfigCommand) Description ¶
func (c *ConfigCommand) Description() Description
Description for help usage
func (*ConfigCommand) Execute ¶
func (c *ConfigCommand) Execute(args []string) error
Execute real work here.
type Description ¶
type FetchCommand ¶
type FetchCommand struct{}
func (*FetchCommand) Description ¶
func (c *FetchCommand) Description() Description
func (*FetchCommand) Execute ¶
func (c *FetchCommand) Execute(args []string) error
func (*FetchCommand) Name ¶
func (c *FetchCommand) Name() string
type LoveCommand ¶
type LoveCommand struct{}
func (*LoveCommand) Description ¶
func (c *LoveCommand) Description() Description
func (*LoveCommand) Execute ¶
func (*LoveCommand) Execute([]string) error
func (*LoveCommand) Hidden ¶
func (*LoveCommand) Hidden() bool
func (*LoveCommand) Name ¶
func (*LoveCommand) Name() string
type TLSPingCommand ¶
type TLSPingCommand struct{}
func (*TLSPingCommand) Description ¶
func (c *TLSPingCommand) Description() Description
func (*TLSPingCommand) Execute ¶
func (c *TLSPingCommand) Execute(args []string) error
func (*TLSPingCommand) Name ¶
func (c *TLSPingCommand) Name() string
type UUIDCommand ¶
type UUIDCommand struct{}
func (*UUIDCommand) Description ¶
func (c *UUIDCommand) Description() Description
func (*UUIDCommand) Execute ¶
func (c *UUIDCommand) Execute([]string) error
func (*UUIDCommand) Name ¶
func (c *UUIDCommand) Name() string
type VerifyCommand ¶
type VerifyCommand struct{}
func (*VerifyCommand) Description ¶
func (c *VerifyCommand) Description() Description
func (*VerifyCommand) Execute ¶
func (c *VerifyCommand) Execute(args []string) error
func (*VerifyCommand) Name ¶
func (c *VerifyCommand) Name() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.