Documentation ¶
Index ¶
- func BusSyncSql(code, vpn, port, sql string) string
- func DbInit(dbInfo model.DBInfo)
- func ExecSql(sqlStr string, args ...interface{})
- func GetIniInt(sectionName string, key string) int
- func GetIniVal(sectionName string, key string) string
- func GetSection(sectionName string) *ini.Section
- func HandleError(err error, message string, flag bool)
- func HandleResp(resp *http.Response) string
- func HttpGet(uu string, params url.Values) string
- func HttpPost(uu string, data string) string
- func OracelQueryAll(sqlStr string, args ...interface{}) ([]map[string]string, error)
- func OracelQueryOne(sqlStr string, args ...interface{}) (map[string]string, error)
- func OracleInit(dbInfo model.DBInfo)
- func Pause()
- func PrepareSql(sqlString string)
- func QueryAll(sqlStr string, args ...interface{}) ([]map[string]string, error)
- func QueryOne(sqlStr string, args ...interface{}) (map[string]string, error)
- func ReadIniInit(fileName string)
- func ReadLineFile(fileName string) list.List
- func ReadSqlExec()
- func UserGet(appid string, appsecret string)
- func WriteByteArray(filename string, tmp string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BusSyncSql ¶
func GetSection ¶
func GetSection(sectionName string) *ini.Section
func HandleError ¶
func HandleResp ¶
func OracelQueryAll ¶ added in v1.0.3
func OracelQueryOne ¶ added in v1.0.3
func OracleInit ¶ added in v1.0.3
func PrepareSql ¶ added in v1.0.3
func PrepareSql(sqlString string)
func ReadIniInit ¶
func ReadIniInit(fileName string)
func ReadLineFile ¶ added in v1.0.3
func ReadSqlExec ¶ added in v1.0.3
func ReadSqlExec()
func WriteByteArray ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.