commands

package
v0.0.0-...-3625f07 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchCmd

type FetchCmd struct {
	// contains filtered or unexported fields
}

FetchCmd is Subcommand for fetch Nvd information.

func (*FetchCmd) Execute

func (p *FetchCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*FetchCmd) Name

func (*FetchCmd) Name() string

Name return subcommand name

func (*FetchCmd) SetFlags

func (p *FetchCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*FetchCmd) Synopsis

func (*FetchCmd) Synopsis() string

Synopsis return synopsis

func (*FetchCmd) Usage

func (*FetchCmd) Usage() string

Usage return usage

type ServerCmd

type ServerCmd struct {
	// contains filtered or unexported fields
}

ServerCmd is Subcommand for CVE dictionary HTTP Server

func (*ServerCmd) Execute

func (p *ServerCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute execute

func (*ServerCmd) Name

func (*ServerCmd) Name() string

Name return subcommand name

func (*ServerCmd) SetFlags

func (p *ServerCmd) SetFlags(f *flag.FlagSet)

SetFlags set flag

func (*ServerCmd) Synopsis

func (*ServerCmd) Synopsis() string

Synopsis return synopsis

func (*ServerCmd) Usage

func (*ServerCmd) Usage() string

Usage return usage

Jump to

Keyboard shortcuts

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