MCPcopy
hub / github.com/v2ray/v2ray-core / Closable

Interface Closable

common/interfaces.go:8–11  ·  view source on GitHub ↗

Closable is the interface for objects that can release its resources. v2ray:api:beta

Source from the content-addressed store, hash-verified

6//
7// v2ray:api:beta
8type Closable interface {
9 // Close release all resources used by this object, including goroutines.
10 Close() error
11}
12
13// Interruptible is an interface for objects that can be stopped before its completion.
14//

Callers 8

TestV2RayDialFunction · 0.65
TestV2RayDialUDPConnFunction · 0.65
TestV2RayDialUDPFunction · 0.65
CloseMethod · 0.65
TestV2RayCloseFunction · 0.65
ExecuteMethod · 0.65
ExecuteMethod · 0.65
FetchHTTPContentFunction · 0.65

Implementers 15

Instancev2ray.go
pipetransport/pipe/impl.go
Writertransport/pipe/writer.go
packetConnWrappertransport/internet/system_dialer.go
Listenertransport/internet/domainsocket/listen
Listenertransport/internet/http/hub.go
sysConntransport/internet/quic/conn.go
interConntransport/internet/quic/conn.go
Listenertransport/internet/quic/hub.go
TestDispatchertransport/internet/udp/dispatcher_test
Hubtransport/internet/udp/hub.go
dispatcherConntransport/internet/udp/dispatcher.go

Calls

no outgoing calls

Tested by

no test coverage detected