ResourceWithEndpoints.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().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: