{"modulePath":"github.com/pipeproxy/pipe","version":"v0.7.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package bind\n\n## Functions\n\n```go\nfunc Marshal(v interface{}) ([]byte, error)\n```\nMarshal returns the encoding of v\n\n```go\nfunc Unmarshal(config []byte, v interface{}) error\n```\nUnmarshal parses the encoded data and stores the result\n\n## Types\n\n```go\ntype AcmeTLSConfig struct {\n\tDomains  []string\n\tCacheDir string\n}\n```\nAcmeTLSConfig acme@tls.TLS\n\n```go\nfunc (m AcmeTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype BalancePolicy interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nBalancePolicy balance.Policy\n\n```go\ntype Component interface {\n\t// contains filtered or unexported methods\n}\n```\nComponent is basic definition of Component\n\n```go\ntype ComponentsOnceConfig struct {\n\tComponents []Component\n}\n```\nComponentsOnceConfig components@once.Once\n\n```go\nfunc (m ComponentsOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype CompressNetHTTPHandlerConfig struct {\n\tLevel   int\n\tHandler HTTPHandler\n}\n```\nCompressNetHTTPHandlerConfig compress@net/http.Handler\n\n```go\nfunc (m CompressNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ConfigDumpNetHTTPHandlerConfig struct {\n\tReadOnly bool\n}\n```\nConfigDumpNetHTTPHandlerConfig config\\_dump@net/http.Handler\n\n```go\nfunc (m ConfigDumpNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefBalancePolicyConfig struct {\n\tName string\n\tDef  BalancePolicy `json:\",omitempty\"`\n}\n```\nDefBalancePolicyConfig def@balance.Policy\n\n```go\nfunc (m DefBalancePolicyConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefIoReaderConfig struct {\n\tName string\n\tDef  IoReader `json:\",omitempty\"`\n}\n```\nDefIoReaderConfig def@io.Reader\n\n```go\nfunc (m DefIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefIoWriterConfig struct {\n\tName string\n\tDef  IoWriter `json:\",omitempty\"`\n}\n```\nDefIoWriterConfig def@io.Writer\n\n```go\nfunc (m DefIoWriterConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefNetConnConfig struct {\n\tName string\n\tDef  NetConn `json:\",omitempty\"`\n}\n```\nDefNetConnConfig def@net.Conn\n\n```go\nfunc (m DefNetConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefNetHTTPHandlerConfig struct {\n\tName string\n\tDef  HTTPHandler `json:\",omitempty\"`\n}\n```\nDefNetHTTPHandlerConfig def@net/http.Handler\n\n```go\nfunc (m DefNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefNetPacketConnConfig struct {\n\tName string\n\tDef  NetPacketConn `json:\",omitempty\"`\n}\n```\nDefNetPacketConnConfig def@net.PacketConn\n\n```go\nfunc (m DefNetPacketConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefOnceConfig struct {\n\tName string\n\tDef  Once `json:\",omitempty\"`\n}\n```\nDefOnceConfig def@once.Once\n\n```go\nfunc (m DefOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefPacketHandlerConfig struct {\n\tName string\n\tDef  PacketHandler `json:\",omitempty\"`\n}\n```\nDefPacketHandlerConfig def@packet.Handler\n\n```go\nfunc (m DefPacketHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefPacketListenConfigConfig struct {\n\tName string\n\tDef  PacketListenConfig `json:\",omitempty\"`\n}\n```\nDefPacketListenConfigConfig def@packet.ListenConfig\n\n```go\nfunc (m DefPacketListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefProtocolHandlerConfig struct {\n\tName string\n\tDef  ProtocolHandler `json:\",omitempty\"`\n}\n```\nDefProtocolHandlerConfig def@protocol.Handler\n\n```go\nfunc (m DefProtocolHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefServiceConfig struct {\n\tName string\n\tDef  Service `json:\",omitempty\"`\n}\n```\nDefServiceConfig def@service.Service\n\n```go\nfunc (m DefServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefStreamDialerConfig struct {\n\tName string\n\tDef  StreamDialer `json:\",omitempty\"`\n}\n```\nDefStreamDialerConfig def@stream.Dialer\n\n```go\nfunc (m DefStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefStreamHandlerConfig struct {\n\tName string\n\tDef  StreamHandler `json:\",omitempty\"`\n}\n```\nDefStreamHandlerConfig def@stream.Handler\n\n```go\nfunc (m DefStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefStreamListenConfigConfig struct {\n\tName string\n\tDef  StreamListenConfig `json:\",omitempty\"`\n}\n```\nDefStreamListenConfigConfig def@stream.ListenConfig\n\n```go\nfunc (m DefStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DefTLSConfig struct {\n\tName string\n\tDef  TLS `json:\",omitempty\"`\n}\n```\nDefTLSConfig def@tls.TLS\n\n```go\nfunc (m DefTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DestinationStreamHandlerConfig struct {\n\tDestinations []DestinationStreamHandlerRoute\n\tNotFound     StreamHandler\n}\n```\nDestinationStreamHandlerConfig destination@stream.Handler\n\n```go\nfunc (m DestinationStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DestinationStreamHandlerRoute struct {\n\tPorts   []uint32 `json:\",omitempty\"`\n\tCIDR    string   `json:\",omitempty\"`\n\tHandler StreamHandler\n}\n```\n\n```go\ntype DialerStreamDialerConfig struct {\n\tNetwork  DialerStreamDialerNetworkEnum\n\tAddress  string\n\tOriginal bool `json:\",omitempty\"`\n\tVirtual  bool `json:\",omitempty\"`\n}\n```\nDialerStreamDialerConfig dialer@stream.Dialer\n\n```go\nfunc (m DialerStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype DialerStreamDialerNetworkEnum string\n```\n\n```go\nconst (\n\tDialerStreamDialerNetworkEnumEnumNetworkUnix DialerStreamDialerNetworkEnum = \"unix\"\n\tDialerStreamDialerNetworkEnumEnumNetworkTCP6 DialerStreamDialerNetworkEnum = \"tcp6\"\n\tDialerStreamDialerNetworkEnumEnumNetworkTCP4 DialerStreamDialerNetworkEnum = \"tcp4\"\n\tDialerStreamDialerNetworkEnumEnumNetworkTCP  DialerStreamDialerNetworkEnum = \"tcp\"\n)\n```\n\n```go\ntype DirectNetHTTPHandlerConfig struct {\n\tCode int\n\tBody IoReader\n}\n```\nDirectNetHTTPHandlerConfig direct@net/http.Handler\n\n```go\nfunc (m DirectNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype EditRequestHeaderNetHTTPHandlerConfig struct {\n\tDel []string                              `json:\",omitempty\"`\n\tSet []EditRequestHeaderNetHTTPHandlerPair `json:\",omitempty\"`\n\tAdd []EditRequestHeaderNetHTTPHandlerPair `json:\",omitempty\"`\n}\n```\nEditRequestHeaderNetHTTPHandlerConfig edit\\_request\\_header@net/http.Handler\n\n```go\nfunc (m EditRequestHeaderNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype EditRequestHeaderNetHTTPHandlerPair struct {\n\tKey   string\n\tValue string\n}\n```\n\n```go\ntype EditResponseHeaderNetHTTPHandlerConfig struct {\n\tDel []string                               `json:\",omitempty\"`\n\tSet []EditResponseHeaderNetHTTPHandlerPair `json:\",omitempty\"`\n\tAdd []EditResponseHeaderNetHTTPHandlerPair `json:\",omitempty\"`\n}\n```\nEditResponseHeaderNetHTTPHandlerConfig edit\\_response\\_header@net/http.Handler\n\n```go\nfunc (m EditResponseHeaderNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype EditResponseHeaderNetHTTPHandlerPair struct {\n\tKey   string\n\tValue string\n}\n```\n\n```go\ntype EnvIoReaderConfig struct {\n\tName string\n}\n```\nEnvIoReaderConfig env@io.Reader\n\n```go\nfunc (m EnvIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ExpvarNetHTTPHandler struct {\n}\n```\nExpvarNetHTTPHandler expvar@net/http.Handler\n\n```go\nfunc (m ExpvarNetHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype FileIoReaderConfig struct {\n\tPath string\n}\n```\nFileIoReaderConfig file@io.Reader\n\n```go\nfunc (m FileIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype FileIoWriterConfig struct {\n\tPath string\n}\n```\nFileIoWriterConfig file@io.Writer\n\n```go\nfunc (m FileIoWriterConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype FileNetHTTPHandlerConfig struct {\n\tRoot string\n}\n```\nFileNetHTTPHandlerConfig file@net/http.Handler\n\n```go\nfunc (m FileNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ForwardNetHTTPHandlerConfig struct {\n\tH2c    bool         `json:\",omitempty\"`\n\tDialer StreamDialer `json:\",omitempty\"`\n\tURL    string\n}\n```\nForwardNetHTTPHandlerConfig forward@net/http.Handler\n\n```go\nfunc (m ForwardNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ForwardStreamHandlerConfig struct {\n\tDialer StreamDialer\n}\n```\nForwardStreamHandlerConfig forward@stream.Handler\n\n```go\nfunc (m ForwardStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype FromTLSConfig struct {\n\tDomain string\n\tCert   IoReader\n\tKey    IoReader\n}\n```\nFromTLSConfig from@tls.TLS\n\n```go\nfunc (m FromTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HTTP1StreamHandlerConfig struct {\n\tHandler HTTPHandler\n}\n```\nHTTP1StreamHandlerConfig http1@stream.Handler\n\n```go\nfunc (m HTTP1StreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HTTP2StreamHandlerConfig struct {\n\tHandler HTTPHandler\n\tTLS     TLS `json:\",omitempty\"`\n}\n```\nHTTP2StreamHandlerConfig http2@stream.Handler\n\n```go\nfunc (m HTTP2StreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HTTP3PacketHandlerConfig struct {\n\tHandler HTTPHandler\n\tTLS     TLS\n}\n```\nHTTP3PacketHandlerConfig http3@packet.Handler\n\n```go\nfunc (m HTTP3PacketHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HTTPHandler interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nHTTPHandler http.Handler\n\n```go\ntype HTTPIoReaderConfig struct {\n\tDialer StreamDialer `json:\",omitempty\"`\n\tURL    string\n}\n```\nHTTPIoReaderConfig http@io.Reader\n\n```go\nfunc (m HTTPIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HeaderNetHTTPHandlerConfig struct {\n\tHeaders  []HeaderNetHTTPHandlerRoute\n\tNotFound HTTPHandler `json:\",omitempty\"`\n}\n```\nHeaderNetHTTPHandlerConfig header@net/http.Handler\n\n```go\nfunc (m HeaderNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HeaderNetHTTPHandlerRoute struct {\n\tMatches []HeaderNetHTTPHandlerRouteMatch\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype HeaderNetHTTPHandlerRouteMatch struct {\n\tKey      string\n\tExact    string `json:\",omitempty\"`\n\tPresent  bool   `json:\",omitempty\"`\n\tRegexp   string `json:\",omitempty\"`\n\tPrefix   string `json:\",omitempty\"`\n\tSuffix   string `json:\",omitempty\"`\n\tContains string `json:\",omitempty\"`\n}\n```\n\n```go\ntype HostNetHTTPHandlerConfig struct {\n\tHosts    []HostNetHTTPHandlerRoute\n\tNotFound HTTPHandler `json:\",omitempty\"`\n}\n```\nHostNetHTTPHandlerConfig host@net/http.Handler\n\n```go\nfunc (m HostNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype HostNetHTTPHandlerRoute struct {\n\tDomains []string\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype InlineIoReaderConfig struct {\n\tData string\n}\n```\nInlineIoReaderConfig inline@io.Reader\n\n```go\nfunc (m InlineIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype IoReader interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nIoReader io.Reader\n\n```go\ntype IoWriter interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nIoWriter io.Writer\n\n```go\ntype LbNetHTTPHandlerConfig struct {\n\tPolicy   BalancePolicy\n\tHandlers []LbNetHTTPHandlerWeight\n}\n```\nLbNetHTTPHandlerConfig lb@net/http.Handler\n\n```go\nfunc (m LbNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LbNetHTTPHandlerWeight struct {\n\tWeight  uint `json:\",omitempty\"`\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype LbStreamDialerConfig struct {\n\tPolicy  BalancePolicy\n\tDialers []LbStreamDialerWeight\n}\n```\nLbStreamDialerConfig lb@stream.Dialer\n\n```go\nfunc (m LbStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LbStreamDialerWeight struct {\n\tWeight uint `json:\",omitempty\"`\n\tDialer StreamDialer\n}\n```\n\n```go\ntype LbStreamHandlerConfig struct {\n\tPolicy   BalancePolicy\n\tHandlers []LbStreamHandlerWeight\n}\n```\nLbStreamHandlerConfig lb@stream.Handler\n\n```go\nfunc (m LbStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LbStreamHandlerWeight struct {\n\tWeight  uint `json:\",omitempty\"`\n\tHandler StreamHandler\n}\n```\n\n```go\ntype Least struct {\n}\n```\nLeast least@\n\n```go\nfunc (m Least) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LeastLeast interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nLeastLeast \\*least.Least\n\n```go\ntype ListenerPacketListenConfigConfig struct {\n\tNetwork ListenerPacketListenConfigNetworkEnum\n\tAddress string\n}\n```\nListenerPacketListenConfigConfig listener@packet.ListenConfig\n\n```go\nfunc (m ListenerPacketListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ListenerPacketListenConfigNetworkEnum string\n```\n\n```go\nconst (\n\tListenerPacketListenConfigNetworkEnumEnumNetworkUnixPacket ListenerPacketListenConfigNetworkEnum = \"unixpacket\"\n\tListenerPacketListenConfigNetworkEnumEnumNetworkUDP6       ListenerPacketListenConfigNetworkEnum = \"udp6\"\n\tListenerPacketListenConfigNetworkEnumEnumNetworkUDP4       ListenerPacketListenConfigNetworkEnum = \"udp4\"\n\tListenerPacketListenConfigNetworkEnumEnumNetworkUDP        ListenerPacketListenConfigNetworkEnum = \"udp\"\n)\n```\n\n```go\ntype ListenerStreamListenConfigConfig struct {\n\tNetwork ListenerStreamListenConfigNetworkEnum\n\tAddress string\n\tVirtual bool `json:\",omitempty\"`\n}\n```\nListenerStreamListenConfigConfig listener@stream.ListenConfig\n\n```go\nfunc (m ListenerStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ListenerStreamListenConfigNetworkEnum string\n```\n\n```go\nconst (\n\tListenerStreamListenConfigNetworkEnumEnumNetworkUnix ListenerStreamListenConfigNetworkEnum = \"unix\"\n\tListenerStreamListenConfigNetworkEnumEnumNetworkTCP6 ListenerStreamListenConfigNetworkEnum = \"tcp6\"\n\tListenerStreamListenConfigNetworkEnumEnumNetworkTCP4 ListenerStreamListenConfigNetworkEnum = \"tcp4\"\n\tListenerStreamListenConfigNetworkEnumEnumNetworkTCP  ListenerStreamListenConfigNetworkEnum = \"tcp\"\n)\n```\n\n```go\ntype LoadBalancePolicyConfig struct {\n\tLoad IoReader\n}\n```\nLoadBalancePolicyConfig load@balance.Policy\n\n```go\nfunc (m LoadBalancePolicyConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadIoReaderConfig struct {\n\tLoad IoReader\n}\n```\nLoadIoReaderConfig load@io.Reader\n\n```go\nfunc (m LoadIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadIoWriterConfig struct {\n\tLoad IoReader\n}\n```\nLoadIoWriterConfig load@io.Writer\n\n```go\nfunc (m LoadIoWriterConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadNetConnConfig struct {\n\tLoad IoReader\n}\n```\nLoadNetConnConfig load@net.Conn\n\n```go\nfunc (m LoadNetConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadNetHTTPHandlerConfig struct {\n\tLoad IoReader\n}\n```\nLoadNetHTTPHandlerConfig load@net/http.Handler\n\n```go\nfunc (m LoadNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadNetPacketConnConfig struct {\n\tLoad IoReader\n}\n```\nLoadNetPacketConnConfig load@net.PacketConn\n\n```go\nfunc (m LoadNetPacketConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadOnceConfig struct {\n\tLoad IoReader\n}\n```\nLoadOnceConfig load@once.Once\n\n```go\nfunc (m LoadOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadPacketHandlerConfig struct {\n\tLoad IoReader\n}\n```\nLoadPacketHandlerConfig load@packet.Handler\n\n```go\nfunc (m LoadPacketHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadPacketListenConfigConfig struct {\n\tLoad IoReader\n}\n```\nLoadPacketListenConfigConfig load@packet.ListenConfig\n\n```go\nfunc (m LoadPacketListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadProtocolHandlerConfig struct {\n\tLoad IoReader\n}\n```\nLoadProtocolHandlerConfig load@protocol.Handler\n\n```go\nfunc (m LoadProtocolHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadServiceConfig struct {\n\tLoad IoReader\n}\n```\nLoadServiceConfig load@service.Service\n\n```go\nfunc (m LoadServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadStreamDialerConfig struct {\n\tLoad IoReader\n}\n```\nLoadStreamDialerConfig load@stream.Dialer\n\n```go\nfunc (m LoadStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadStreamHandlerConfig struct {\n\tLoad IoReader\n}\n```\nLoadStreamHandlerConfig load@stream.Handler\n\n```go\nfunc (m LoadStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadStreamListenConfigConfig struct {\n\tLoad IoReader\n}\n```\nLoadStreamListenConfigConfig load@stream.ListenConfig\n\n```go\nfunc (m LoadStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LoadTLSConfig struct {\n\tLoad IoReader\n}\n```\nLoadTLSConfig load@tls.TLS\n\n```go\nfunc (m LoadTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LogNetHTTPHandlerConfig struct {\n\tOutput  IoWriter\n\tHandler HTTPHandler\n}\n```\nLogNetHTTPHandlerConfig log@net/http.Handler\n\n```go\nfunc (m LogNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype LogStreamHandlerConfig struct {\n\tOutput              IoWriter\n\tHandler             StreamHandler\n\tOriginalDestination bool `json:\",omitempty\"`\n}\n```\nLogStreamHandlerConfig log@stream.Handler\n\n```go\nfunc (m LogStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MergeTLSConfig struct {\n\tMerge []TLS\n}\n```\nMergeTLSConfig merge@tls.TLS\n\n```go\nfunc (m MergeTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MessageOnceConfig struct {\n\tMessage string\n}\n```\nMessageOnceConfig message@once.Once\n\n```go\nfunc (m MessageOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MethodNetHTTPHandlerConfig struct {\n\tMethods  []MethodNetHTTPHandlerRoute\n\tNotFound HTTPHandler\n}\n```\nMethodNetHTTPHandlerConfig method@net/http.Handler\n\n```go\nfunc (m MethodNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MethodNetHTTPHandlerMethodEnum string\n```\n\n```go\nconst (\n\tMethodNetHTTPHandlerMethodEnumMethodTrace   MethodNetHTTPHandlerMethodEnum = \"TRACE\"\n\tMethodNetHTTPHandlerMethodEnumMethodPut     MethodNetHTTPHandlerMethodEnum = \"PUT\"\n\tMethodNetHTTPHandlerMethodEnumMethodPost    MethodNetHTTPHandlerMethodEnum = \"POST\"\n\tMethodNetHTTPHandlerMethodEnumMethodPatch   MethodNetHTTPHandlerMethodEnum = \"PATCH\"\n\tMethodNetHTTPHandlerMethodEnumMethodOptions MethodNetHTTPHandlerMethodEnum = \"OPTIONS\"\n\tMethodNetHTTPHandlerMethodEnumMethodHead    MethodNetHTTPHandlerMethodEnum = \"HEAD\"\n\tMethodNetHTTPHandlerMethodEnumMethodGet     MethodNetHTTPHandlerMethodEnum = \"GET\"\n\tMethodNetHTTPHandlerMethodEnumMethodDelete  MethodNetHTTPHandlerMethodEnum = \"DELETE\"\n\tMethodNetHTTPHandlerMethodEnumMethodConnect MethodNetHTTPHandlerMethodEnum = \"CONNECT\"\n)\n```\n\n```go\ntype MethodNetHTTPHandlerRoute struct {\n\tMethod  MethodNetHTTPHandlerMethodEnum\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype MetricsNetHTTPHandler struct {\n}\n```\nMetricsNetHTTPHandler metrics@net/http.Handler\n\n```go\nfunc (m MetricsNetHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MultiNetHTTPHandlerConfig struct {\n\tMulti []HTTPHandler\n}\n```\nMultiNetHTTPHandlerConfig multi@net/http.Handler\n\n```go\nfunc (m MultiNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MultiOnceConfig struct {\n\tMulti []Once\n}\n```\nMultiOnceConfig multi@once.Once\n\n```go\nfunc (m MultiOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MultiServiceConfig struct {\n\tMulti []Service\n}\n```\nMultiServiceConfig multi@service.Service\n\n```go\nfunc (m MultiServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype MultiStreamHandlerConfig struct {\n\tMulti []StreamHandler\n}\n```\nMultiStreamHandlerConfig multi@stream.Handler\n\n```go\nfunc (m MultiStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NetConn interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nNetConn net.Conn\n\n```go\ntype NetPacketConn interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nNetPacketConn net.PacketConn\n\n```go\ntype NoneBalancePolicy struct {\n}\n```\nNoneBalancePolicy none@balance.Policy\n\n```go\nfunc (m NoneBalancePolicy) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneIoReader struct {\n}\n```\nNoneIoReader none@io.Reader\n\n```go\nfunc (m NoneIoReader) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneIoWriter struct {\n}\n```\nNoneIoWriter none@io.Writer\n\n```go\nfunc (m NoneIoWriter) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneNetConn struct {\n}\n```\nNoneNetConn none@net.Conn\n\n```go\nfunc (m NoneNetConn) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneNetHTTPHandler struct {\n}\n```\nNoneNetHTTPHandler none@net/http.Handler\n\n```go\nfunc (m NoneNetHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneNetPacketConn struct {\n}\n```\nNoneNetPacketConn none@net.PacketConn\n\n```go\nfunc (m NoneNetPacketConn) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneOnce struct {\n}\n```\nNoneOnce none@once.Once\n\n```go\nfunc (m NoneOnce) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NonePacketHandler struct {\n}\n```\nNonePacketHandler none@packet.Handler\n\n```go\nfunc (m NonePacketHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NonePacketListenConfig struct {\n}\n```\nNonePacketListenConfig none@packet.ListenConfig\n\n```go\nfunc (m NonePacketListenConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneProtocolHandler struct {\n}\n```\nNoneProtocolHandler none@protocol.Handler\n\n```go\nfunc (m NoneProtocolHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneService struct {\n}\n```\nNoneService none@service.Service\n\n```go\nfunc (m NoneService) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneStreamDialer struct {\n}\n```\nNoneStreamDialer none@stream.Dialer\n\n```go\nfunc (m NoneStreamDialer) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneStreamHandler struct {\n}\n```\nNoneStreamHandler none@stream.Handler\n\n```go\nfunc (m NoneStreamHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneStreamListenConfig struct {\n}\n```\nNoneStreamListenConfig none@stream.ListenConfig\n\n```go\nfunc (m NoneStreamListenConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype NoneTLS struct {\n}\n```\nNoneTLS none@tls.TLS\n\n```go\nfunc (m NoneTLS) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype Once interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nOnce once.Once\n\n```go\ntype PacketHandler interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nPacketHandler packet.Handler\n\n```go\ntype PacketListenConfig interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nPacketListenConfig packet.ListenConfig\n\n```go\ntype PacketServiceConfig struct {\n\tListener PacketListenConfig\n\tHandler  PacketHandler\n}\n```\nPacketServiceConfig packet@service.Service\n\n```go\nfunc (m PacketServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype PathNetHTTPHandlerConfig struct {\n\tPaths    []PathNetHTTPHandlerRoute\n\tNotFound HTTPHandler `json:\",omitempty\"`\n}\n```\nPathNetHTTPHandlerConfig path@net/http.Handler\n\n```go\nfunc (m PathNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype PathNetHTTPHandlerRoute struct {\n\tPrefix  string `json:\",omitempty\"`\n\tPath    string `json:\",omitempty\"`\n\tRegexp  string `json:\",omitempty\"`\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype PprofNetHTTPHandler struct {\n}\n```\nPprofNetHTTPHandler pprof@net/http.Handler\n\n```go\nfunc (m PprofNetHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype PrefixStreamHandlerConfig struct {\n\tRoutes   []PrefixStreamHandlerRoute\n\tNotFound StreamHandler\n}\n```\nPrefixStreamHandlerConfig prefix@stream.Handler\n\n```go\nfunc (m PrefixStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype PrefixStreamHandlerProtocolEnum string\n```\n\n```go\nconst (\n\tPrefixStreamHandlerProtocolEnumProtocolTLS    PrefixStreamHandlerProtocolEnum = \"tls\"\n\tPrefixStreamHandlerProtocolEnumProtocolSocks5 PrefixStreamHandlerProtocolEnum = \"socks5\"\n\tPrefixStreamHandlerProtocolEnumProtocolSocks4 PrefixStreamHandlerProtocolEnum = \"socks4\"\n\tPrefixStreamHandlerProtocolEnumProtocolSSH    PrefixStreamHandlerProtocolEnum = \"ssh\"\n\tPrefixStreamHandlerProtocolEnumProtocolHTTP2  PrefixStreamHandlerProtocolEnum = \"http2\"\n\tPrefixStreamHandlerProtocolEnumProtocolHTTP1  PrefixStreamHandlerProtocolEnum = \"http1\"\n)\n```\n\n```go\ntype PrefixStreamHandlerRoute struct {\n\tPattern PrefixStreamHandlerProtocolEnum `json:\",omitempty\"`\n\tRegexp  string                          `json:\",omitempty\"`\n\tPrefix  string                          `json:\",omitempty\"`\n\tHandler StreamHandler\n}\n```\n\n```go\ntype ProtocolHandler interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nProtocolHandler protocol.Handler\n\n```go\ntype QueryNetHTTPHandlerConfig struct {\n\tQueries  []QueryNetHTTPHandlerRoute\n\tNotFound HTTPHandler `json:\",omitempty\"`\n}\n```\nQueryNetHTTPHandlerConfig query@net/http.Handler\n\n```go\nfunc (m QueryNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype QueryNetHTTPHandlerRoute struct {\n\tMatches []QueryNetHTTPHandlerRouteMatch\n\tHandler HTTPHandler\n}\n```\n\n```go\ntype QueryNetHTTPHandlerRouteMatch struct {\n\tKey      string\n\tExact    string `json:\",omitempty\"`\n\tPresent  bool   `json:\",omitempty\"`\n\tRegexp   string `json:\",omitempty\"`\n\tPrefix   string `json:\",omitempty\"`\n\tSuffix   string `json:\",omitempty\"`\n\tContains string `json:\",omitempty\"`\n}\n```\n\n```go\ntype QuicStreamListenConfigConfig struct {\n\tPacket NetPacketConn\n\tTLS    TLS\n}\n```\nQuicStreamListenConfigConfig quic@stream.ListenConfig\n\n```go\nfunc (m QuicStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype QuitNetHTTPHandler struct {\n}\n```\nQuitNetHTTPHandler quit@net/http.Handler\n\n```go\nfunc (m QuitNetHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RandomBalancePolicy struct {\n}\n```\nRandomBalancePolicy random@balance.Policy\n\n```go\nfunc (m RandomBalancePolicy) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RawBalancePolicy []byte\n```\nRawBalancePolicy is store raw bytes of BalancePolicy\n\n```go\nfunc (m RawBalancePolicy) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawBalancePolicy) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawComponent []byte\n```\nRawComponent is store raw bytes of Component\n\n```go\nfunc (m RawComponent) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawComponent) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawHTTPHandler []byte\n```\nRawHTTPHandler is store raw bytes of HTTPHandler\n\n```go\nfunc (m RawHTTPHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawHTTPHandler) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawIoReader []byte\n```\nRawIoReader is store raw bytes of IoReader\n\n```go\nfunc (m RawIoReader) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawIoReader) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawIoWriter []byte\n```\nRawIoWriter is store raw bytes of IoWriter\n\n```go\nfunc (m RawIoWriter) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawIoWriter) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawLeastLeast []byte\n```\nRawLeastLeast is store raw bytes of LeastLeast\n\n```go\nfunc (m RawLeastLeast) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawLeastLeast) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawNetConn []byte\n```\nRawNetConn is store raw bytes of NetConn\n\n```go\nfunc (m RawNetConn) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawNetConn) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawNetPacketConn []byte\n```\nRawNetPacketConn is store raw bytes of NetPacketConn\n\n```go\nfunc (m RawNetPacketConn) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawNetPacketConn) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawOnce []byte\n```\nRawOnce is store raw bytes of Once\n\n```go\nfunc (m RawOnce) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawOnce) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawPacketHandler []byte\n```\nRawPacketHandler is store raw bytes of PacketHandler\n\n```go\nfunc (m RawPacketHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawPacketHandler) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawPacketListenConfig []byte\n```\nRawPacketListenConfig is store raw bytes of PacketListenConfig\n\n```go\nfunc (m RawPacketListenConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawPacketListenConfig) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawProtocolHandler []byte\n```\nRawProtocolHandler is store raw bytes of ProtocolHandler\n\n```go\nfunc (m RawProtocolHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawProtocolHandler) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawService []byte\n```\nRawService is store raw bytes of Service\n\n```go\nfunc (m RawService) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawService) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawStreamDialer []byte\n```\nRawStreamDialer is store raw bytes of StreamDialer\n\n```go\nfunc (m RawStreamDialer) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawStreamDialer) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawStreamHandler []byte\n```\nRawStreamHandler is store raw bytes of StreamHandler\n\n```go\nfunc (m RawStreamHandler) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawStreamHandler) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawStreamListenConfig []byte\n```\nRawStreamListenConfig is store raw bytes of StreamListenConfig\n\n```go\nfunc (m RawStreamListenConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawStreamListenConfig) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RawTLS []byte\n```\nRawTLS is store raw bytes of TLS\n\n```go\nfunc (m RawTLS) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\nfunc (m *RawTLS) UnmarshalJSON(data []byte) error\n```\nUnmarshalJSON sets \\*m to a copy of data.\n\n```go\ntype RedirectNetHTTPHandlerConfig struct {\n\tCode     int\n\tLocation string\n}\n```\nRedirectNetHTTPHandlerConfig redirect@net/http.Handler\n\n```go\nfunc (m RedirectNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefBalancePolicyConfig struct {\n\tName string\n\tDef  BalancePolicy `json:\",omitempty\"`\n}\n```\nRefBalancePolicyConfig ref@balance.Policy\n\n```go\nfunc (m RefBalancePolicyConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefIoReaderConfig struct {\n\tName string\n\tDef  IoReader `json:\",omitempty\"`\n}\n```\nRefIoReaderConfig ref@io.Reader\n\n```go\nfunc (m RefIoReaderConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefIoWriterConfig struct {\n\tName string\n\tDef  IoWriter `json:\",omitempty\"`\n}\n```\nRefIoWriterConfig ref@io.Writer\n\n```go\nfunc (m RefIoWriterConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefNetConnConfig struct {\n\tName string\n\tDef  NetConn `json:\",omitempty\"`\n}\n```\nRefNetConnConfig ref@net.Conn\n\n```go\nfunc (m RefNetConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefNetHTTPHandlerConfig struct {\n\tName string\n\tDef  HTTPHandler `json:\",omitempty\"`\n}\n```\nRefNetHTTPHandlerConfig ref@net/http.Handler\n\n```go\nfunc (m RefNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefNetPacketConnConfig struct {\n\tName string\n\tDef  NetPacketConn `json:\",omitempty\"`\n}\n```\nRefNetPacketConnConfig ref@net.PacketConn\n\n```go\nfunc (m RefNetPacketConnConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefOnceConfig struct {\n\tName string\n\tDef  Once `json:\",omitempty\"`\n}\n```\nRefOnceConfig ref@once.Once\n\n```go\nfunc (m RefOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefPacketHandlerConfig struct {\n\tName string\n\tDef  PacketHandler `json:\",omitempty\"`\n}\n```\nRefPacketHandlerConfig ref@packet.Handler\n\n```go\nfunc (m RefPacketHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefPacketListenConfigConfig struct {\n\tName string\n\tDef  PacketListenConfig `json:\",omitempty\"`\n}\n```\nRefPacketListenConfigConfig ref@packet.ListenConfig\n\n```go\nfunc (m RefPacketListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefProtocolHandlerConfig struct {\n\tName string\n\tDef  ProtocolHandler `json:\",omitempty\"`\n}\n```\nRefProtocolHandlerConfig ref@protocol.Handler\n\n```go\nfunc (m RefProtocolHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefServiceConfig struct {\n\tName string\n\tDef  Service `json:\",omitempty\"`\n}\n```\nRefServiceConfig ref@service.Service\n\n```go\nfunc (m RefServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefStreamDialerConfig struct {\n\tName string\n\tDef  StreamDialer `json:\",omitempty\"`\n}\n```\nRefStreamDialerConfig ref@stream.Dialer\n\n```go\nfunc (m RefStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefStreamHandlerConfig struct {\n\tName string\n\tDef  StreamHandler `json:\",omitempty\"`\n}\n```\nRefStreamHandlerConfig ref@stream.Handler\n\n```go\nfunc (m RefStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefStreamListenConfigConfig struct {\n\tName string\n\tDef  StreamListenConfig `json:\",omitempty\"`\n}\n```\nRefStreamListenConfigConfig ref@stream.ListenConfig\n\n```go\nfunc (m RefStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RefTLSConfig struct {\n\tName string\n\tDef  TLS `json:\",omitempty\"`\n}\n```\nRefTLSConfig ref@tls.TLS\n\n```go\nfunc (m RefTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype RoundRobinBalancePolicy struct {\n}\n```\nRoundRobinBalancePolicy round\\_robin@balance.Policy\n\n```go\nfunc (m RoundRobinBalancePolicy) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype SelfSignedTLS struct {\n}\n```\nSelfSignedTLS self\\_signed@tls.TLS\n\n```go\nfunc (m SelfSignedTLS) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype Service interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nService service.Service\n\n```go\ntype ServiceOnceConfig struct {\n\tService Service\n}\n```\nServiceOnceConfig service@once.Once\n\n```go\nfunc (m ServiceOnceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype SourceStreamHandlerConfig struct {\n\tDestinations []SourceStreamHandlerRoute\n\tNotFound     StreamHandler\n}\n```\nSourceStreamHandlerConfig source@stream.Handler\n\n```go\nfunc (m SourceStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype SourceStreamHandlerRoute struct {\n\tPorts   []uint32 `json:\",omitempty\"`\n\tCIDR    string   `json:\",omitempty\"`\n\tHandler StreamHandler\n}\n```\n\n```go\ntype StreamDialer interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nStreamDialer stream.Dialer\n\n```go\ntype StreamHandler interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nStreamHandler stream.Handler\n\n```go\ntype StreamListenConfig interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nStreamListenConfig stream.ListenConfig\n\n```go\ntype StreamServiceConfig struct {\n\tListener          StreamListenConfig\n\tHandler           StreamHandler\n\tDisconnectOnClose bool `json:\",omitempty\"`\n}\n```\nStreamServiceConfig stream@service.Service\n\n```go\nfunc (m StreamServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype StripPrefixNetHTTPHandlerConfig struct {\n\tPrefix  string\n\tHandler HTTPHandler\n}\n```\nStripPrefixNetHTTPHandlerConfig strip\\_prefix@net/http.Handler\n\n```go\nfunc (m StripPrefixNetHTTPHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype TLS interface {\n\tComponent\n\t// contains filtered or unexported methods\n}\n```\nTLS tls.TLS\n\n```go\ntype TLSDownStreamHandlerConfig struct {\n\tHandler StreamHandler\n\tTLS     TLS\n}\n```\nTLSDownStreamHandlerConfig tls\\_down@stream.Handler\n\n```go\nfunc (m TLSDownStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype TLSStreamDialerConfig struct {\n\tDialer StreamDialer\n\tTLS    TLS\n}\n```\nTLSStreamDialerConfig tls@stream.Dialer\n\n```go\nfunc (m TLSStreamDialerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype TLSStreamListenConfigConfig struct {\n\tListenConfig StreamListenConfig\n\tTLS          TLS\n}\n```\nTLSStreamListenConfigConfig tls@stream.ListenConfig\n\n```go\nfunc (m TLSStreamListenConfigConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype TLSUpStreamHandlerConfig struct {\n\tHandler StreamHandler\n\tTLS     TLS\n}\n```\nTLSUpStreamHandlerConfig tls\\_up@stream.Handler\n\n```go\nfunc (m TLSUpStreamHandlerConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype TagsServiceConfig struct {\n\tService Service\n\tTag     string            `json:\",omitempty\"`\n\tValues  map[string]string `json:\",omitempty\"`\n}\n```\nTagsServiceConfig tags@service.Service\n\n```go\nfunc (m TagsServiceConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype ValidationTLSConfig struct {\n\tCa IoReader\n}\n```\nValidationTLSConfig validation@tls.TLS\n\n```go\nfunc (m ValidationTLSConfig) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n```go\ntype WaitService struct {\n}\n```\nWaitService wait@service.Service\n\n```go\nfunc (m WaitService) MarshalJSON() ([]byte, error)\n```\nMarshalJSON returns m as the JSON encoding of m.\n\n","path":"github.com/pipeproxy/pipe/bind","name":"bind","synopsis":"","isRedistributable":true}
