Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderID ...
ProviderID = "gogs"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitModel ¶
CommitModel ...
type CreateEventModel ¶
type CreateEventModel struct { Ref string `json:"ref"` RefType string `json:"ref_type"` CommitHash string `json:"id"` CommitMessage string `json:"message"` }
CreateEventModel ...
type HookProvider ¶
type HookProvider struct{}
HookProvider ...
func (HookProvider) TransformRequest ¶
func (hp HookProvider) TransformRequest(r *http.Request) hookCommon.TransformResultModel
TransformRequest ...
type PushEventModel ¶
type PushEventModel struct { Ref string `json:"ref"` CheckoutSHA string `json:"after"` Commits []CommitModel `json:"commits"` }
PushEventModel ...
Click to show internal directories.
Click to hide internal directories.