AddMosquitto
Method
func (DistributedApplicationBuilder) AddMosquitto( name string, options ...*AddMosquittoOptions,) MosquittoServerResourceSignature
method
AddMosquitto builderAdds a Mosquitto container resource to the application. Mosquitto is an open source MQTT message broker, so the resource can be referenced by any MQTT client integration.
AddMosquitto( name string, options ...*AddMosquittoOptions,) MosquittoServerResourceParameters
namestringThe name of the resource. This name is used as the connection string name when referenced in a dependency.options...*AddMosquittoOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddMosquittoOptions argument.
Port*float64The host port that the MQTT endpoint is exposed on. If null a random port is assigned.Returns
MosquittoServerResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder