Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound indicates that the auth-token isn't registered. ErrNotFound = errors.New("auth token not found") )
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth contains a mapping between auth-tokens and Api instances.
func (*Auth) Get ¶
Get returns the InstanceID associated with token. It returns ErrNotFound if there isn't such.
Click to show internal directories.
Click to hide internal directories.