Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Username string `json:"username":`
Password string `json:"password":`
Hostname string `json:"hostname":`
Port string `json:"port":`
Charset string `json:"charset":`
}
用json配置测试
type ExplainEntity ¶
type ExplainEntity struct {
Id sql.NullString `json:"id":`
SelectType sql.NullString `json:"select_type":`
Table sql.NullString `json:"table":`
Partitions sql.NullString `json:"partitions":`
Type sql.NullString `json:"type":`
PossibleKeys sql.NullString `json:"possible_keys":`
Key sql.NullString `json:"key":`
KeyLen sql.NullString `json:"key_len":`
Ref sql.NullString `json:"ref":`
Rows sql.NullString `json:"rows":`
Filtered sql.NullString `json:"filtered":`
Extra sql.NullString `json:"Extra":`
}
func (*ExplainEntity) ToJson ¶
func (entity *ExplainEntity) ToJson() (string, error)
Click to show internal directories.
Click to hide internal directories.