Documentation ¶ Index ¶ Constants Variables type BlackHole func (h BlackHole) Close() error func (h BlackHole) Dial(_, _ string) (c net.Conn, err error) func (h BlackHole) Proxy(_ context.Context, _ *transport.Request, localAddr chan<- string, _ io.Writer, ...) error func (h BlackHole) String() string Constants ¶ View Source const TransportName = "blackHole" Variables ¶ View Source var Transport = BlackHole{} Functions ¶ This section is empty. Types ¶ type BlackHole ¶ type BlackHole struct{} func (BlackHole) Close ¶ func (h BlackHole) Close() error func (BlackHole) Dial ¶ func (h BlackHole) Dial(_, _ string) (c net.Conn, err error) func (BlackHole) Proxy ¶ func (h BlackHole) Proxy(_ context.Context, _ *transport.Request, localAddr chan<- string, _ io.Writer, src io.Reader) error func (BlackHole) String ¶ func (h BlackHole) String() string Source Files ¶ View all Source files blackhole.go Click to show internal directories. Click to hide internal directories.