pkg/

directory
v0.0.0-...-fdc8e6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: Unlicense

Directories

Path Synopsis
Provide a standardised interface for using our backend caches Insert/InsertTTL should be ran in goroutines to avoid waiting for results Retrieve/TTL functions should return the same error `ErrNotFound` when the key does not exist TTL functions should return `ErrNoExpiry` if they key was found, but no expiry info was found
Provide a standardised interface for using our backend caches Insert/InsertTTL should be ran in goroutines to avoid waiting for results Retrieve/TTL functions should return the same error `ErrNotFound` when the key does not exist TTL functions should return `ErrNoExpiry` if they key was found, but no expiry info was found
migrate_cache
Migrate from bolt to badger
Migrate from bolt to badger
util/expiry
Common methods for Expiry packages Common methods for Expiry packages
Common methods for Expiry packages Common methods for Expiry packages
util/expiry/memory
memory is a thread safe library for handling TTL of keys as an expiry solution, `memory` is only suitable of in-memory store as the exoiry records do not persist
memory is a thread safe library for handling TTL of keys as an expiry solution, `memory` is only suitable of in-memory store as the exoiry records do not persist
util/expiry/store
Implement expiry within the the actual value storage The underlying store will need to use this when Inserting/Retrieving
Implement expiry within the the actual value storage The underlying store will need to use this when Inserting/Retrieving
cache_converter is the go between to migrate to/from v3/4 To read the source data, it needs to loop through all it's keys For this reason, it will likely only ever support Redis (on v3) and BoltCache on v4
cache_converter is the go between to migrate to/from v3/4 To read the source data, it needs to loop through all it's keys For this reason, it will likely only ever support Redis (on v3) and BoltCache on v4
Usernames and UUIDs should be normalized before calling mcclient (eg.
Usernames and UUIDs should be normalized before calling mcclient (eg.
minecraft module
mcskin
The problem that is sovled by using the handlers is that you can pass in the minecraft.Skin and it does the rest - vs.
The problem that is sovled by using the handlers is that you can pass in the minecraft.Skin and it does the rest - vs.
util
cfg
log
sample_skin
Generated by load_skin.go
Generated by load_skin.go
tinytime
TinyTime sacrifices sub-second precision and longevity for minimal time storage One aim is to avoid storing pointers to timezones, so simply UTC Uses just 4 bytes when Encoded, also low memory
TinyTime sacrifices sub-second precision and longevity for minimal time storage One aim is to avoid storing pointers to timezones, so simply UTC Uses just 4 bytes when Encoded, also low memory

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL