Documentation
¶
Index ¶
- type AccessObject
- func (ao *AccessObject) GetCache() *cache.Cache
- func (ao *AccessObject) GetContentAPIClient() *httpclient.Client
- func (ao *AccessObject) GetDB() *db
- func (ao *AccessObject) GetDBPool() *pgxpool.Pool
- func (ao *AccessObject) GetOutbox() *outbox.Outbox
- func (ao *AccessObject) GetTyreStrategyAPIClient() *httpclient.Client
- func (ao *AccessObject) GetUsersAPIClient() *httpclient.Client
- type AccessObjectConstructor
- func CacheConstructor(driver cache.Driver) AccessObjectConstructor
- func ContentAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
- func DBPoolConstructor(dbpool *pgxpool.Pool) AccessObjectConstructor
- func OutboxConstructor(outbox *outbox.Outbox) AccessObjectConstructor
- func TyreStrategyAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
- func UsersAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessObject ¶
type AccessObject struct {
// contains filtered or unexported fields
}
func NewAccessObject ¶
func NewAccessObject(constructors ...AccessObjectConstructor) *AccessObject
func (*AccessObject) GetCache ¶
func (ao *AccessObject) GetCache() *cache.Cache
func (*AccessObject) GetContentAPIClient ¶ added in v0.3.0
func (ao *AccessObject) GetContentAPIClient() *httpclient.Client
func (*AccessObject) GetDB ¶
func (ao *AccessObject) GetDB() *db
func (*AccessObject) GetDBPool ¶
func (ao *AccessObject) GetDBPool() *pgxpool.Pool
func (*AccessObject) GetOutbox ¶
func (ao *AccessObject) GetOutbox() *outbox.Outbox
func (*AccessObject) GetTyreStrategyAPIClient ¶ added in v0.9.0
func (ao *AccessObject) GetTyreStrategyAPIClient() *httpclient.Client
func (*AccessObject) GetUsersAPIClient ¶
func (ao *AccessObject) GetUsersAPIClient() *httpclient.Client
type AccessObjectConstructor ¶
type AccessObjectConstructor = func(*AccessObject)
func CacheConstructor ¶
func CacheConstructor(driver cache.Driver) AccessObjectConstructor
func ContentAPIConstructor ¶ added in v0.3.0
func ContentAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
func DBPoolConstructor ¶
func DBPoolConstructor(dbpool *pgxpool.Pool) AccessObjectConstructor
func OutboxConstructor ¶
func OutboxConstructor(outbox *outbox.Outbox) AccessObjectConstructor
func TyreStrategyAPIConstructor ¶ added in v0.9.0
func TyreStrategyAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
func UsersAPIConstructor ¶
func UsersAPIConstructor(opts ...httpclient.ClientOption) AccessObjectConstructor
Click to show internal directories.
Click to hide internal directories.