MCPcopy
hub / github.com/cortesi/devd / Server

Struct Server

livereload/livereload.go:41–48  ·  view source on GitHub ↗

Server implements a Livereload server

Source from the content-addressed store, hash-verified

39
40// Server implements a Livereload server
41type Server struct {
42 sync.Mutex
43 broadcast chan<- string
44
45 logger termlog.Logger
46 name string
47 connections map[*websocket.Conn]bool
48}
49
50// NewServer createss a Server instance
51func NewServer(name string, logger termlog.Logger) *Server {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected