Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SingletonProvider ¶
type SingletonProvider struct { ds.DatastoreProvider ErrIfNotFound bool }
func NewProvider ¶
func NewProvider(p ds.DatastoreProvider) SingletonProvider
func (SingletonProvider) ReadSingleton ¶
func (sp SingletonProvider) ReadSingleton(ctx context.Context, name string, f singleton.NewReaderFunc, ptr interface{}) error
func (SingletonProvider) WriteSingleton ¶
func (sp SingletonProvider) WriteSingleton(ctx context.Context, name string, f singleton.NewWriteCloserFunc, ptr interface{}) error
Click to show internal directories.
Click to hide internal directories.