Documentation
¶
Index ¶
- func AuthHandler(req *http.Request, authenticator cbauth.Authenticator)
- func DefaultAuthHandler(req *http.Request)
- func GenerateLocalIDs() (string, string, error)
- func GetClusterAuth() (string, string)
- func GetMemcachedServiceAuth(url string) (user string, passwd string, err error)
- func InitAuthenticator(url string)
- func ServiceHttpAuth(clusterURL string) (user string, passwd string, err error)
- func StripScheme(endpoint string) string
- func TestSetUserPassword(user, password string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthHandler ¶
func AuthHandler(req *http.Request, authenticator cbauth.Authenticator)
func DefaultAuthHandler ¶
func GenerateLocalIDs ¶
func GetClusterAuth ¶
func GetMemcachedServiceAuth ¶
func InitAuthenticator ¶
func InitAuthenticator(url string)
InitAuthenticator initilaise the authenticator module Should call this method before any other method is invoked TODO: Maybe use some other better way to set it
func ServiceHttpAuth ¶
func StripScheme ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.