Versions in this module Expand all Collapse all v0 v0.0.1 Feb 1, 2023 Changes in this version + const DeliveryIDHeader + const EventTypeHeader + const SHA256SignatureHeader + type GitHubMetricsAggregatorServer struct + func NewServer(ctx context.Context, cfg *ServiceConfig, ...) (*GitHubMetricsAggregatorServer, error) + func (s *GitHubMetricsAggregatorServer) Cleanup() error + func (s *GitHubMetricsAggregatorServer) Routes() http.Handler + type PubSubClientConfig struct + PubSubGRPCConn *grpc.ClientConn + PubSubURL string + type PubSubMessenger struct + func NewPubSubMessenger(ctx context.Context, projectID, topicID string, opts ...option.ClientOption) (*PubSubMessenger, error) + func (p *PubSubMessenger) Cleanup() error + func (p *PubSubMessenger) Send(ctx context.Context, msg []byte) error + type ServiceConfig struct + Port string + ProjectID string + TopicID string + WebhookSecret string + func NewConfig(ctx context.Context) (*ServiceConfig, error) + func (s *ServiceConfig) Validate() error