WithHttpCommand
Method
func (ResourceWithEndpoints) WithHttpCommand( path string, displayName string, options ...*HttpCommandExportOptions,) ResourceWithEndpointsSignature
method
WithHttpCommand builderAdds an HTTP resource command
WithHttpCommand( path string, displayName string, options ...*HttpCommandExportOptions,) ResourceWithEndpointsParameters
pathstringdisplayName stringoptions...*HttpCommandExportOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *HttpCommandExportOptions struct.
Returns
ResourceWithEndpoints Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: