Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface {
Open(address string) (io.ReadWriteCloser, error)
}
Driver is interface for connection backend
type DriverFunc ¶
type DriverFunc func(address string) (io.ReadWriteCloser, error)
DriverFunc convert function into Driver like http.HandlerFunc
func (DriverFunc) Open ¶
func (f DriverFunc) Open(address string) (io.ReadWriteCloser, error)
Open call itsself as function
Click to show internal directories.
Click to hide internal directories.