cmd

package
v1.1.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

Default returns the default cmd name from config.

func Run

func Run(options fx.Option, c ...CmdFunc) error

Run executes commands with injected fx modules.

Types

type CmdFunc

type CmdFunc func(fx.Option) *co.Command

CmdFunc defines a function that return a command.

func NewAzure

func NewAzure() CmdFunc

NewAzure returns CmdFunc for azure functions command.

func NewCloudEvents

func NewCloudEvents() CmdFunc

NewCloudEvents returns CmdFunc for cloudevents command.

func NewKafka

func NewKafka() CmdFunc

NewKafka returns CmdFunc for kafka command.

func NewLambda

func NewLambda() CmdFunc

NewLambda returns CmdFunc for lambda command.

func NewNats

func NewNats() CmdFunc

NewNats returns CmdFunc for nats command.

func NewPubSub

func NewPubSub() CmdFunc

NewPubSub returns CmdFunc for pubsub command.

Jump to

Keyboard shortcuts

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