| File: GoDelveServerAnnotation.cs | Web Access |
| Project: src\src\Aspire.Hosting.Go\Aspire.Hosting.Go.csproj (Aspire.Hosting.Go) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Aspire.Hosting.ApplicationModel; namespace Aspire.Hosting.Go; /// <summary> /// Annotation that configures the Go application to start a headless Delve debug server, /// enabling remote debugging from GoLand or any DAP-compatible client. /// </summary> internal sealed class GoDelveServerAnnotation( int port, bool acceptMultiClient, bool? onlySameUser, bool continueOnStart, bool log, string? logOutput) : IResourceAnnotation { public int Port { get; } = port; public bool AcceptMultiClient { get; } = acceptMultiClient; public bool? OnlySameUser { get; } = onlySameUser; public bool ContinueOnStart { get; } = continueOnStart; public bool Log { get; } = log; public string? LogOutput { get; } = logOutput; }