proxy

package
v0.0.0-...-17b9906 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2014 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) HandleFieldList

func (h *Handler) HandleFieldList(table string, fieldWildcard string) ([]*Field, error)

func (*Handler) HandleQuery

func (h *Handler) HandleQuery(query string) (*Result, error)

func (*Handler) HandleStmtExecute

func (h *Handler) HandleStmtExecute(context interface{}, query string, args []interface{}) (*Result, error)

func (*Handler) HandleStmtPreprare

func (h *Handler) HandleStmtPreprare(query string) (params int, columns int, context interface{}, err error)

func (*Handler) UseDB

func (h *Handler) UseDB(dbName string) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server acts as a MySQL server, it listens and accepts MySQL client connections, parses the commands then sends them to the specified MySQL server.

func NewServer

func NewServer(addr string, user string, password string) (*Server, error)

func (*Server) Close

func (s *Server) Close()

type Stats

type Stats struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL