Documentation
¶
Index ¶
- func UpdateHash(obj any) error
- type StoreBus
- func (sb *StoreBus) Close()
- func (sb *StoreBus) CloseListStream(t string, c <-chan []any)
- func (sb *StoreBus) CloseReadStream(t, id string, c <-chan any)
- func (sb *StoreBus) Delete(ctx context.Context, t, id string) error
- func (sb *StoreBus) List(ctx context.Context, t string, factory func() any) ([]any, error)
- func (sb *StoreBus) ListStream(ctx context.Context, t string, factory func() any) (<-chan []any, error)
- func (sb *StoreBus) Read(ctx context.Context, t, id string, factory func() any) (any, error)
- func (sb *StoreBus) ReadStream(ctx context.Context, t, id string, factory func() any) (<-chan any, error)
- func (sb *StoreBus) Write(ctx context.Context, t string, obj any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateHash ¶
Types ¶
type StoreBus ¶
type StoreBus struct {
// contains filtered or unexported fields
}
func NewStoreBus ¶
func (*StoreBus) CloseListStream ¶
func (*StoreBus) CloseReadStream ¶
func (*StoreBus) ListStream ¶
func (*StoreBus) ReadStream ¶
Click to show internal directories.
Click to hide internal directories.