cmd

package
v0.0.0-...-29d679f Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: EUPL-1.2 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reset

func Reset(address string, logger *slog.Logger) error

func Run

func Run() error

func SendOperation

func SendOperation(client *api.ClientWithResponses, logger *slog.Logger) error

Types

type Context

type Context struct {
	Logger slog.Logger
}

type OperationCmd

type OperationCmd struct {
	BackendAddress string `` /* 146-byte string literal not displayed */
}

func (*OperationCmd) Run

func (opt *OperationCmd) Run(appCtx *Context) error

type ResetCmd

type ResetCmd struct {
	BackendAddress string `` /* 146-byte string literal not displayed */
}

func (*ResetCmd) Run

func (opt *ResetCmd) Run(appCtx *Context) error

type SeedCmd

type SeedCmd struct {
	BackendAddress string `` /* 146-byte string literal not displayed */
	BulkClaimCount int    `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SeedCmd) Run

func (opt *SeedCmd) Run(appCtx *Context) error

Jump to

Keyboard shortcuts

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