service

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProcessNotFound = errors.New("process not found")
)

Functions

This section is empty.

Types

type GenerateFTP added in v1.10.2

func NewSFtpService added in v1.10.2

func NewSFtpService(ctx context.Context, server vserver.Server) (GenerateFTP, error)

type IOReader added in v1.4.1

type IOReader interface {
	Recv() (interface{}, error)
	Close() error
}

type IOStream added in v1.4.1

type IOStream interface {
	Recv() (interface{}, error)
	Send(msg interface{}) error
	Close() error
}

type IOWriter added in v1.4.1

type IOWriter interface {
	Send(interface{}) error
	Close() error
}

type Process

type Process struct {
	*gpmv1.Service
	// contains filtered or unexported fields
}

func NewProcess

func NewProcess(in *gpmv1.Service, db *store.DB) *Process

func (*Process) Kill

func (p *Process) Kill() error

func (*Process) Start

func (p *Process) Start() (int32, error)

func (*Process) Stop

func (p *Process) Stop() error

Jump to

Keyboard shortcuts

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