Categorygithub.com/rundaz/sqliteserver
modulepackage
0.4.0
Repository: https://github.com/rundaz/sqliteserver.git
Documentation: pkg.go.dev

# README

sqliteserver

Implement MySQL server protocol to expose sqlite database to all MySQL clients.

Users can use any MySQL client to connect to server and consume the database service just like working with MySQL server.

Usage

Initialize server

svr, err := sqliteserver.NewServer(sqliteserver.ServerConfig{
    Network:  "tcp",
    Address:  fmt.Sprintf("localhost:%d", viper.GetInt("server.port")),
    UserName: viper.GetString("database.user"),
    Password: viper.GetString("database.password"),
})

Start server

svr.Start()

Close server

svr.Close()

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author