Versions in this module Expand all Collapse all v0 v0.1.1 Jan 21, 2026 Changes in this version + func ApplySort(deliveries []Delivery, sortBy string, ascending bool) + func SortDeliveriesByEvent(deliveries []Delivery, ascending bool) + func SortDeliveriesByRepository(deliveries []Delivery, ascending bool) + func SortDeliveriesByStatusCode(deliveries []Delivery, ascending bool) + func SortDeliveriesByTime(deliveries []Delivery, ascending bool) + type Client struct + func NewClient() (*Client, error) + func (c *Client) GetOrgHookDeliveryDetail(org string, hookID int, deliveryID int) (*DeliveryDetail, error) + func (c *Client) GetRepoHookDeliveryDetail(repo string, hookID int, deliveryID int) (*DeliveryDetail, error) + func (c *Client) ListOrgHookDeliveries(org string, hookID int, perPage int) ([]Delivery, error) + func (c *Client) ListOrgRepos(org string) ([]string, error) + func (c *Client) ListOrgWebhooks(org string) ([]Hook, error) + func (c *Client) ListRepoHookDeliveries(repo string, hookID int, perPage int) ([]Delivery, error) + func (c *Client) ListRepoWebhooks(repo string) ([]Hook, error) + type Delivery struct + Action string + DeliveredAt time.Time + Duration float64 + Event string + GUID string + HookID int + ID int + Redelivery bool + Repository string + Status string + StatusCode int + URL string + type DeliveryDetail struct + Request struct{ ... } + Response struct{ ... } + type Hook struct + Active bool + Config struct{ ... } + ID int + URL string + func (h *Hook) GetTargetURL() string + func (h *Hook) MatchesFilter(pattern string) bool v0.1.0 Jan 21, 2026