MCPcopy
hub / github.com/caddyserver/caddy / destructableWriter

Struct destructableWriter

modules/caddytls/connpolicy.go:1082–1082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080var defaultALPN = []string{"h2", "http/1.1"}
1081
1082type destructableWriter struct{ *os.File }
1083
1084func (d destructableWriter) Destruct() error { return d.Close() }
1085

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected