users

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCmd

type AddCmd struct {
	UserName string        `arg:"" help:"Name of user to add"`
	Interval time.Duration `short:"i" default:"10s" help:"Interval for user creation"`
}

func (AddCmd) Run

func (c AddCmd) Run(ctx *app.Context) error

type Cmd

type Cmd struct {
	List   ListCmd   `cmd:"" help:"List users"`
	Delete DeleteCmd `cmd:"" help:"Delete user"`
	Add    AddCmd    `cmd:"" help:"Add user"`
}

type DeleteCmd

type DeleteCmd struct {
	UserName string `arg:"" help:"Name of user to delete"`
}

func (DeleteCmd) Run

func (c DeleteCmd) Run(ctx *app.Context) error

type ListCmd

type ListCmd struct{}

func (ListCmd) Run

func (c ListCmd) Run(ctx *app.Context) error

Jump to

Keyboard shortcuts

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