daemon

package
v0.0.0-...-bf94cda Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type ListUnitReq

type ListUnitReq struct{}

type ListUnitResp

type ListUnitResp struct {
	UnitInfo map[string]unit.UnitInfo
}

type RPC

type RPC struct{}

func (*RPC) ListUnit

func (rpc *RPC) ListUnit(req *ListUnitReq, resp *ListUnitResp) error

func (*RPC) StartUnit

func (rpc *RPC) StartUnit(req *StartUnitReq, resp *StartUnitResp) error

func (*RPC) StopUnit

func (rpc *RPC) StopUnit(req *StopUnitReq, resp *StopUnitResp) error

type StartUnitReq

type StartUnitReq struct {
	Name string
}

type StartUnitResp

type StartUnitResp struct {
}

type StopUnitReq

type StopUnitReq struct {
	Name string
}

type StopUnitResp

type StopUnitResp struct {
}

Jump to

Keyboard shortcuts

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