sqlapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TxnsTable = "txns"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New() (*Server, error)

func (*Server) Close

func (s *Server) Close()

func (*Server) ComQuery

func (s *Server) ComQuery(c *mysql.Conn, q string, cb callback) error

func (*Server) ConnectionClosed

func (s *Server) ConnectionClosed(c *mysql.Conn)

func (*Server) NewConnection

func (s *Server) NewConnection(c *mysql.Conn)

func (*Server) Serve

func (s *Server) Serve(lis net.Listener) error

func (*Server) SetAPIService

func (s *Server) SetAPIService(a apipb.APIServiceInterface)

func (*Server) WarningCount

func (s *Server) WarningCount(c *mysql.Conn) uint16

Jump to

Keyboard shortcuts

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