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

Interface Destructor

usagepool.go:220–222  ·  usagepool.go::Destructor

Destructor is a value that can clean itself up when it is deallocated.

Source from the content-addressed store, hash-verified

218// Destructor is a value that can clean itself up when
219// it is deallocated.
220type Destructor interface {
221 Destruct() error
222}
223
224type usagePoolVal struct {
225 refs atomic.Int32

Callers 1

DeleteMethod · 0.65

Implementers 6

sharedQuicListenerlisteners.go
databaseClosermodules/caddypki/acmeserver/acmeserver
destructableWritermodules/caddytls/connpolicy.go

Calls

no outgoing calls

Tested by

no test coverage detected