Add initial support for solr
This commit is contained in:
parent
7bedeefb50
commit
b27871f39a
13 changed files with 131 additions and 31 deletions
|
|
@ -5,11 +5,11 @@ import (
|
|||
"net"
|
||||
)
|
||||
|
||||
func (Native) Listen(network, address string) (net.Listener, error) {
|
||||
func (*Native) Listen(network, address string) (net.Listener, error) {
|
||||
return net.Listen(network, address)
|
||||
}
|
||||
|
||||
func (Native) DialContext(context context.Context, network, address string) (net.Conn, error) {
|
||||
func (*Native) DialContext(context context.Context, network, address string) (net.Conn, error) {
|
||||
var d net.Dialer
|
||||
return d.DialContext(context, network, address)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue