func NewAuth() *Auth {
	return &Auth{}
}
NewAuth creates new Auth.
package proto
import (
	"crypto/sha1"
	"fmt"
	"github.com/xelabs/go-mysqlstack/sqldb"
	"github.com/xelabs/go-mysqlstack/sqlparser/depends/common"
)
type Auth struct {
	charset         uint8
	maxPacketSize   uint32
	authResponseLen uint8
	clientFlags     uint32
	authResponse    []byte
	pluginName      string
	database        string
	user            string
}