worker

package
v0.0.0-...-91ad366 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionStart = iota
	ActionStop
	ActionCreate
	ActionDrop
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int

type Client

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

func NewClient

func NewClient(in io.Reader, out io.Writer) *Client

func (*Client) Enqueue

func (w *Client) Enqueue(act Action, name, pass string) <-chan error

type Server

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

func NewServer

func NewServer(pass string) *Server

func (*Server) Run

func (srv *Server) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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