WithResourcePort
Method
func (LogtoResource) WithResourcePort(options ...*WithResourcePortOptions) LogtoResourceSignature
method
WithResourcePort builderConfigures HTTP endpoints for the given Logto resource builder with specified port settings.
WithResourcePort(options ...*WithResourcePortOptions) LogtoResourceParameters
options...*WithResourcePortOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithResourcePortOptions argument.
Port*float64The host port to be configured for the primary endpoint. If null, Aspire will assign a random host port.AdminPort *float64The host port to be configured for the administrative endpoint. If null, Aspire will assign a random host port.Returns
LogtoResource The updated resource builder with the configured HTTP endpoints.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: