mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* Migrating roles and schemes to new Cache Layer * Adding missed license headers * Updating cache tests * Adding the cache layer to the testlib helper * Fixing cyclic dependency * fixing a bit of not-idiomatic error handling * Another small fix arrount idiomatic error handling
21 lines
406 B
Go
21 lines
406 B
Go
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
package store
|
|
|
|
type LayeredStoreSupplierResult struct {
|
|
StoreResult
|
|
}
|
|
|
|
func NewSupplierResult() *LayeredStoreSupplierResult {
|
|
return &LayeredStoreSupplierResult{}
|
|
}
|
|
|
|
type LayeredStoreSupplier interface {
|
|
//
|
|
// Control
|
|
//
|
|
SetChainNext(LayeredStoreSupplier)
|
|
Next() LayeredStoreSupplier
|
|
}
|