Versions in this module Expand all Collapse all v1 v1.5.6 Mar 27, 2022 Changes in this version + var File_proxy_blackhole_config_proto protoreflect.FileDescriptor + type Config struct + Response *serial.TypedMessage + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) GetInternalResponse() (ResponseConfig, error) + func (x *Config) GetResponse() *serial.TypedMessage + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type HTTPResponse struct + func (*HTTPResponse) Descriptor() ([]byte, []int) + func (*HTTPResponse) ProtoMessage() + func (*HTTPResponse) WriteTo(writer buf.Writer) int32 + func (x *HTTPResponse) ProtoReflect() protoreflect.Message + func (x *HTTPResponse) Reset() + func (x *HTTPResponse) String() string + type Handler struct + func New(ctx context.Context, config *Config) (*Handler, error) + func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer internet.Dialer) error + type NoneResponse struct + func (*NoneResponse) Descriptor() ([]byte, []int) + func (*NoneResponse) ProtoMessage() + func (*NoneResponse) WriteTo(buf.Writer) int32 + func (x *NoneResponse) ProtoReflect() protoreflect.Message + func (x *NoneResponse) Reset() + func (x *NoneResponse) String() string + type ResponseConfig interface + WriteTo func(buf.Writer) int32