Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlConn ¶
type MysqlConn struct {
// contains filtered or unexported fields
}
MysqlConn is the public structure that contains a channel controlling access to the underlying store
func New ¶
New creates a new MysqlConn manager using the configuration passed to it in cfg. If there is an error creating the manager an error will be created. An error can be returned after the go routine is created, if this is the case, this method shuts down the running routing therefore, if this function returns any error, Close does not need to be called from the calling method/function.
func (MysqlConn) AddStmt ¶
AddStmt adds statement q to the store with a key of k. Any error is returned as e To retrieve these, use GetStmt
Click to show internal directories.
Click to hide internal directories.