Documentation ¶
Index ¶
- func DecodeBase64PEM(pemString string) (string, error)
- func FilterEvents(events []string) []string
- func GenerateApiKey(text string) (string, error)
- func NewLogger(output io.Writer) interfaces.ServiceLogger
- func ValidateAdminApiKey(apiKey, adminBase64 string) (bool, dto.AdminObject)
- func VerifyIfUrlIsDuplicated(elems []dto.SubscriptionDTO, url, event string) bool
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBase64PEM ¶
DecodeBase64PEM return string parsed from base64 string
func FilterEvents ¶
FilterEvents is return filters if existed in service
func GenerateApiKey ¶
func NewLogger ¶
func NewLogger(output io.Writer) interfaces.ServiceLogger
NewLogger return new logger
func ValidateAdminApiKey ¶
func ValidateAdminApiKey(apiKey, adminBase64 string) (bool, dto.AdminObject)
func VerifyIfUrlIsDuplicated ¶
func VerifyIfUrlIsDuplicated(elems []dto.SubscriptionDTO, url, event string) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.