server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package server is the RPC transport over the unix socket

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(socket string) (net.Listener, error)

Types

type Server

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

func New

func New(logger *log.Logger, conn *connection.Service, subs *subscription.Service) *Server

func (*Server) AutoRefresh

func (s *Server) AutoRefresh(done <-chan struct{})

func (*Server) Restore

func (s *Server) Restore()

func (*Server) Serve

func (s *Server) Serve(ln net.Listener) error

func (*Server) Shutdown

func (s *Server) Shutdown()

Jump to

Keyboard shortcuts

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