github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/core/cache/doc.go (about) 1 // Copyright 2018 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // Package cache is responsible for keeping an in memory representation of the 5 // controller's models. 6 // 7 // The Controller is kept up to date with the database though a changes channel. 8 // 9 // Instances in the cache package also provide watchers. These watchers are 10 // checking for changes in the in-memory representation and can be used to avoid 11 // excess database reads. 12 package cache