Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitWebhook ¶
type GitWebhook struct { Id int `sql:"id,pk"` CiMaterialId int `sql:"ci_material_id"` GitMaterialId int `sql:"git_material_id"` Type string `sql:"type"` Value string `sql:"value"` Active bool `sql:"active"` LastSeenHash string `sql:"last_seen_hash"` CreatedOn time.Time `sql:"created_on"` // contains filtered or unexported fields }
type GitWebhookRepository ¶
type GitWebhookRepository interface {
Save(gitWebhook *GitWebhook) error
}
type GitWebhookRepositoryImpl ¶
type GitWebhookRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewGitWebhookRepositoryImpl ¶
func NewGitWebhookRepositoryImpl(dbConnection *pg.DB) *GitWebhookRepositoryImpl
func (*GitWebhookRepositoryImpl) Save ¶
func (impl *GitWebhookRepositoryImpl) Save(gitWebhook *GitWebhook) error
Click to show internal directories.
Click to hide internal directories.