Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArangoClient ¶
func NewArangoClient(sub chan message.SubscribeWrapper, pub chan string, dbConfig config.DatabaseInfo, logger interfaces.Logger) (arangoClient, error)
Types ¶
type ApplicationConfig ¶
type ApplicationConfig struct { Database config.DatabaseInfo `json:"database,omitempty"` Sdk sdkConfig.SdkInfo `json:"sdk,omitempty"` Stream config.PubSubInfo `json:"stream,omitempty"` Logging sdkConfig.LoggingInfo `json:"logging,omitempty"` Key string `json:"preSharedKey,omitempty"` // Key is for IOTA support, shared key. Needs to be moved into SDK IotaStreamConfig }
func (ApplicationConfig) AsString ¶
func (a ApplicationConfig) AsString() string
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher is used to notify downstream applications that a given data item is ready for scoring.
func NewPublisher ¶
func NewPublisher(endpoint SdkConfig.StreamInfo, chKeys chan string, logger SdkInterfaces.Logger) (Publisher, error)
Click to show internal directories.
Click to hide internal directories.