JavaScriptAppResource.WithMappedEndpointPort
Method
type JavaScriptAppResource interface { // ... omitted for brevity WithMappedEndpointPort(options ...*WithMappedEndpointPortOptions) JavaScriptAppResource}Signature
method
WithMappedEndpointPort builderMaps the endpoint port for the JavaScript app resource to the appropriate command line argument
WithMappedEndpointPort(options ...*WithMappedEndpointPortOptions) JavaScriptAppResourceParameters
options...*WithMappedEndpointPortOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithMappedEndpointPortOptions argument.
EndpointName *stringThe name of the endpoint to map. If not specified, it will use the first HTTP or HTTPS endpoint found.Returns
JavaScriptAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: