Versions in this module Expand all Collapse all v0 v0.0.2 Jul 10, 2018 Changes in this version + type Service struct + func NewService(s *redis.Service) *Service + func (s *Service) AddEntityToSector(entityID ulid.ID, sectorID ulid.ID) error + func (s *Service) DelCore(subset infra.CoreSubset) error + func (s *Service) DelEntity(subset entity.Subset) error + func (s *Service) DelListener(subset event.ListenerSubset) error + func (s *Service) DelPermission(subset entity.PermissionSubset) error + func (s *Service) DelRecurrer(subset event.RecurrerSubset) error + func (s *Service) DelStarter(subset sector.StarterSubset) error + func (s *Service) DelSync(subset infra.SyncSubset) error + func (s *Service) DelToken(subset account.TokenSubset) error + func (s *Service) GetAbility(subset ability.Subset) (ability.A, error) + func (s *Service) GetAbilityFeedback(subset ability.FeedbackSubset) (ability.Feedback, error) + func (s *Service) GetAbilityTemplate(subset ability.TemplateSubset) (ability.Template, error) + func (s *Service) GetAccount(subset account.Subset) (account.A, error) + func (s *Service) GetEntities(subset sector.EntitiesSubset) (sector.Entities, error) + func (s *Service) GetEntity(subset entity.Subset) (entity.E, error) + func (s *Service) GetEntityTemplate(subset entity.TemplateSubset) (entity.Template, error) + func (s *Service) GetListener(subset event.ListenerSubset) (event.Listener, error) + func (s *Service) GetPC(subset entity.PCSubset) (entity.PC, error) + func (s *Service) GetPCLeft(subset entity.PCLeftSubset) (entity.PCLeft, error) + func (s *Service) GetPermission(subset entity.PermissionSubset) (entity.Permission, error) + func (s *Service) GetRandomCore(subset infra.CoreSubset) (infra.Core, error) + func (s *Service) GetRandomStarter(subset sector.StarterSubset) (sector.Starter, error) + func (s *Service) GetRandomSync(subset infra.SyncSubset) (infra.Sync, error) + func (s *Service) GetRecurrer(subset event.RecurrerSubset) (event.Recurrer, error) + func (s *Service) GetSector(subset sector.Subset) (sector.S, error) + func (s *Service) GetToken(subset account.TokenSubset) (account.Token, error) + func (s *Service) ListAbility(subset ability.Subset) ([]ability.A, error) + func (s *Service) ListAbilityTemplate() ([]ability.Template, error) + func (s *Service) ListEntityTemplate() ([]entity.Template, error) + func (s *Service) ListEvent(subset event.Subset) ([]event.E, error) + func (s *Service) ListPC(subset entity.PCSubset) ([]entity.PC, error) + func (s *Service) ListPermission(subset entity.PermissionSubset) ([]entity.Permission, error) + func (s *Service) ListTokenHC(subset account.TokenHCSubset) ([]ulid.ID, error) + func (s *Service) PublishEvent(e event.E, id ulid.ID) error + func (s *Service) PublishListener(l event.Listener, id ulid.ID) error + func (s *Service) PublishRecurrer(r event.Recurrer, id ulid.ID) error + func (s *Service) RemoveEntityToSector(entityID ulid.ID, sectorID ulid.ID) error + func (s *Service) SetAbility(a ability.A, entity ulid.ID) error + func (s *Service) SetAbilityFeedback(afb ability.Feedback) error + func (s *Service) SetAbilityTemplate(template ability.Template) error + func (s *Service) SetAccount(a account.A) error + func (s *Service) SetCore(core infra.Core) error + func (s *Service) SetEntity(e entity.E, ts int64) error + func (s *Service) SetEntityTemplate(template entity.Template) error + func (s *Service) SetEvent(e event.E, id ulid.ID) error + func (s *Service) SetListener(listener event.Listener) error + func (s *Service) SetPC(pc entity.PC, account ulid.ID) error + func (s *Service) SetPCLeft(pc entity.PCLeft, account ulid.ID) error + func (s *Service) SetPermission(permission entity.Permission) error + func (s *Service) SetRecurrer(recurrer event.Recurrer) error + func (s *Service) SetSector(sec sector.S) error + func (s *Service) SetStarter(starter sector.Starter) error + func (s *Service) SetSync(sync infra.Sync) error + func (s *Service) SetToken(token account.Token) error + func (s *Service) SetTokenHC(id ulid.ID, hc int64) error + func (s *Service) SubscribeEvent(id ulid.ID) *event.Subscription + func (s *Service) SubscribeListener(id ulid.ID) *event.Subscription + func (s *Service) SubscribeRecurrer(id ulid.ID) *event.Subscription