Documentation ¶ Index ¶ type Server func NewServer(cfg *config.Config) (*Server, error) func (s *Server) End() func (s *Server) Fatal(format string, v ...interface{}) func (s *Server) IsRunning() bool func (s *Server) IsStopping() bool func (s *Server) Run() error func (s *Server) Stop() 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() Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.