package registry type RESTInvoker interface { HasMethod(method string) bool Invoke(method string, params []string, leadingParams ...interface{}) (result interface{}, err error) }