forked from baron/baron-sso
21 lines
661 B
Go
21 lines
661 B
Go
package domain
|
|
|
|
import "time"
|
|
|
|
type IdentityCacheStatus struct {
|
|
Status string `json:"status"`
|
|
RedisReady bool `json:"redisReady"`
|
|
MirrorVersion string `json:"mirrorVersion,omitempty"`
|
|
ObservedCount int64 `json:"observedCount"`
|
|
KeyCount int64 `json:"keyCount"`
|
|
LastRefreshedAt *time.Time `json:"lastRefreshedAt,omitempty"`
|
|
LastError string `json:"lastError,omitempty"`
|
|
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
|
|
}
|
|
|
|
type IdentityCacheFlushResult struct {
|
|
Status string `json:"status"`
|
|
FlushedKeys int64 `json:"flushedKeys"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|