yuhaiin

package
v0.3.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 27 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

	UidDumper  listener.UidDumper
	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