Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { I18n I18n Http HttpServer ProductMongo ProductMongo Rpc RpcServer EventStream EventStream Nats NatsConfig }
type EventStream ¶
type EventStream struct {
TopicProductCreate string `env:"EVENT_STREAM_TOPIC_PRODUCT_CREATE" envDefault:"product.create"`
}
type HttpServer ¶
type NatsConfig ¶
type ProductMongo ¶
type ProductMongo struct { Host string `env:"MONGO_PRODUCT_HOST" envDefault:"localhost"` Port string `env:"MONGO_PRODUCT_PORT" envDefault:"27017"` Username string `env:"MONGO_PRODUCT_USERNAME" envDefault:""` Password string `env:"MONGO_PRODUCT_PASSWORD" envDefault:""` Database string `env:"MONGO_PRODUCT_DATABASE" envDefault:"product"` Collection string `env:"MONGO_PRODUCT_COLLECTION" envDefault:"products"` Query string `env:"MONGO_PRODUCT_QUERY" envDefault:""` }
Click to show internal directories.
Click to hide internal directories.