package
4.43.4
Repository: https://github.com/fleetdm/fleet.git
Documentation: pkg.go.dev

# Functions

BypassCachedMysql returns a new context that indicates to the mysql cache layer if the cache should be bypassed.
IsCachedMysqlBypassed returns true if the context indicates that the mysql cache must be bypassed, false otherwise.
IsPrimaryRequired returns true if the context indicates that the primary instance is required for reads, false otherwise.
RequirePrimary returns a new context that indicates to the database layer if the primary instance must always be used instead of the replica, even for reads (to be able to read recent writes).