cmd

package
v0.12.0-pre4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotCommand

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

func NewBotCommand

func NewBotCommand(version string) *BotCommand

func (*BotCommand) Execute

func (c *BotCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*BotCommand) Name

func (c *BotCommand) Name() string

func (*BotCommand) SetFlags

func (c *BotCommand) SetFlags(f *flag.FlagSet)

func (*BotCommand) Synopsis

func (c *BotCommand) Synopsis() string

func (*BotCommand) Usage

func (c *BotCommand) Usage() string

type WorkerCommand

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

func NewWorkerCommand

func NewWorkerCommand(version string, queue string) *WorkerCommand

func (*WorkerCommand) Execute

func (c *WorkerCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*WorkerCommand) Name

func (c *WorkerCommand) Name() string

func (*WorkerCommand) SetFlags

func (c *WorkerCommand) SetFlags(f *flag.FlagSet)

func (*WorkerCommand) Synopsis

func (c *WorkerCommand) Synopsis() string

func (*WorkerCommand) Usage

func (c *WorkerCommand) Usage() string

Jump to

Keyboard shortcuts

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