Help us shape the future of Go! Take the 2026 Go Developer Survey

dap

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const AttachContainerCommand = "_dap_attach_container"

Variables

This section is empty.

Functions

func AttachContainerIO

func AttachContainerIO(root string, setTtyRaw bool) error

Types

type LaunchConfig

type LaunchConfig struct {
	Program     string `json:"program"`
	NoDebug     bool   `json:"noDebug"`
	StopOnEntry bool   `json:"stopOnEntry"`

	Target    string   `json:"target"`
	BuildArgs []string `json:"build-args"`
	SSH       []string `json:"ssh"`
	Secrets   []string `json:"secrets"`

	Image string `json:"image"`
}

type Server

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

func NewServer

func NewServer(conn net.Conn, cfg *config.Config, cleanupFunc func() error, cleanupAll bool) (*Server, error)

func (*Server) Serve

func (s *Server) Serve() error

Jump to

Keyboard shortcuts

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