 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityController ¶
type EntityController interface {
	GetEntity(context.Context, *operation.OperationRequest) (entity.Entity, *errors.AsyncError)
}
    EntityController is the interface used to grab the entity from where it's stored, typically a database. Using this interface we enforce people to not only implement the GuardConcurrency method in each operations but also force them to grab the entity from somewhere, thus avoiding them always returning a nil error from GuardConcurrency method.
 Click to show internal directories. 
   Click to hide internal directories.