Documentation ¶
Index ¶
- Constants
- func ConnectDatabase(driverName, username, password, ip string, port int, dbName string) (*sql.DB, error)
- func ConnectSQLite(dbName string) (*sql.DB, error)
- func HumanFriendlyTraffic(bytes int) string
- func Must(err error)
- func NewBufReadWriter(rw io.ReadWriter) *bufio.ReadWriter
- func SHA224String(password string) string
- type Error
- type Runnable
Constants ¶
View Source
const ( KiB = 1024 MiB = KiB * 1024 GiB = MiB * 1024 )
Variables ¶
This section is empty.
Functions ¶
func ConnectDatabase ¶ added in v0.0.3
func HumanFriendlyTraffic ¶
func NewBufReadWriter ¶ added in v0.0.2
func NewBufReadWriter(rw io.ReadWriter) *bufio.ReadWriter
func SHA224String ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.