Documentation
¶
Index ¶
Constants ¶
View Source
const WriteBufferSize = 10240
WriteBufferSize assign the websocket write buffer size
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config denotes configuration
func (Config) SwaggerModel ¶
func (c Config) SwaggerModel() swaggermodels.Config
SwaggerModel return the swagger version
type MySQL ¶
type MySQL struct {
Username string `json:"username"`
Password string `json:"password"`
Host string `json:"host"`
Port int `json:"port"`
DBName string `json:"db_name"`
}
MySQL denotes MySQL configuration
func (MySQL) DataSourceName ¶
DataSourceName return the data source name to connect mysql
Click to show internal directories.
Click to hide internal directories.