Documentation ¶ Index ¶ type UUIDEntry func DecodeUUIDEntry(buf []byte) UUIDEntry func NewUUIDEntry(logger log.Logger, username string, uuid string, err error) UUIDEntry func (u UUIDEntry) Encode() []byte func (u UUIDEntry) IsFresh() bool func (u UUIDEntry) IsValid() bool func (u UUIDEntry) String() string func (u UUIDEntry) TTL() time.Duration Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type UUIDEntry ¶ type UUIDEntry struct { UUID string Timestamp tinytime.TinyTime Status status.Status } func DecodeUUIDEntry ¶ func DecodeUUIDEntry(buf []byte) UUIDEntry func NewUUIDEntry ¶ func NewUUIDEntry(logger log.Logger, username string, uuid string, err error) UUIDEntry func (UUIDEntry) Encode ¶ func (u UUIDEntry) Encode() []byte func (UUIDEntry) IsFresh ¶ func (u UUIDEntry) IsFresh() bool Todo: Does it make sense to check freshness of a Username:UUID mapping? It's only problematic when a Username switches between people If not... why even track Timestamp? Maybe debug info / headers / insight? func (UUIDEntry) IsValid ¶ func (u UUIDEntry) IsValid() bool func (UUIDEntry) String ¶ func (u UUIDEntry) String() string func (UUIDEntry) TTL ¶ func (u UUIDEntry) TTL() time.Duration Source Files ¶ View all Source files uuid.go Click to show internal directories. Click to hide internal directories.