ServerAPI defines the interface for QUIC server operations
| 14 | |
| 15 | // ServerAPI defines the interface for QUIC server operations |
| 16 | type ServerAPI interface { |
| 17 | StartAndAccept(ctx context.Context, udpConn *net.UDPConn, cfg *config.Config) (quic.Connection, error) |
| 18 | } |
| 19 | |
| 20 | // Server manages QUIC server functionality |
| 21 | type Server struct{} |