Documentation ¶
Index ¶
- func MSSQLGetUsernameDB(data []byte) (username, db []byte)
- func MSSQLReadPacket(src io.Reader) ([]byte, error)
- func MySQLGetUsernameDB(data []byte) (username, db []byte)
- func MySQLReadPacket(src io.Reader) ([]byte, error)
- func ReadPacket(conn io.Reader) ([]byte, error)
- type DB2
- type MSSQL
- type MySQL
- type Oracle
- type Postgres
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MSSQLGetUsernameDB ¶
MSSQLGetUsernameDB parse packet and gets username and db name
func MSSQLReadPacket ¶
MSSQLReadPacket handles reading mysql packets
func MySQLGetUsernameDB ¶
MySQLGetUsernameDB parse packet and gets username and db name
func MySQLReadPacket ¶
MySQLReadPacket handles reading mysql packets
Types ¶
type DB2 ¶
type DB2 struct {
// contains filtered or unexported fields
}
DB2 DBMS
func (*DB2) SetCertificate ¶
SetCertificate to use if client asks for SSL
func (*DB2) SetSockets ¶
SetSockets for dbms (client and server sockets)
type MSSQL ¶
type MSSQL struct {
// contains filtered or unexported fields
}
MSSQL DBMS
func (*MSSQL) SetCertificate ¶
SetCertificate to use if client asks for SSL
func (*MSSQL) SetSockets ¶
SetSockets for dbms (client and server sockets)
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
MySQL DBMS
func (*MySQL) SetCertificate ¶
SetCertificate to use if client asks for SSL
func (*MySQL) SetSockets ¶
SetSockets for dbms (client and server sockets)
type Oracle ¶
type Oracle struct {
// contains filtered or unexported fields
}
Oracle DBMS
func (*Oracle) SetCertificate ¶
SetCertificate to use if client asks for SSL
func (*Oracle) SetSockets ¶
SetSockets for dbms (client and server sockets)
type Postgres ¶
type Postgres struct {
// contains filtered or unexported fields
}
Postgres DBMS
func (*Postgres) SetCertificate ¶
SetCertificate to use if client asks for SSL
func (*Postgres) SetSockets ¶
SetSockets for dbms (client and server sockets)