describe

package
v4.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook = hook.Hook

Hook represents the hook type

type JSONUsecase

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

JSONUsecase represents the use case for showing hooks in JSON format

func NewJSONUsecase

func NewJSONUsecase(writer io.Writer) *JSONUsecase

NewJSONUsecase creates a new use case for showing hooks in JSON format

func (*JSONUsecase) Execute

func (uc *JSONUsecase) Execute(ctx context.Context, s Hook) error

Execute executes the use case to show a hook in JSON format

type OnelineUsecase

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

OnelineUsecase represents the use case for showing hooks in a single line format

func NewOnelineUsecase

func NewOnelineUsecase(writer io.Writer) *OnelineUsecase

NewOnelineUsecase creates a new use case for showing overlays in text format

func (*OnelineUsecase) Execute

func (uc *OnelineUsecase) Execute(ctx context.Context, s hook.Hook) error

Execute executes the use case to show a hook in a single line format

Jump to

Keyboard shortcuts

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