Versions in this module Expand all Collapse all v1 v1.1.0 Dec 20, 2024 Changes in this version + type GitHost struct + Active bool + DisplayName string + EventTypeHeader string + Id int + Name string + SecretHeader string + SecretValidator string + WebhookSecret string + WebhookUrl string + type GitHostRepository interface + Exists func(name string) (bool, error) + FindAll func() ([]GitHost, error) + FindOneById func(Id int) (GitHost, error) + FindOneByName func(name string) (GitHost, error) + Save func(gitHost *GitHost) error + type GitHostRepositoryImpl struct + func NewGitHostRepositoryImpl(dbConnection *pg.DB) *GitHostRepositoryImpl + func (impl GitHostRepositoryImpl) Exists(name string) (bool, error) + func (impl GitHostRepositoryImpl) FindAll() ([]GitHost, error) + func (impl GitHostRepositoryImpl) FindOneById(id int) (GitHost, error) + func (impl GitHostRepositoryImpl) FindOneByName(name string) (GitHost, error) + func (impl GitHostRepositoryImpl) Save(gitHost *GitHost) error