boxd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the boxd server instance, which contains all services, including grpc, p2p, database...

func NewServer

func NewServer(cfg *config.Config) *Server

NewServer new a boxd server

func (*Server) Prepare

func (server *Server) Prepare()

Prepare to run the boxd server

func (*Server) Proc

func (server *Server) Proc() goprocess.Process

Proc returns the goprocess to run the server

func (*Server) Run

func (server *Server) Run() error

Run to start node server.

func (*Server) StartPprof added in v0.3.0

func (server *Server) StartPprof(addrs string) error

StartPprof start pprof service

func (*Server) Stop

func (server *Server) Stop()

Stop the server

Directories

Path Synopsis
Package eventbus provides two message models: pub/sub and send/reply.
Package eventbus provides two message models: pub/sub and send/reply.

Jump to

Keyboard shortcuts

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