Documentation ¶
Index ¶
- func BackToMainView(c *container.Container, top_window *text.Text, main_window *text.Text, ...) error
- func ChunkString(s string, chunkSize int) string
- func DisplayErrorlog(mydb *sql.DB, c *container.Container, t *tcell.Terminal) (keyboard.Key, error)
- func DisplayExplain(ctx context.Context, mydb *sql.DB, c *container.Container, ...) error
- func DisplayHelp(c *container.Container) error
- func DisplayInnoDB(mydb *sql.DB, c *container.Container, t *tcell.Terminal) (keyboard.Key, error)
- func DisplayLocking(ctx context.Context, mydb *sql.DB, c *container.Container, ...) error
- func DisplayMemory(mydb *sql.DB, c *container.Container, t *tcell.Terminal) (keyboard.Key, error)
- func DisplayProcesslist(mydb *sql.DB) error
- func DisplayProcesslistContent(mydb *sql.DB, main_window *text.Text) error
- func DisplaySimple(cols []string, data [][]string)
- func DisplayStatus(mydb *sql.DB, top_window *text.Text, tlg *barchart.BarChart, ...) (map[string]string, []int, error)
- func DisplayThreadDetails(mydb *sql.DB, c *container.Container, thread_id string) error
- func ExitWithError(err error)
- func FormatBytes(b int) string
- func GetAHI(mydb *sql.DB) ([]string, [][]string, error)
- func GetBPFill(mydb *sql.DB) ([]string, [][]string, error)
- func GetCodeMemAlloc(mydb *sql.DB) ([]string, [][]string, error)
- func GetComStmt(mydb *sql.DB) ([]string, [][]string, error)
- func GetDetailsByThreadId(mydb *sql.DB, thread_id string) ([]string, [][]string, error)
- func GetErrorLog(mydb *sql.DB, choices_prio_info *orderedmap.OrderedMap, ...) ([]string, [][]string, error)
- func GetExplain(ctx context.Context, mydb *sql.DB, explain_type string, query_db string, ...) ([]string, [][]string, error)
- func GetInnoDBStatus(mydb *sql.DB) ([]string, [][]string, error)
- func GetProcesslist(mydb *sql.DB) ([]string, [][]string, error)
- func GetQueryByThreadId(mydb *sql.DB, thread_id string) (string, string, error)
- func GetQueryConnByThreadId(mydb *sql.DB, thread_id string) (string, string, error)
- func GetRedoCapacity(mydb *sql.DB) ([]string, [][]string, error)
- func GetRedoInfo(mydb *sql.DB, innodb_redo_log_capacity int) ([]string, [][]string, error)
- func GetStatus(mydb *sql.DB) ([]string, [][]string, error)
- func GetTempAlloc(mydb *sql.DB) ([]string, [][]string, error)
- func GetTempMem(mydb *sql.DB) ([]string, [][]string, error)
- func GetUserMemAlloc(mydb *sql.DB) ([]string, [][]string, error)
- func GetValue(preview map[string]string, actual map[string]string, str string, ...) int
- func KillQuery(mydb *sql.DB, thread_id string) error
- func PrintLabel(label string, col_opt ...int) (string, text.WriteOption)
- func Processlist(mydb *sql.DB, displaytype string) error
- func TableFromSlice(header []string, contents [][]string, style *simpletable.Style) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackToMainView ¶
func ChunkString ¶
func DisplayErrorlog ¶ added in v0.3.0
func DisplayExplain ¶
func DisplayHelp ¶
func DisplayInnoDB ¶
func DisplayLocking ¶ added in v0.3.0
func DisplayMemory ¶
func DisplayProcesslist ¶
func DisplaySimple ¶
func DisplayStatus ¶
func DisplayThreadDetails ¶
func ExitWithError ¶
func ExitWithError(err error)
func FormatBytes ¶
func GetDetailsByThreadId ¶
func GetErrorLog ¶ added in v0.3.0
func GetErrorLog(mydb *sql.DB, choices_prio_info *orderedmap.OrderedMap, choices_sub_info *orderedmap.OrderedMap) ([]string, [][]string, error)
func GetExplain ¶
func GetQueryByThreadId ¶
func GetQueryConnByThreadId ¶ added in v0.3.0
func GetRedoCapacity ¶ added in v0.3.2
func GetRedoInfo ¶
func PrintLabel ¶
func PrintLabel(label string, col_opt ...int) (string, text.WriteOption)
func TableFromSlice ¶
func TableFromSlice(header []string, contents [][]string, style *simpletable.Style) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.