Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTokenResponse ¶
type ServiceToken ¶
type ServiceToken struct { ID string `json:"id" yaml:"id"` UserID string `json:"userId" yaml:"userId"` Name string `json:"name" yaml:"name"` Description string `json:"description" yaml:"description"` Token Token `json:"token" yaml:"token"` // keeps hashed token, not the actual token NeverExpire bool `json:"neverExpire" yaml:"neverExpire"` ExpiresOn dateTimeTY.CustomDate `json:"expiresOn" yaml:"expiresOn"` Labels cmap.CustomStringMap `json:"labels" yaml:"labels"` CreatedOn time.Time `json:"createdOn" yaml:"createdOn"` }
Click to show internal directories.
Click to hide internal directories.