Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllProviderNames = []ProviderName{REDIS}
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Get(ctx context.Context, ref *stategate.CacheRef) (*stategate.Cache, *errorz.Error) Set(ctx context.Context, value *stategate.Cache) *errorz.Error Del(ctx context.Context, value *stategate.CacheRef) *errorz.Error Lock(ctx context.Context, ref *stategate.Mutex) *errorz.Error Unlock(ctx context.Context, value *stategate.MutexRef) *errorz.Error Close() error }
Click to show internal directories.
Click to hide internal directories.