Skip to content

Instantly share code, notes, and snippets.

@jnoller
Created May 24, 2015 03:31
Show Gist options
  • Save jnoller/852e3827459a04e8597f to your computer and use it in GitHub Desktop.
Save jnoller/852e3827459a04e8597f to your computer and use it in GitHub Desktop.
type AuthResponse struct {
Access struct {
Token struct {
ID string `json:"id"`
Expires string `json:"expires"`
Authby []string `json:"RAX-AUTH:authenticatedBy"`
Tenant struct {
ID string `json:"id"`
Name string `json:"name"`
} `json:"tenant"`
} `json:"token"`
} `json:"access"`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment