Documentation ¶
Index ¶
Constants ¶
View Source
const (
BASE_PATH = "https://issuetracker.googleapis.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueTrackerTransport ¶
type IssueTrackerTransport struct {
// contains filtered or unexported fields
}
IssueTrackerTransport implements Transport using the issue tracker API.
func NewIssueTrackerTransport ¶
func NewIssueTrackerTransport(ctx context.Context, cfg *config.CulpritNotifyConfig) (*IssueTrackerTransport, error)
NewIssueTrackerTransport returns a new IssueTrackerTransport.
func (*IssueTrackerTransport) SendNewCulprit ¶
func (t *IssueTrackerTransport) SendNewCulprit(ctx context.Context, subscription *sub_pb.Subscription, subject string, body string) (string, error)
SendNewCulprit implements Transport.
type NoopTransport ¶
type NoopTransport struct { }
NoopTransport implements Transport by doing nothing.
func NewNoopTransport ¶
func NewNoopTransport() *NoopTransport
NewNoopTransport returns a new EmailService instance.
func (*NoopTransport) SendNewCulprit ¶
func (t *NoopTransport) SendNewCulprit(ctx context.Context, subscription *sub_pb.Subscription, subject string, body string) (string, error)
SendNewCulprit implements Transport.
Click to show internal directories.
Click to hide internal directories.