server

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

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

Types

type Server

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

func New

func New(ctx context.Context, logger *log.Logger, app *core.Core) *Server

func (*Server) AutoRefresh

func (s *Server) AutoRefresh()

func (*Server) Serve

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

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) ShutdownRequested added in v1.1.3

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

Jump to

Keyboard shortcuts

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