types

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAll added in v1.5.6

func CloseAll(pClosers []ICloser) error

returns last error from slice

func StopAll added in v1.5.6

func StopAll(pCommands []ICommand) error

returns last error from slice

Types

type ICloser

type ICloser interface {
	Close() error
}

type ICommand added in v1.5.6

type ICommand interface {
	Run() error
	Stop() error
}

type IConverter added in v1.5.6

type IConverter interface {
	ToString() string
	ToBytes() []byte
}

type IParameter added in v1.5.6

type IParameter interface {
	GetType() string
	GetSize() uint64
}

Jump to

Keyboard shortcuts

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