cmd

package
v0.0.0-...-47becbb Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortHello

type AbortHello struct {
}

func (*AbortHello) FetchResult

func (command *AbortHello) FetchResult(ctx context.Context) (*task.Result, error)

type CommandFactory

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

func NewCommandFactory

func NewCommandFactory(httpClient *http.HttpClient, releaseClient *openapi.APIClient) *CommandFactory

func (*CommandFactory) InitCommand

func (factory *CommandFactory) InitCommand(commandType command.CommandType) (command.CommandExecutor, error)

type Hello

type Hello struct {
	YourName string `json:"yourName"`
}

func (*Hello) FetchResult

func (command *Hello) FetchResult(ctx context.Context) (*task.Result, error)

type HelloWithLookup

type HelloWithLookup struct {
	YourName string `json:"yourName"`
}

func (*HelloWithLookup) FetchResult

func (command *HelloWithLookup) FetchResult(ctx context.Context) (*task.Result, error)

type LookupNames

type LookupNames struct {
}

func (*LookupNames) FetchResult

func (command *LookupNames) FetchResult(ctx context.Context) (*task.Result, error)

type ServerQuery

type ServerQuery struct {
	ProductId string `json:"productId"`
	// contains filtered or unexported fields
}

func (*ServerQuery) FetchResult

func (command *ServerQuery) FetchResult(ctx context.Context) (*task.Result, error)

type SetSystemMessage

type SetSystemMessage struct {
	Message string `json:"message"`
	// contains filtered or unexported fields
}

func (*SetSystemMessage) FetchResult

func (command *SetSystemMessage) FetchResult(ctx context.Context) (*task.Result, error)

type TestConnectionCommand

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

func (*TestConnectionCommand) FetchResult

func (command *TestConnectionCommand) FetchResult(ctx context.Context) (*task.Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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