Documentation ¶
Index ¶
Constants ¶
View Source
const ( DB_NAME = "DeploymentManagerDB" SUBSCRIBER_COLLECTION = "SUBSCRIBER" DB_URL = "127.0.0.1:27017" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface { // AddSubscriber insert new Subscriber. AddSubscriber(id, eventType, url string, status, eventId []string, queries map[string][]string) error GetSubscribers() ([]map[string]interface{}, error) GetSubscriber(id string) (map[string]interface{}, error) DeleteSubscriber(id string) error }
type Executor ¶
type Executor struct { }
func (Executor) AddSubscriber ¶
func (Executor) DeleteSubscriber ¶
func (Executor) GetSubscriber ¶
func (Executor) GetSubscribers ¶
Click to show internal directories.
Click to hide internal directories.