func NewAuthService(host string) (a *AuthService, err error) {
	a = new(AuthService)
	homeDir, err := homedir.Dir()
	if err != nil {
		return
	}
	a.defaultConfigFile = filepath.Join(homeDir, ".config", "mcc")
	a.host = host
	a.protocol = "https"
	return
}
// NewAuthService constructs a new AuthService
NewAuthService constructs a new AuthService
// NewAuthService constructs a new AuthService
func NewAuthService(host string) (a *AuthService, err error) {
	a = new(AuthService)
	homeDir, err := homedir.Dir()
	if err != nil {
		return
	}
	a.defaultConfigFile = filepath.Join(homeDir, ".config", "mcc")
	a.host = host
	a.protocol = "https"
	return
}
func NewAuthService ( host string ) ( a * AuthService , err error ) { a = new ( AuthService ) homeDir , err := homedir . Dir ( ) if err != nil { return } a . defaultConfigFile = filepath . Join ( homeDir , " " , " " ) a . host = host a . protocol = " " return }
NewAuthService constructs a new AuthService
NewAuthService constructs a new AuthService