Documentation
¶
Index ¶
- Variables
- func DeleteEntity(entity commEntity.IEntity) error
- func FindEntity(entityType string, finder func(entity commEntity.IEntity) bool) commEntity.IEntity
- func FindEntityList(entityType string, finder func(entity commEntity.IEntity) bool) []commEntity.IEntity
- func GetAgileService(entityType string) *commRedisService.RedisAgileService
- func GetEntityById(entityType string, id int64) commEntity.IEntity
- func GetEntityByServiceKey(entityType string, serviceKey string) (commEntity.IEntity, error)
- func GetEntityByServiceKeys(entityType string, serviceKeys []string) (map[string]commEntity.IEntity, error)
- func GetEntityCount(entityType string, finder func(entity commEntity.IEntity) bool) (int, error)
- func GetEntityMap(entityType string) (map[string]commEntity.IEntity, error)
- func InitLoadEntity()
- func InsertEntity(entity commEntity.IEntity) error
- func Scheduler()
- func UpdateEntity(entity commEntity.IEntity) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EntityManager *entityManager
)
Functions ¶
func DeleteEntity ¶ added in v1.0.1
func DeleteEntity(entity commEntity.IEntity) error
func FindEntity ¶ added in v1.0.1
func FindEntity(entityType string, finder func(entity commEntity.IEntity) bool) commEntity.IEntity
func FindEntityList ¶ added in v1.0.1
func FindEntityList(entityType string, finder func(entity commEntity.IEntity) bool) []commEntity.IEntity
func GetAgileService ¶ added in v1.0.1
func GetAgileService(entityType string) *commRedisService.RedisAgileService
func GetEntityById ¶ added in v1.0.1
func GetEntityById(entityType string, id int64) commEntity.IEntity
func GetEntityByServiceKey ¶ added in v1.0.1
func GetEntityByServiceKey(entityType string, serviceKey string) (commEntity.IEntity, error)
func GetEntityByServiceKeys ¶ added in v1.0.1
func GetEntityCount ¶ added in v1.0.1
func GetEntityMap ¶ added in v1.0.1
func GetEntityMap(entityType string) (map[string]commEntity.IEntity, error)
func InitLoadEntity ¶
func InitLoadEntity()
func InsertEntity ¶ added in v1.0.1
func InsertEntity(entity commEntity.IEntity) error
func UpdateEntity ¶ added in v1.0.1
func UpdateEntity(entity commEntity.IEntity) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.