Documentation
¶
Overview ¶
Package pubsub demonstrates adding a custom extension command to tcli without vendoring or copying files into the tcli module itself. It imports tcli's public pkg/cmd package and self-registers via cmd.RegisterCommand. Consumers only need to blank-import this package (e.g. `import _ "example.com/myclient/pubsub"`) from their main so its init() runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnsCommand ¶
func (*SnsCommand) Init ¶
func (c *SnsCommand) Init(p *cmd.ParseResult) cmd.Command
type SqsCommand ¶
func (*SqsCommand) Init ¶
func (c *SqsCommand) Init(p *cmd.ParseResult) cmd.Command
Click to show internal directories.
Click to hide internal directories.