Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuxWebappBackend ¶
AuxWebappBackend looks up website information (cms_info data type) in the aux-db service.
A lookup spawns a number of requests for each resource that might be involved, but we would like to group requests to aux-db such as to minimize their number (and parallelize them). So we generate a list of resource IDs to lookup, along with an associated callback that will modify the original resource. Then we group them by shard, fan out the requests in parallel, and invoke the callbacks with the results.
func Wrap ¶
func Wrap(b as.Backend, config *clientutil.BackendConfig) (*AuxWebappBackend, error)
func (*AuxWebappBackend) NewTransaction ¶
func (b *AuxWebappBackend) NewTransaction() (as.TX, error)
Click to show internal directories.
Click to hide internal directories.