Documentation ¶
Index ¶
- Constants
- Variables
- type Conn
- func (c *Conn) BuildEmptyResultSet() (*Resultset, error)
- func (c *Conn) BuildResultset(names []string, values [][]interface{}) (*Resultset, error)
- func (c *Conn) Close() error
- func (c *Conn) GetStatus() (status uint16)
- func (c *Conn) Handshake() error
- func (c *Conn) Run()
- func (c *Conn) WriteEmptyResultSet() error
- func (c *Conn) WriteError(e error) error
- func (c *Conn) WriteOK(r *Result) error
- func (c *Conn) WriteOKWithData(insertId, affectedRows uint64) error
- func (c *Conn) WriteResultSet(status uint16, r *Resultset) error
- func (c *Conn) WriteResultSetWithData(name []string, values [][]interface{}) error
- type ConnHandlerInterface
- type Node
- type Schema
- type Server
- type Stmt
Constants ¶
View Source
const ( Master = "master" Slave = "slave" )
Variables ¶
View Source
var DEFAULT_CAPABILITY uint32 = CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG |
CLIENT_CONNECT_WITH_DB | CLIENT_PROTOCOL_41 |
CLIENT_TRANSACTIONS | CLIENT_SECURE_CONNECTION
Functions ¶
This section is empty.
Types ¶
type Conn ¶
client <-> proxy
func (*Conn) BuildEmptyResultSet ¶
func (*Conn) BuildResultset ¶
func (*Conn) WriteEmptyResultSet ¶
func (*Conn) WriteError ¶
func (*Conn) WriteOKWithData ¶
func (*Conn) WriteResultSet ¶
func (*Conn) WriteResultSetWithData ¶
type ConnHandlerInterface ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) DownMaster ¶
type Stmt ¶
type Stmt struct {
// contains filtered or unexported fields
}
func (*Stmt) ResetParams ¶
func (s *Stmt) ResetParams()
Click to show internal directories.
Click to hide internal directories.