Documentation ¶
Index ¶
- type Provider
- func (p *Provider) Close() error
- func (p *Provider) DelEntity(ctx context.Context, ref *stategate.EntityRef) *errorz.Error
- func (p Provider) EditEntity(ctx context.Context, state *stategate.Entity) (*stategate.Entity, *errorz.Error)
- func (p *Provider) GetEntity(ctx context.Context, ref *stategate.EntityRef) (*stategate.Entity, *errorz.Error)
- func (p *Provider) GetEvent(ctx context.Context, ref *stategate.EventRef) (*stategate.Event, *errorz.Error)
- func (p Provider) SaveEvent(ctx context.Context, e *stategate.Event) *errorz.Error
- func (p *Provider) SearchEntities(ctx context.Context, opts *stategate.SearchEntityOpts) (*stategate.Entities, *errorz.Error)
- func (p *Provider) SearchEvents(ctx context.Context, opts *stategate.SearchEventOpts) (*stategate.Events, *errorz.Error)
- func (p Provider) SetEntity(ctx context.Context, state *stategate.Entity) *errorz.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (Provider) EditEntity ¶ added in v0.6.1
func (*Provider) SearchEntities ¶ added in v0.6.0
func (*Provider) SearchEvents ¶
Click to show internal directories.
Click to hide internal directories.