()
| 1798 | } |
| 1799 | |
| 1800 | func (s *Server) generateAPIPipePath() string { |
| 1801 | // Generate a high-entropy path using time and random source |
| 1802 | now := time.Now().UnixNano() |
| 1803 | rnd := rand.Uint64() |
| 1804 | return api.GeneratePipePath(fmt.Sprintf("tsgo-api-%x-%x", now, rnd)) |
| 1805 | } |
| 1806 | |
| 1807 | func (s *Server) removeAPISession(id string) { |
| 1808 | s.apiSessionsMu.Lock() |
no test coverage detected