executil

package
v0.0.0-...-b0d1086 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecCmdService

type ExecCmdService interface {
	Command(name string, args []string) ([]byte, error)
}

func NewExecCmdServiceImp

func NewExecCmdServiceImp() ExecCmdService

type ExecCmdServiceImp

type ExecCmdServiceImp struct{}

func (*ExecCmdServiceImp) Command

func (s *ExecCmdServiceImp) Command(name string, args []string) ([]byte, error)

type ExecCmdServiceMock

type ExecCmdServiceMock struct {
	CommandFunc func(name string, args []string) ([]byte, error)
}

func (*ExecCmdServiceMock) Command

func (s *ExecCmdServiceMock) Command(name string, args []string) ([]byte, error)

Jump to

Keyboard shortcuts

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