Documentation ¶
Index ¶
- type ServiceImpl
- func (s *ServiceImpl) Close() error
- func (s *ServiceImpl) DB(ctx context.Context) *gorm.DB
- func (s *ServiceImpl) Init(ctx context.Context) error
- func (s *ServiceImpl) ServiceManager() services.ServiceManager
- func (s *ServiceImpl) WithDsn(dsn string) *ServiceImpl
- func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServiceImpl
func (*ServiceImpl) Close ¶
func (s *ServiceImpl) Close() error
func (*ServiceImpl) ServiceManager ¶
func (s *ServiceImpl) ServiceManager() services.ServiceManager
func (*ServiceImpl) WithDsn ¶
func (s *ServiceImpl) WithDsn(dsn string) *ServiceImpl
func (*ServiceImpl) WithServiceManager ¶
func (s *ServiceImpl) WithServiceManager(c services.ServiceManager) services.Database
Click to show internal directories.
Click to hide internal directories.