Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRequest ¶
type BaseRequest struct {
Action string `json:"action"`
Installation struct {
ID int64 `json:"id"`
} `json:"installation"`
Repository struct {
NodeID string `json:"node_id"`
FullName string `json:"full_name"`
Name string `json:"name"`
Owner struct {
Login string `json:"login"`
} `json:"owner"`
} `json:"repository"`
}
type Handler ¶
type Handler struct {
GetLoggerForContext GetLoggerForContext
AllowedRepositories common.RegexSlice
JetStreamContext nats.JetStreamContext
PullRequestSubject string
PushSubject string
RateLimitKV nats.KeyValue
RateLimitInterval time.Duration
}
Click to show internal directories.
Click to hide internal directories.