LogtoResource.WithResourcePort
Method
type LogtoResource interface { // ... omitted for brevity WithResourcePort(options ...*WithResourcePortOptions) LogtoResource}Signature
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().
Defined on
This method is defined on the following type: