server

package
v0.0.0-...-a85820a Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 12 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 {
	Config *config.Config
	Logger zerolog.Logger
	RPC    *rpc.RPC
	// contains filtered or unexported fields
}

func NewServer

func NewServer(cfg *config.Config) (*Server, error)

func (*Server) End

func (s *Server) End()

func (*Server) Fatal

func (s *Server) Fatal(format string, v ...interface{})

func (*Server) IsRunning

func (s *Server) IsRunning() bool

func (*Server) IsStopping

func (s *Server) IsStopping() bool

func (*Server) Run

func (s *Server) Run() error

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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