Documentation
¶
Overview ¶
Package service is a package that contains varios file serving services
Package service is a package that contains varios file serving services ¶
Package service is a package that contains varios file serving services ¶
Package service is a package that contains varios file serving services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPSubRepoService ¶
type HTTPSubRepoService struct {
// Config contains the reposervice global configuration
Config config.Configuration
// Log contains logger formatted
Log *logrus.Logger
}
HTTPSubRepoService is a concrete implementation of SubRepoServiceInterface
func (*HTTPSubRepoService) Init ¶
func (hs *HTTPSubRepoService) Init(wg *sync.WaitGroup)
Init start the service
type RepoService ¶
type RepoService struct {
// Config contains the reposervice global configuration
Config config.Configuration
// SubServices contains all subservices
SubServices []SubRepoServiceInterface
}
RepoService is a concrete implementation of RepoServiceInterface
func (*RepoService) Init ¶
func (rs *RepoService) Init(wg *sync.WaitGroup)
Init initialize all services
type RepoServiceInterface ¶
RepoServiceInterface is a interface that wrap functions for starting a service
type SFTPRepoSubService ¶
type SFTPRepoSubService struct {
// Config contains the reposervice global configuration
Config config.Configuration
// Log contains hs.Logger formatted
Log *logrus.Logger
}
SFTPRepoSubService is a concrete implementation of SubRepoServiceInterface
func (*SFTPRepoSubService) Init ¶
func (hs *SFTPRepoSubService) Init(_ *sync.WaitGroup)
Init start the service
type SubRepoServiceInterface ¶
SubRepoServiceInterface is a interface that wrap functions for starting a subservice
Click to show internal directories.
Click to hide internal directories.