File: saslstub.go

package info (click to toggle)
golang-gopkg-mgo.v2 2016.08.01-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch-backports
  • size: 1,952 kB
  • sloc: ansic: 300; sh: 207; makefile: 7
file content (11 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
//+build !sasl

package mgo

import (
	"fmt"
)

func saslNew(cred Credential, host string) (saslStepper, error) {
	return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)")
}