server

package
v0.0.0-...-4cbcc9d Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(server *Server, addr string) error

Types

type Server

type Server struct {
	ServerLog *log.Logger
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Clients

func (d *Server) Clients() connectedClients

func (*Server) Engine

func (d *Server) Engine() *errgoengine.ErrgoEngine

func (*Server) FS

func (d *Server) FS() *helpers.SharedFS

func (*Server) GetFileUseIdx

func (s *Server) GetFileUseIdx(file string, procId int) int

func (*Server) Handle

func (d *Server) Handle(ctx context.Context, c *jsonrpc2.Conn, r *jsonrpc2.Request)

func (*Server) SetLogger

func (d *Server) SetLogger(l *logger.Logger) error

func (*Server) Start

func (s *Server) Start(addr string) error

Jump to

Keyboard shortcuts

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