common

package
v0.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CreateCustomerTopic is the TopicID for customer creation Topic
	CreateCustomerTopic = "customers.create"

	// CreateSupplierTopic is the TopicID for supplier creation Topic
	CreateSupplierTopic = "suppliers.create"

	// CreateCRMContact is the TopicID for CRM contact creation
	CreateCRMContact = "crm.contact.create"

	// UpdateCRMContact is the topicID for CRM contact updates
	UpdateCRMContact = "crm.contact.update"

	// LinkCoverTopic is the topicID for cover linking topic
	LinkCoverTopic = "covers.link"

	// LinkEDIMemberCoverTopic is the topic ID for cover linking topic of an EDI member who has
	// received a message with the link to download bewell
	LinkEDIMemberCoverTopic = "edi.covers.link"
)

PubSub topic names

Variables

View Source
var AuthorizedEmails = []string{"apa-dev@healthcloud.co.ke", "apa-prod@healthcloud.co.ke"}

AuthorizedEmails represent emails to check whether they have access to certain dto

View Source
var AuthorizedPhones = []string{"+254700000000"}

AuthorizedPhones represent phonenumbers to check whether they have access to certain dto

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL