Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var C config.Config
View Source
var FileName string
Functions ¶
Types ¶
type Auth ¶
type Auth struct { Auth struct { Identity struct { Methods []string `json:"methods"` Password struct { User struct { Name string `json:"name"` Password string `json:"password"` Domain struct { Name string `json:"name"` } `json:"domain"` } `json:"user"` } `json:"password"` } `json:"identity"` Scope struct { Project struct { Name string `json:"name"` Domain struct { Id string `json:"id"` } `json:"domain"` } `json:"project"` } `json:"scope"` } `json:"auth"` }
type Token ¶
type Token struct { Token struct { ExpiresAt time.Time `json:"expires_at"` AuditIds []string `json:"audit_ids"` Methods []string `json:"methods"` IssuedAt time.Time `json:"issued_at"` User struct { Domain struct { Id string `json:"id"` Name string `json:"name"` } `json:"domain"` Id string `json:"id"` Name string `json:"name"` PasswordExpiresAt string `json:"password_expires_at"` } `json:"user"` } `json:"token"` }
Click to show internal directories.
Click to hide internal directories.