yuhaiin

package
v0.3.1-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathConfig

func PathConfig(configPath string) struct{ Dir, Lockfile, Node, Config, Logfile string }

Types

type StartOpt

type StartOpt struct {
	PathConfig struct{ Dir, Lockfile, Node, Config, Logfile string }
	Host       string
	Setting    config.Setting

	ProcessDumper listener.ProcessDumper
	GRPCServer    *grpc.Server
}

type StartResponse

type StartResponse struct {
	HttpListener net.Listener

	Mux *http.ServeMux

	Node *node.Nodes
	// contains filtered or unexported fields
}

func Start

func Start(opt StartOpt) (StartResponse, error)

func (*StartResponse) Close

func (s *StartResponse) Close() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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