Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatArgs ¶
func FormatArgs(args []interface{}) []string
FormatArgs formats arguments into string slice. Ref: https://github.com/go-mysql-org/go-mysql/blob/33ea963610607f7b5505fd39d0955b78039ef783/server/stmt.go#L186
Types ¶
type AsyncRender ¶
type AsyncRender struct {
// contains filtered or unexported fields
}
func NewAsyncRender ¶
func NewAsyncRender(render Render) *AsyncRender
func (*AsyncRender) Push ¶
func (a *AsyncRender) Push(frame *Frame)
func (*AsyncRender) Start ¶
func (a *AsyncRender) Start()
type ConsoleRender ¶
type ConsoleRender struct{}
func (ConsoleRender) Push ¶
func (c ConsoleRender) Push(frame *Frame)
type Frame ¶
type Frame struct { Ident string Query string Args []interface{} TiDB QueryResult MySQL QueryResult }
type HTMLRender ¶
type HTMLRender struct {
// contains filtered or unexported fields
}
func (*HTMLRender) Close ¶
func (c *HTMLRender) Close() error
func (*HTMLRender) Open ¶
func (c *HTMLRender) Open(file string) error
func (*HTMLRender) Push ¶
func (c *HTMLRender) Push(frame *Frame)
type QueryResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.