domain

package
v0.0.0-...-3bebe31 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNil                      error = nil
	ErrInvalidInput             error = errors.New("invalid input")
	ErrCommandIsNotShellCommand error = errors.New("command is not shell command")
	ErrPipeIsNotSupported       error = errors.New("pipe is not supported")
)

Functions

This section is empty.

Types

type Converter

type Converter struct {
	Item string `json:"item"`
}

func NewConverter

func NewConverter(item string) Converter

func (Converter) FromJson

func (a Converter) FromJson(i string) Converter

func (Converter) IsEmpty

func (o Converter) IsEmpty() bool

func (Converter) IsEqual

func (o Converter) IsEqual(i Converter) bool

func (Converter) IsNotEmpty

func (o Converter) IsNotEmpty() bool

func (Converter) IsValid

func (o Converter) IsValid() error

func (Converter) ToJson

func (o Converter) ToJson() string

type Response

type Response struct {
	Files [][]byte `json:"files"`
}

func NewResponse

func NewResponse(files [][]byte) Response

func (Response) FromJson

func (a Response) FromJson(i string) Response

func (Response) IsEmpty

func (o Response) IsEmpty() bool

func (Response) IsEqual

func (o Response) IsEqual(i Response) bool

func (Response) IsNotEmpty

func (o Response) IsNotEmpty() bool

func (Response) IsValid

func (o Response) IsValid() error

func (Response) ToJson

func (o Response) ToJson() string

Jump to

Keyboard shortcuts

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