Documentation
¶
Index ¶
- func GetService[S any, M ServiceManager[S]](sp token.ServiceProvider, tmsID token.TMSID) (S, error)
- func GetStoreService[S any, M StoreServiceManager[S]](sp token.ServiceProvider, tmsID token.TMSID) (S, error)
- func Key(tmsID token.TMSID) string
- type ConfigService
- type ServiceManager
- type StoreServiceManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetService ¶ added in v0.5.0
func GetService[S any, M ServiceManager[S]](sp token.ServiceProvider, tmsID token.TMSID) (S, error)
func GetStoreService ¶ added in v0.5.0
func GetStoreService[S any, M StoreServiceManager[S]](sp token.ServiceProvider, tmsID token.TMSID) (S, error)
Types ¶
type ConfigService ¶ added in v0.7.0
type ServiceManager ¶ added in v0.5.0
type StoreServiceManager ¶ added in v0.5.0
func NewStoreServiceManager ¶ added in v0.5.0
func NewStoreServiceManager[S any, T any](config ConfigService, prefix string, constructor func(name driver2.PersistenceName, params ...string) (S, error), mapper func(S) (T, error)) StoreServiceManager[T]
Click to show internal directories.
Click to hide internal directories.