Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigSchemaID = "clinia://pubsub-config"
Variables ¶
View Source
var ConfigSchema string
Functions ¶
Types ¶
type Config ¶
type Config struct {
Provider string `json:"provider"`
Providers ProvidersConfig `json:"providers"`
}
type InMemoryConfig ¶
type InMemoryConfig struct{}
type KafkaConfig ¶
type KafkaConfig struct {
Brokers []string `json:"brokers"`
}
type ProvidersConfig ¶
type ProvidersConfig struct {
InMemory InMemoryConfig `json:"inmemory"`
Kafka KafkaConfig `json:"kafka"`
}
Click to show internal directories.
Click to hide internal directories.