File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ import (
15
15
// TYPES
16
16
17
17
type Token struct {
18
- Name string `json:"name,omitempty"` // Name of the token
19
- Value string `json:"token,omitempty"` // Token value
20
- Expire time.Time `json:"expire_time,omitempty"` // Time of expiration for the token
21
- Time time.Time `json:"access_time"` // Time of last access
22
- Scope []string `json:"scopes,omitempty"` // Authentication scopes
18
+ Name string `json:"name,omitempty"` // Name of the token
19
+ Value string `json:"token,omitempty"` // Token value
20
+ Expire time.Time `json:"expire_time,omitempty" writer:",width:29" ` // Time of expiration for the token
21
+ Time time.Time `json:"access_time,omitempty" writer:",width:29"` // Time of last access
22
+ Scope []string `json:"scopes,omitempty" writer:",wrap"` // Authentication scopes
23
23
}
24
24
25
25
type TokenCreate struct {
You can’t perform that action at this time.
0 commit comments