nodes

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: BSD-3-Clause Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APINodeServicesRegister

func APINodeServicesRegister(node *APINode, server *grpc.Server)

Types

type APINode

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

func NewAPINode

func NewAPINode() *APINode

func (*APINode) Daemon

func (this *APINode) Daemon()

Daemon 实现守护进程

func (*APINode) InstallSystemService

func (this *APINode) InstallSystemService() error

InstallSystemService 安装系统服务

func (*APINode) Start

func (this *APINode) Start()

type NodeStatusExecutor

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

func NewNodeStatusExecutor

func NewNodeStatusExecutor() *NodeStatusExecutor

func (*NodeStatusExecutor) Listen

func (this *NodeStatusExecutor) Listen()

type RestServer

type RestServer struct{}

func (*RestServer) Listen

func (this *RestServer) Listen(listener net.Listener) error

func (*RestServer) ListenHTTPS

func (this *RestServer) ListenHTTPS(listener net.Listener, tlsConfig *tls.Config) error

type StartIssue

type StartIssue struct {
	Code       string `json:"code"`
	Message    string `json:"message"`
	Suggestion string `json:"suggestion"`
}

func NewStartIssue

func NewStartIssue(code string, message string, suggestion string) *StartIssue

Jump to

Keyboard shortcuts

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