Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyService ¶
type DummyService struct { }
func (*DummyService) Notify ¶
func (svc *DummyService) Notify(certs []storage.CertificateData) error
func (*DummyService) Ping ¶
func (svc *DummyService) Ping() error
type NotificationService ¶
type NotificationService struct {
// contains filtered or unexported fields
}
func (*NotificationService) Add ¶
func (svc *NotificationService) Add(provider Provider)
func (*NotificationService) Notify ¶
func (svc *NotificationService) Notify(certs []storage.CertificateData) error
type NotificationTestMockService ¶
type NotificationTestMockService struct {
// contains filtered or unexported fields
}
func (*NotificationTestMockService) Add ¶
func (mock *NotificationTestMockService) Add(provider Provider)
func (*NotificationTestMockService) Notify ¶
func (mock *NotificationTestMockService) Notify(certs []storage.CertificateData) error
type Provider ¶
type Provider interface { Notify(certs []storage.CertificateData) error Ping() error }
func NewDummyProvider ¶
func NewDummyProvider() Provider
func NewSlackProvider ¶
func NewSlackProvider() Provider
type Service ¶
type Service interface { Notify(certs []storage.CertificateData) error Add(provider Provider) }
func NewTestMock ¶
func NewTestMock(notifyHandler func(certs []storage.CertificateData) error) Service
type SlackService ¶
type SlackService struct {
// contains filtered or unexported fields
}
func (*SlackService) Notify ¶
func (svc *SlackService) Notify(certs []storage.CertificateData) error
func (*SlackService) Ping ¶
func (svc *SlackService) Ping() error
Click to show internal directories.
Click to hide internal directories.