Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultStoreFactory ¶
func NewDefaultStoreFactory(dbPool *sql.DB) interfaces.StoreFactory
NewDefaultStoreFactory creates a new default store factory
Types ¶
type DefaultStoreFactory ¶
type DefaultStoreFactory struct {
// contains filtered or unexported fields
}
DefaultStoreFactory is default factory for getting store interfaces
func (*DefaultStoreFactory) EndpointStore ¶
func (f *DefaultStoreFactory) EndpointStore() (interfaces.EndpointRepository, error)
EndpointStore gets store for obtaining endpoint information
func (*DefaultStoreFactory) TokenStore ¶
func (f *DefaultStoreFactory) TokenStore() (interfaces.TokenRepository, error)
TokenStore gets store for obtaining endpoint information
Click to show internal directories.
Click to hide internal directories.