Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHostReadService ¶
type GitHostReadService interface { GetAll() ([]bean2.GitHostRequest, error) GetById(id int) (*bean2.GitHostRequest, error) GetByName(uniqueName string) (*bean2.GitHostRequest, error) }
type GitHostReadServiceImpl ¶
type GitHostReadServiceImpl struct {
// contains filtered or unexported fields
}
func NewGitHostReadServiceImpl ¶
func NewGitHostReadServiceImpl(logger *zap.SugaredLogger, gitHostRepo repository.GitHostRepository, attributeService attributes.AttributesService) *GitHostReadServiceImpl
func (*GitHostReadServiceImpl) GetAll ¶
func (impl *GitHostReadServiceImpl) GetAll() ([]bean2.GitHostRequest, error)
get all git hosts
func (*GitHostReadServiceImpl) GetById ¶
func (impl *GitHostReadServiceImpl) GetById(id int) (*bean2.GitHostRequest, error)
get git host by Id
func (*GitHostReadServiceImpl) GetByName ¶
func (impl *GitHostReadServiceImpl) GetByName(uniqueName string) (*bean2.GitHostRequest, error)
get git host by Name
Click to show internal directories.
Click to hide internal directories.