Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selection (6.13 sec)

  1. cmd/api-utils.go

    		return s3URLEncode(name)
    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top